The USB Stick has always been green once i first got it working due to some permission issue.
I have included the sensor while it was running on batteries, never operated it powered by USB.
The sensor has never been more than maximum 7-8 meters away from the gateway.
Is that also normal?
pi@pihab /usr/share/openhab $ ls -ld
drwxr-xr-x 7 openhab openhab 4096 May 4 20:53 .
------
pi@pihab /etc/openhab/jetty/etc $ sudo ls -ld
drwxr-xr-x 2 root root 4096 Mar 7 17:19 .
-------
pi@pihab /usr/share/openhab/etc $ sudo ls -ld
drwxr-xr-x 2 root root 4096 Mar 7 17:19 .
I could try to change the ownership for the two folders marked red, since the processes run as openhab..
pi@pihab /usr/share/openhab $ sudo ps -ef | grep openhab
openhab 5741 1 11 00:09 ? 00:55:23 /usr/bin/java -Dlogback.configurationFile=/etc/openhab/logback.xml -Dosgi.clean=true -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Djetty.port=8080 -Dopenhab.configfile=/etc/openhab/configurationsopenhab.cfg -Dopenhab.configdir=/etc/openhab/configurations -Dopenhab.logdir=/var/log/openhab -Djetty.home=/usr/share/openhab -Djetty.port.ssl=8443 -Djetty.config=/etc/openhab/jetty -Djetty.logs=/var/log/openhab -Djetty.rundir=/usr/share/openhab -Dfelix.fileinstall.dir=/usr/share/openhab/addons -Djava.library.path=/usr/share/openhab/lib -Djava.security.auth.login.config=/etc/openhab/login.conf -Dorg.quartz.properties=/etc/openhab/quartz.properties -Dequinox.ds.block_timeout=240000 -Dequinox.scr.waitTimeOnBlock=60000 -Dfelix.fileinstall.active.level=4 -Djava.awt.headless=true -jar /usr/share/openhab/server/plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar -configuration /var/lib/openhab/workspace -data /var/lib/openhab/workspace -console 5555
pi 10018 9989 0 08:01 pts/1 00:00:00 grep --color=auto openhab
Regards,
Frode
Hi Marcel, Chris
The permission to create xml nodes where solved by giving ownership to openhab on the following path (I installed openhab on a Raspberry Pi using the apt-get installation instructions at the github wiki):
sudo chown -R openhab:openhab /usr/share/openhab/etc/zwave/
I now have two xml nodes, one for the controller and one for the 4-in-1 device.
Still not getting proper data from temperature, and motion is never reported as open.
From events.log: 2015-05-09 12:48:19 - sensor_1_motion state updated to CLOSED
Can't find any warnings or errors related to either temperate always being reported incorrectly to 0.2 degrees, and motion that never trigger.
This is how motion reporting is configured: (Basic set gives same result as Sensor binary report)
There are changes in temperature values being reported:
2015-05-04 23:47:35 - sensor_1_temp state updated to 0.233
2015-05-09 12:48:20 - sensor_1_temp state updated to 0.215
My item file has been posted earlier in this topic.