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?
thanks in advance
Marcello
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!
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.
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 …
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?
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?