So I updated openhab successfully and went on with the thingsā¦ Had my first motion sensor up and running in no time, and then everything went nuts.
At this moment I have create an deconz āthingā thatās up and running, but created from dresdenās binding (still unable to set up a deconz binding as suggested here and there).
When I create a thing, also pointing to dresdenās binding, of type Motion Sensor it will first show me 2 channels. When I add the sensor id (1, 2 or 3, I currently have 3 sensors connected) it will sometimes recognize a third channel (switch channel: Dark). This implies that at least your code is touched, right?
All 3 sensors have at some point provided data, and it seems I am now stuck with the last value received. It shows some data, but doesnāt update at all.
I am done for today. Will definately be running additional tests and trials and update accordingly. If anyone has a hint, please do let me know
Found this message in the log:
19:38:46.268 [WARN ] [e.core.thing.binding.BaseThingHandler] - Handler DeconzBridgeHandler tried updating the thing status although the handler was already disposed.
After reboots, removing some links, clicks here and there it now seems that the sensor data is coming in, but not being processed somehow.
from log:
09:59:38.705 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ādeconz_presencesensor_16a0b968d7e_presenceā received command REFRESH
09:59:38.710 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ādeconz_presencesensor_16a0b968d7e_last_updatedā received command REFRESH
09:59:38.724 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ādeconz_presencesensor_16a0b968d7e_darkā received command REFRESH
10:00:26.561 [WARN ] [org.jline ] - Failed to save history
java.nio.file.AccessDeniedException: /home/openhab
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:?]
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) ~[?:?]
at java.nio.file.Files.createDirectory(Files.java:674) ~[?:?]
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) ~[?:?]
at java.nio.file.Files.createDirectories(Files.java:767) ~[?:?]
at org.jline.reader.impl.history.DefaultHistory.save(DefaultHistory.java:132) ~[273:org.jline.reader:3.9.0]
at org.jline.reader.impl.history.DefaultHistory.add(DefaultHistory.java:277) [273:org.jline.reader:3.9.0]
at org.jline.reader.impl.LineReaderImpl.finishBuffer(LineReaderImpl.java:944) [273:org.jline.reader:3.9.0]
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:594) [273:org.jline.reader:3.9.0]
at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.readCommand(ConsoleSessionImpl.java:445) [270:org.apache.karaf.shell.core:4.2.2]
at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:403) [270:org.apache.karaf.shell.core:4.2.2]
at java.lang.Thread.run(Thread.java:748) [?:?]
10:06:01.561 [WARN ] [org.jline ] - Failed to save history
java.nio.file.AccessDeniedException: /home/openhab
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:?]
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) ~[?:?]
at java.nio.file.Files.createDirectory(Files.java:674) ~[?:?]
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) ~[?:?]
at java.nio.file.Files.createDirectories(Files.java:767) ~[?:?]
at org.jline.reader.impl.history.DefaultHistory.save(DefaultHistory.java:132) ~[273:org.jline.reader:3.9.0]
at org.jline.reader.impl.history.DefaultHistory.add(DefaultHistory.java:277) [273:org.jline.reader:3.9.0]
at org.jline.reader.impl.LineReaderImpl.finishBuffer(LineReaderImpl.java:944) [273:org.jline.reader:3.9.0]
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:594) [273:org.jline.reader:3.9.0]
at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.readCommand(ConsoleSessionImpl.java:445) [270:org.apache.karaf.shell.core:4.2.2]
at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:403) [270:org.apache.karaf.shell.core:4.2.2]
at java.lang.Thread.run(Thread.java:748) [?:?]
Managed to get this one resolved as well, I now am able to connect to 1 of the presence sensors succesfully. Unfortunately there seems to be no way to connect any additional sensors here. Same issue: Sensor seems to be connected, but is not updated. Old (probably cached) data is shown. Data shown is from the first connection of the thing in openHAB. Senors work flawlessly in the PhosconGateway application.
Out of luck At some point I had to remove the 1 working sensor and now Iām back to 0.
Iāll reinstall anything that I come across and try again. Think theres something wrong in my setup, as I am running in circles.