Right at the bottom of the log we can see the OFF state coming through, however I do not see the ON state being set and subsequently this also means that I can only trigger on update-received event in a rule for this device rather than when state changes from OFF to ON.
Ok, double-checked this, and it looks like an Event=8 comes in as a Notification report of Alarm Type BURGLAR, but the appropriate channel status is not updated accordingly for this event type.
@sihui - I see that you last updated the template for this device December gone, I believe this was actually working prior to changes you made. I used to get the trigger on alarm on and off before, now only when the alarm goes off does the channel status update, which of course means it stays at OFF all the time.
What changes were made? Are you sure that it was these changes that made the system stop working?
Presumably you were running an older version of OH and you’ve just upgraded if these changes from 3 months ago have caused a problem - what version were you previously running?
I just checked, and there were no changes made to this device - ever. This device was first added to the database on December 8th and no changes were made since.
I’ve now fixed the issue with the channel definition.
I double checked and I was looking at the wrong device!!! Error on my part.
I lost track of what I had running before, been jumping from VM to VM to Raspberry Pi to Windows Containers to Linux Containers… finally have a permanent home for OH, now have a solid backup/restore strategy in place to avoid agro with the better half.
That is in the database, usually pulled from the Device XML. Most of us cannot edit the channels even though we can add and edit device entries. I think it is a trust level that needs to be earned.
Channel are defined in the channels file which is compiled into the binding. It’s on Github, but you should not normally need to change it.
The channel definitions are defined in a file called channels.xml which is in the binding - not the database. Everyone can edit the database and add channels to a device (if they have edit rights which I normally give to anyone who asks) but if you want to change the channel definitions, then it requires changing the code.
Ok, then I think your answer is a bit confusing given the question, but you are right then - based on your definition, no-one can configure the database since they can only edit, add and change the data.
Irrespective of what ‘users’ can and cannot do, I am just glad the maintainer of this plugin takes the time to support users, fix bugs or configuration errors as promptly as is conveniently possible.
Many thanks Chris! Definitely a cut above the usual crowd.
@chris, I’ve been on a home-automation vacation, just back, so upgraded OH to 2.5.3, and tested this Zwave thing out, and it appears to still behave as it did before? as in there is no update on the alarm notification.
I then updated to the latest snapshot of the plugin, same thing.