Is here anyone using Volumio?

i cannot compile the source… i’ve recevied this error

[INFO] Fetching p2.index from https://openhab.jfrog.io/openhab/eclipse-smarthome-stable/ (172B)
[INFO] Fetching p2.index from https://openhab.jfrog.io/openhab/eclipse-smarthome-stable/ (172B)
[INFO] Adding repository https://openhab.jfrog.io/openhab/eclipse-smarthome-stable
[INFO] Fetching content.xml.xz from https://openhab.jfrog.io/openhab/eclipse-smarthome-stable/ (28.75kB)
[INFO] Fetching content.xml.xz from https://openhab.jfrog.io/openhab/eclipse-smarthome-stable/ (28.75kB)
[INFO] Adding repository https://dl.bintray.com/openhab/p2/openhab-deps-repo/1.0.12
[INFO] Fetching content.jar from https://dl.bintray.com/openhab/p2/openhab-deps-repo/1.0.12/ (29.04kB)
[INFO] Fetching content.jar from https://dl.bintray.com/openhab/p2/openhab-deps-repo/1.0.12/ (29.04kB)
[INFO] Resolving dependencies of MavenProject: org.openhab.binding:org.openhab.binding.volumio2:2.1.0 @ /home/openhabian/org.openhab.binding.volumio2/pom.xml
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.openhab.binding.volumio2 2.1.0.qualifier
[ERROR] Missing requirement: org.eclipse.smarthome.core 0.10.0.201811100937 requires ‘package javax.measure 0.0.0’ but it could not be found
[ERROR] Cannot satisfy dependency: org.eclipse.smarthome.config.core 0.10.0.201811100937 depends on: package org.eclipse.smarthome.core.common 0.0.0
[ERROR] Cannot satisfy dependency: org.openhab.binding.volumio2 2.1.0.qualifier depends on: package org.eclipse.smarthome.config.core 0.0.0
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: org.openhab.binding:org.openhab.binding.volumio2:2.1.0 @ /home/openhabian/org.openhab.binding.volumio2/pom.xml: See log for details -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

I´ve build the last 0.0.11 version against Openhab 2.1.0. I´ve never tried to build it against a newer release and it looks like there are some problems with dependencies delivered by esh.

May i do something, for example try to compile with some more parameters, helping you to find the problem? or is better to downgrade and go on? :slight_smile:
thanks in advance
Marcello

I just need some time to test-build-it. I guess there´s some import missing that was present in the old days and now is gone or replaced.

ok, thanks… if i could be more usefull let me know :slight_smile:

Ok … I think it´s a missing depdency from eclipse SmartHome…

Found this in the forum Fragile build environment -- maven build fails. I will try update the dependencies tonight.

I´ve pushed a new version on branch 0.0.12 (https://github.com/patrickse/org.openhab.binding.volumio2/tree/0.0.12). It actually compiles… but:

  • I cannot test it today… can´t get my test volumio vm to start
  • CI fails… because of some style checks … need to have a look…

It should be possible to get the source of 0.0.12 and create a jar with mvn package.

I will try to find some time to have a look on these open issues…

1 Like

I´ve fixed the style check problems… You can find the current pre-build jar at https://github.com/patrickse/org.openhab.binding.volumio2/releases/tag/0.0.12

hi patrick, sorry for the delay, but i was out for job.
Thanks, now it works that is a marvel.
I managed to compile directly from the source, i use openhabian distro with openhab 2.3.0. but I have this error in the log, even the previous version did it. I’ve configured something wrong?

2018-11-24 16:54:28.970 [ERROR] [ing.volumio2.handler.Volumio2Handler] - Could not refresh channel

org.json.JSONException: JSONObject[“random”] is not a Boolean.

at org.json.JSONObject.getBoolean(JSONObject.java:524) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at org.openhab.binding.volumio2.internal.mapping.Volumio2Data.update(Volumio2Data.java:113) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at org.openhab.binding.volumio2.handler.Volumio2Handler$4.call(Volumio2Handler.java:372) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.emitter.Emitter.emit(Emitter.java:117) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Socket.onevent(Socket.java:340) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Socket.onpacket(Socket.java:293) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Socket.access$100(Socket.java:19) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Socket$2$2.call(Socket.java:111) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.emitter.Emitter.emit(Emitter.java:117) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Manager.ondecoded(Manager.java:407) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Manager.access$1600(Manager.java:20) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Manager$7.call(Manager.java:383) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.emitter.Emitter.emit(Emitter.java:117) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.parser.Parser$Decoder.add(Parser.java:157) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Manager.ondata(Manager.java:399) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Manager.access$1000(Manager.java:20) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.client.Manager$2.call(Manager.java:350) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.emitter.Emitter.emit(Emitter.java:117) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.engineio.client.Socket.onPacket(Socket.java:511) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.engineio.client.Socket.access$1000(Socket.java:31) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.engineio.client.Socket$5.call(Socket.java:313) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.emitter.Emitter.emit(Emitter.java:117) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.engineio.client.Transport.onPacket(Transport.java:134) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.engineio.client.Transport.onData(Transport.java:126) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.engineio.client.transports.WebSocket.access$300(WebSocket.java:28) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.engineio.client.transports.WebSocket$2$3.run(WebSocket.java:122) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at io.socket.thread.EventThread$2.run(EventThread.java:80) [225:org.openhab.binding.volumio2:2.4.0.201811241526]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]

