Problem >> Log >> Device Setup
Just started using OpenHab, trying to execute a simple shell script to turn on a light. I’ve read through many posts on the subject on this forum but none of the proposed solutions seem to solve my problem. It seems that there is some permissions issue, and so I’ve set everything I can to user openhab; this didn’t help. (helpful info: I installed via apt-get, everything’s in the /etc/openhab directory). Since then, I’ve even set the USER and GROUP users as root in /etc/default/openhab. I have also added the jar to the addon folder.
The log for var/log/openhab/openhab.log shows that I’m clearly clicking on something.
(I also have errors about an AbstractActiveService, but that’s my second priority at the moment.)
2016-05-08 21:01:49.071 [INFO ] [.o.b.exec.internal.ExecBinding] - executed commandLine ’ sudo sh /etc/openhab/configurations/scripts/scripts/1Hon.sh’
2016-05-08 21:01:49.841 [ERROR] [.service.AbstractActiveService] - Error while executing background thread HTTP Refresh Service
java.lang.ClassCastException: org.openhab.binding.http.internal.HttpGenericBindingProvider cannot be cast to org.openhab.binding.http.HttpBindingProvider
at org.openhab.binding.http.internal.HttpBinding.execute(HttpBinding.java:135) ~[na:na]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:156) ~[na:na]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173) ~[na:na]
Raspberry Pi B+ running Raspbian Wheezy connected over ssh (user pi).