I have the aeotec gen5 stick and after upgrade from 2.4 to 2.5 the state of the stick changes very frequently from online to offline. and I dont see an obvious reason to why.
I have tried rebooting the container and also powercycled the whole docker machine, disconnecting/reconnecting the stick. but Nothing helps and I am out of ideas…
The upgrade:
As I am not very sofisticated yet i.e using docker compose. I use a oneliner. and simply stopped the old container pruned it and changed “openhab/openhab:2.4.0” into “openhab/openhab:2.5.0”
snippet from the eventlog
2019-12-28 18:05:40.858 [me.event.ThingUpdatedEvent] - Thing 'zwave:serial_zstick:689f3d91' has been updated.
2019-12-28 18:05:40.860 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node8' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:40.913 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node9' changed from ONLINE to ONLINE: Node initialising: PING
2019-12-28 18:05:40.937 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node8' changed from ONLINE to ONLINE: Node initialising: PING
2019-12-28 18:05:40.979 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node6' changed from ONLINE to ONLINE: Node initialising: PING
2019-12-28 18:05:41.040 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node19' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.062 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node17' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.084 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node16' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.130 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node14' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.136 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node12' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.141 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node13' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.144 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node10' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.148 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node18' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.150 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node15' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.152 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node14' changed from ONLINE to ONLINE: Node initialising: PING
2019-12-28 18:05:41.156 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node11' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE
2019-12-28 18:05:41.163 [hingStatusInfoChangedEvent] - 'zwave:device:689f3d91:node15' changed from ONLINE to ONLINE: Node initialising: PING
j
Check addons.cfg and .addons.config for invalid addons. Restdocs moved from misc to ui and yahooweather is no longer valid. The loader reloads all addons every minute trying to load the invalid one.
is this the correct place:
“/home/openhab/conf/services” the addons file there has no addons. I do have the complaint about the rest-doc but never thought those could impact each other
Went to the paper gui and addons and installed the rest through there(in the new location) Where do I remove the reference to the old if not in those files?
Timewise I dont see exact relation but I am open for Anything at this point
Can you post the contents of your addons.config or let me know what the first line in the file is please? Really just curious about the revision:=L"somenumber" part.
Make sense when you say it… changing the revision… but then you lost me clear cache. ehm not sure how to do that. Though! fingers crossed… The stick has been alive almost 8 minutes now without any hickup. I saw another err in the openhab.log though relating to the new rule engine. But I am assuming something is configured wrong and or missing from my part.
2019-12-28 19:00:39.816 [ERROR] [org.openhab.core.ephemeris ] - bundle org.openhab.core.ephemeris:2.5.0 (143)[org.openhab.ephemeris(58)] : The activate method has thrown an exception
java.lang.IllegalArgumentException: No enum constant java.time.DayOfWeek.SATURDAY,SUNDAY
That warning is nothing to worry about and will go away after you set your location info in PaperUI and restart OH a few times. Location really has nothing to do with it but I recomend setting it either way.
Oki Thx!
Thinking of maybe changing that revision. It doesnt complain anymore but it seems that something is still abit broken ish… I cant control any of the lights but I get no error… so I’ll try that revision change. still not sure how to apply the cache clean in the container
I deleted the files under that directory and started the container again. but I still cannot control anything via zwave. Strangely it seem to receive notifications from my temperature sensor so it’s not completely dead… and the zwave stick is not constantly restarting anymore so its a step in the right direction