I am getting the below exception when trying to scan via paperUI. This means I have to go restart the binding via bundle:restart if I need continued operation. Also, I cannot add any new devices.
So to be clear - you are not using the master/snapshot binding - you are instead using the development binding?
I have no idea what this link is or where it is used? It’s not where I have (ever, I think) put the development bindings as they are a) nothing to do with HABmin, and b) not hosted on Github anyway
But yes, I am using the dev binding as I need to use a lock (Danalock V3) which actually works nicely now.
The Error with the most recent binding is the same:
...._ct80_00_000, zwave:somfy_zrtsivnode_00_000]' on 'ZWaveDiscoveryService'!
java.lang.NullPointerException: null
at org.openhab.binding.zwave.discovery.ZWaveDiscoveryService.startScan(ZWaveDiscoveryService.java:74) [252:org.openhab.binding.zwave:2.4.0.201807192329]
at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:208) [97:org.eclipse.smarthome.config.discovery:0.10.0.oh230]
...
So I can fix the error, but I’ve no idea why it’s happening. Ultimately, it means that there is no known controller - this code hasn’t changed for over 2 years so it’s a bit strange. Are there any other errors anywhere in your system? It probably indicates there is a problem during initialisation or something like that, and this is an effect of another problem.
Yes, there is a strange thing, that on startup it always resets the serial port to /dev/ttyACM0. I need it to look at /dev/z-wave. As soon as I correct the serial port and save (in paperUI) it works fine. It seems to somehow reset the config on start too, maybe because of an initial scan?
I don’t think it should do an initial scan, and it shouldn’t reset the config. There aren’t some sort of duplicate definitions of the thing anywhere are there? I’m not sure really why it would change serial port.
Can you provide the full log please so I can see what happened in the missing 20 seconds?
Everything was configured via paperUI. When switching to the dev binding, I deleted the old z-stick and added the new one that was discovered via paperui.
A grep -ir ttyACM0 on /var/lib/openhab2 and /etc/openhab2/ did not reveal anything
I do have EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/zigbee:/dev/z-wave" in defaults. Anyway, this was working fine with the prod 2.3 binding (but not z-wave security naturally)
Also, while I do not think it has anything to do with this, my ST814 is somehow not sending any temperature updates anymore. I set it to have a 1min wakeup period, which works, but setting the timed updates to 1min still results in no sensor updates whatsoever. Just so you know why NODE 3 changes are a bit strange. I then tried to reset it, but can now not include it anymore without a scan.
I think the bottom line is for some reason (and I don’t know why) the configuration on startup seems to be wrong. It then doesn’t open the serial port and after that it’s game over.
Unfortunately, I don’t know why the configuration would be incorrect to start with.
I did not find the reason for this not to work (and work if started manually), but somehow it starts working fine if I directly use /dev/ttyACM0 (and also add it to the default/openhab2 file) instead of a symbolic link from /dev/z-wave. There seems to be some problem in symbolic link handling which was not there in the 2.3 production binding.