at java.lang.Thread.run(Thread.java:748) [?:?]

Hi Patrick i’ve made some tests.
I’ve enable “playlist random command” in my volumio gui interface and all error are disappeared.
I’ve also reboot openhab but the error, after the first command “initialization”, even though before rebooting i’ve unchecked it, no more appear!. Fantastic! :slight_smile:

:slight_smile: I guess that the “random” field was just not initialized by Volumio and is just not send as long as there’s no value… Now there’s a value with false or true.

is anyone faced with the same issue? regularly (but cannot say what regularly is, lets say just often) openhab looses my connection details, meaning the ip adress. i entered my local ip adress from the volumio instance. see attached image.

but after a while, it is set back to the initial setup,

meaning volumio.local

cannot say why, but with the inital connection, my volumio play thing is offline; i have to adapt the config of this thing regularly to my local ip adress to bring it online again.

any idea?

I am using Volumio standalone (not connected to openHAB) and have the same problem every night: when my provider is forcing the connection separation I have to restart Volumio …

Are you using the latest build of 0.0.12 and which openhab version are you using?

Fantastic! It’s working.
But how do I configure my playlist?

I have found, thanks.

1 Like

Thanks for the answer!

I just updated everything, my Openhab Vesion to the newest version as well as your binding to the newest verions.

My used versions are now:

Volumio Binding: org.openhab.binding.volumio2-2.4.0-SNAPSHOT.jar
OpenHab Version: openhab2 2.3.0-1

I will try again if now everythings work or not, if not i will give an update afterwards!

Hi with

the manual thing configuration does not work anymore. Status gets stuck at:
UNINITIALIZED - HANDLER_CONFIGURATION_PENDING

My item configuration is as follows:

Thing volumio2:player:wz "Livingroom_Volumio"  [ hostname="192.168.178.51" ]
 
 

I’m going back on a previous release. Maybe someone has a fix.

Thnx for this great plugin!!! Using it with pleasure. I found a small bug. When a webradio stream is playing and i pause it, and start the stream afterwards, i’m unable to stop it. The only way is to start something else like spotify or local music and the webstream is forced to stop. I see that when a local file or spotify is playing in volumio, the pause / play button is a pause button when playing. When a webstream is playing, it’s a stop button. According to the logfile from openhab the status is the same when playing webstream or local file/spotify, but it seems like under the surface there is a difference. Anyone else notice this behaviour?

Hi Patrickse,

it seems, that updating the plugin as well as updating openhab didnt solve the issue. My logs are full of the following entries:

2018-12-27 07:40:03.452 [ERROR] [ng.volumio2.internal.Volumio2Service] - Timedout while conntecting to Volumio on volumio.local.

2018-12-27 07:51:44.592 [me.event.ThingUpdatedEvent] - Thing 'volumio2:player:cb5ab4a1-2a6d-4173-9fca-f28459cd230e-Volumio' has been updated.

2018-12-27 07:51:44.918 [INFO ] [ng.volumio2.internal.Volumio2Service] - Connected to Volumio2 on 192.168.1.30

2018-12-27 07:51:44.943 [hingStatusInfoChangedEvent] - 'volumio2:player:cb5ab4a1-2a6d-4173-9fca-f28459cd230e-Volumio' changed from OFFLINE to ONLINE


The status change from offline to online happen whenever i update my thing to the local ip adress, meaning volumio.local does not work. but i can reach volumio via webbrowser by using this adress.
Any ideas?