Z-Wave Alarm Class V3

I believe you can, if I read the debug log correctly (and see the results :slight_smile: @chris ?

To be clear though, this should only be required if you donā€™t want to wait for the wakeup. Itā€™s not however how Z-Wave is designed to work, but if you want to run your system like this, then itā€™s up to you - itā€™s not an issue with the systemā€¦

It would be worth checking the log. As I think I said above, HABmin does a sync on startup, so in theory it should be synced unless something is changing the configuration outside of HABmin. If itā€™s not synced, Iā€™d like to see the log during the configuration readback so that we can solve the problem and ensure things are working as they should.

Yes - this is correct. I suggested to also implement this in ESH as well, but it was initially rejected. Something was implemented recently though, so Iā€™ll take another look at this in the medium future to see if it can be added. Itā€™s not normally an issue except with battery devices, but it is very nice to seeā€¦

Hmmm - you believe you can what (Iā€™m not sure what this is in reference to - sorry)?

The main reason I hadnā€™t really mentioned it before is that I donā€™t have a way to independently verify the config to compare with the binding. Is there some free software I can use to do that? OH is my first foray into ZWave so I donā€™t really know what other controller software is out there.

did a quick test and no the parameters shown are definately not the right ones.
e.g. for my dch z110 it shows parameter 5 as 0 ā€¦ this is for sure incorrect as I can see that it is in test mode ā€œlight blinks when sensor is triggeredā€.

did a full oh2 restart before as I think you meant this by ā€œhabmin startupā€.

so logs from starting oh2? debug?

. I also observed this before and after some days (maybe also some oh2 restarts; cannot tell for sure) I think the readback took place at some time. though seems a little random
ā€¦
how i did it:

I deleted one thing that was already added with changed parameters
added is againā€¦ did show ā€œdefault valuesā€ which (as described above) cannot be
restarted oh2 ā€¦ still it shows default instead of correct

Just to explain a little more about how this worksā€¦ When the configuration is saved, the configuration is written into the ESH storage. At the same time, the ZWave binding updates the configuration - for mains devices, this all happens quickly, so thereā€™s no problem. However for battery devices (like the Z110 that you mention) this is not the case and there will be a period where they are not synced.

There are two ways we can handle this -:

You update the configuration, the parameter is queued for sending to the device, but the configuration isnā€™t updated until the device responds. This means weā€™re synced :slight_smile:. However, I now suspect that you will be unhappy for another reasonā€¦ In this operation, if we start with a value 1, and you set to 2, since the config isnā€™t updated in ESH, the value you see will change back to 1 until the device responds to say itā€™s changed to 2. This is perfectly reflecting the state of the device, but now the user has no way to know that heā€™s changed anything. This is why in HABmin-1, I had the yellow state which meant ā€˜this parameter has changed, but itā€™s not yet confirmed, so itā€™s unsyncedā€™.

The other option is what we have - you make the change and ESH is updated so the user thinks that the device is updated. However in the case of a battery device, this update might not happen for another 24 hours (depending on the wakeup interval) so the configuration will remain unsynced for that period. Again, in HABmin-1 this would be displayed with the yellow background for 24 hoursā€¦

I chose option 2 here because I can imagine that in option 1, people will tell me that it doesnā€™t work at all as the UI would keep changing back each time you changed it!

What do you think? Which option is best (I know - you probably tell me option 3, which is what HABmin-1 did :wink:).

Some new features were added to ESH recently that I might be able to use to improve this.

Yes please.

ok will do a log asap :wink:

yes like habmin1 was best because it was just a clear state for the user. however also some help texts in habmin2 would help to understand stuff like this :slight_smile:
so talking about wakeup intervall ā€¦ its not enough that the device is talking to oh2 (like sensor updates on temp and stuff)? wakeup intervall is something different?

but to be honest there are other things in zwave2 that trouble me more :wink:

  1. non persitent item states ā€¦ this issue applies for all Motion / Door / Window alarms

  2. sensor binary for door / window / motion devices reports as On Off and no way to change it

  3. when i change door/window sensors from ā€œswitchā€ to ā€œcontactā€ the log does not show an update of that sensor at allā€¦ however the odd thing: still it updateds on / off on the UI when I open / close that door (magic?) ā€¦ so I can ignore that issue :wink: its just strange

No - wakeup is different (I think this is detailed on the Z-Wave wiki, but I will try and find some time to write some more information about how things work at some stage). Basically though, the wakeup is sent periodically, and openHAB can only send request TO the device when it receives the wakeup since the wakeup notification tells OH that the device can now RECEIVE for the next few seconds.

  1. Iā€™ll look at the update of states when I get a chance.
  2. On/Off status was based on the definitions in ESH. As per another discussion, I can now ignore these and it looks like in the future there might be more chance to improve this. However, as stated in the thread you reference, ESH should already show open/closed if the translations that are in the binding work correctly (but this is nothing to do with the binding so I donā€™t think I can do too much).
  3. As stated elsewhere, ESH currently does not allow you to change the item type - really - donā€™t try - it doesnā€™t work! If you set an item that is not consistent with how the binding is providing the data, then you will not get any data. Thereā€™s no way around this in the current ESH so please just donā€™t try. You might think you can set it since the UI allows items to be set to anything, but if itā€™s not what the binding has already defined, then itā€™s not going to work - sorry.

thanks !!!

I opened an issue for ESHā€¦ lets see what happens

ahh thats new to me ā€¦ didnā€™t read that somewhere. just read the confirmation from Kai that Door / Windows should be contact and just switched in in habminā€¦ very tempting drop down menu :wink:
good to know

Where? I canā€™t see it. Iā€™m interested in what youā€™re actually requesting?

Ok - it was discussed between me and Kai in the thread you referenced above (about mapping).

oops you are rightā€¦ closed it at the wrong place and copy / pasted here:

well I guess I donā€™t understand everything the pros say :wink:

No probs :sunglasses:.

Iā€™ve now added a new channel type so you can have a contact type if you update the device in the database :slight_smile:.

No worries, I meant you can see in de debug log if pending changes are pushed to the zwave device. When I was testing this I never waited on the wakeup, but pushed the button and checked the log. Sometimes several clicks where necessary I onder for the zw100 to wake up and receive the new conf parameters.

mhh
updated binding
removed z110
ā†’ does not show up again in discovery

EDIT !! DID NOW SHOW UP. JUST TOOK LONGER ā€¦ NORMALLY THEY COME INSTANTLY AS THEY ARE STILL BOUND TO THE ZWAVE STICK.

No - thatā€™s not correct. Iā€™ve said somewhere that they only show up after the initial discovery is done - basically after the manufacturer information is known. For a battery device, this will take time unless you wake it up manuallyā€¦

I did send you a PM with a link for a full startup log of my OH2
e.g. NODE 11 definately has different parameters then shown in habmin2 after ā€œreadbackā€

Thereā€™s no node 11 initialisation during the log you sent. I guess itā€™s a battery device, and itā€™s not woken up. In this case, OH will show the value you last set, but this might not be the same as the binding set (if that makes sense)ā€¦

If you set a value, but the device doesnā€™t wake up, then the OH version of the config will show the value you set, but if the device hasnā€™t woken up, then it wonā€™t have been transmitted to the device - so they will be out of sync if you restart OH at this timeā€¦

Iā€™m not saying that is the issue, but since the device hasnā€™t woken up, I dont really know whatā€™s going onā€¦

Well OK i will try to wake it up during Startup.
However i Set wakeup intervall on few minutes for that Device but itā€™s not being updated to the current/correct parameters in habmin2 for at least 2 days now.

Readback takes place on startup or any Wakeup right?

It is performed on all devices when the binding starts. For mains powered devices, this happens straight away - for battery devices, it will happen after the device wakes up next.

@chris

regarding this topic:
When I look on the default ā€œHOMEā€ Sitemap in Habmin2 ā€¦ the values do show ā€œpersistentā€.
When I copy the Items from the ā€œChannelsā€ on the sitemap that problem occurs.
Can you tell me how the HOME thing is populated and how can I e.g. see the item name used for an entry there?

Sorry - I donā€™t understand what you mean by this?

Sorry, I donā€™t know - itā€™s generated within ESH or OH - Iā€™m not sure though as Iā€™ve not tried to find it.