My Openhab setup is on a Raspberry Pi-2 with Openhabian 2.4.0-1.
Java details:
openjdk version “1.8.0_222”
OpenJDK Runtime Environment (Zulu8.40.0.178-CA-linux_aarch32hf) (build 1.8.0_222-b178)
OpenJDK Client VM (Zulu8.40.0.178-CA-linux_aarch32hf) (build 25.222-b178, mixed mode, Evaluation)
I have an LG TV and installed the ‘lgwebos’ binding through the addons.cfg file. Everything works fine.
Now I want to use the latest snapshot build (lgwebos-2.5.0-snapshot-201909232353) because in that version I can use the getActions function if I understand correctly.
val actions = getActions("lgwebos","lgwebos:WebOSTV:3aab9eea-953b-4272-bdbd-f0cd0ecf4a46")
if(null === actions) {
logInfo("actions", "Actions not found, check thing ID")
return
}
But what are the required steps to switch from the official binding to this snapshot build?
This is what I did but it doesn’t seem to load the snapshot (I deduct that from the fact that my TV is not detected anymore after restarting the openhab service):
- ssh in to my openhabian pi
- go to /usr/share/openhabs/addons
- stop openhabian: sudo service openhab2 stop
- copy the lgwebos-2.5.0-snapshot-201909232353.jar in this folder
- set the rights on the jar-file for the openhab and openhabian user:
- sudo chown openhab:openhab org.openhab.binding.lgwebos-2.5.0-SNAPSHOT.jar
- sudo chown openhabian:openhabian org.openhab.binding.lgwebos-2.5.0-SNAPSHOT.jar
- clear cache: sudo openhab-cli clean-cache
- remove ‘lgwebos’ from my addons.cfg file
- start openhabian: sudo service openhab2 start
What am I doing wrong or forgetting?
Should I rename the jar-file maybe?