As a workaround I am thinking about forcing a Z-Wave network synchronization via a rule every time the controller thing appears to be offline. Therefore I need to know:
How can I detect the controller thing being offline without constantly polling?
Which kind of command can I send to the controller thing that forces a synchronization? There must a way cause the UI is providing a button …
You should NEVER need to do a “Synchronise Network” if that is what you are asking - not unless you have multiple controllers in your system and you are adding devices into the network from a different controller (ie not OH).
Thanks @rossko57. I will try your hints. Funny thing nesides: As you mentioned the first part of the solution, I realized that I once had a rule informing about the status of a zwave thing. I should recycle it.
Of course not. Thats what I really do not want, but there doesn‘t seem to be another way to repair the remote serial connection after one of the machines had been rebooted or after disconnecting/reconnecting my z-stick 5 from the remote pi. If you know another way, I‘d be very happy.
But you are not using the synchronise command - you are actually just restarting the binding. I think i had this discussion with someone else recently who also incorrectly thought that using the synchronise was helping. It isn’t doing anything - sending this command is just causing the binding to restart again.
Ok @chris, that‘s a good point I did not know about. I just saw an older discussion regarding a rule for restarting a binding via ssh to karaf. Would you agree that this is a feasible workaround or is there a better way?