Zwave door sensor not updating the frontend

Yes, I solved the issue. I copied the zwcfg_xxx.xml file from OZWCP to the .homeassistant directory. Once I did that, all started working correctly.

Luis, I was following until here ā€“ I have the same problem as you had. In the zwcfg file in .homeassistant, I have this under the section for the door sensor:

<Value type="list" genre="config" instance="1" index="121" label="Report Type" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="1" size="4">
	<Help>Configure which sensor report will be sent when the sensor is Opened/Closed</Help>
	<Item label="Disabled" value="0" />
	<Item label="Basic Set" value="256" />
	<Item label="Sensor Binary Report" value="16" />
	<Item label="Basic Set and Sensor Binary Report" value="272" />
</Value>

Is this where I should change the value from 256 to 16? If so, I did this and did not see a difference yetā€¦ I see this after updating the config:

Node014, Refreshed Value: old value=0, new value=255, type=byte

I always change these settings in the OpenZwave control panel (close HASS first!). Change it in the OZWCP interface, then wake up the sensor device (often by pressing a button), see it change in the interface and save (top right). It needs to be a binary sensor report. For some sensors this is an explicit choice in the open zwave device menu, somethimes it is less clear. Googling for the device helps as other software (like Domoticz) also use Open Zwave.

With the All in one installer the OZWCP and HASS are kept in sync automatically.

The good news is, I now am able to change the setting in OZWCP (did not have the right .cfg file there). The bad news is, I am unable to SAVE this configuration. When I change Report Type from ā€œBasic Setā€ to ā€œSensor Binary Reportā€, as soon as I activate the sensor by touching the magnet to it, it changes back to Basic Set. ā€œLock/Unlock Configurationā€ is set to unlock.

Here is the output when changing the setting, in the terminal:

post: key=14-CONFIGURATION-config-list-1-121 data=Sensor Binary Report size=20
2016-10-10 02:24:55.309 Info, Node014, Value::Set - COMMAND_CLASS_CONFIGURATION - Report Type - 121 - 1 - Sensor Binary Report
2016-10-10 02:24:55.309 Info, Node014, Configuration::Set - Parameter=121, Value=16 Size=4
2016-10-10 02:24:55.309 Detail, Node014, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_CONFIGURATION
2016-10-10 02:24:55.309 Detail, 
2016-10-10 02:24:55.309 Detail, Node014, Queuing (WakeUp) ConfigurationCmd_Set     (Node=14): 0x01, 0x0f, 0x00, 0x13, 0x0e, 0x08, 0x70, 0x04, 0x79, 0x04, 0x00, 0x00, 0x00, 0x10, 0x25, 0x48, 0x91
2016-10-10 02:24:55.309 Detail, Node014, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_CONFIGURATION
2016-10-10 02:24:55.309 Detail, 
2016-10-10 02:24:55.309 Detail, Node014, Queuing (WakeUp) ConfigurationCmd_Get (Node=14): 0x01, 0x0a, 0x00, 0x13, 0x0e, 0x03, 0x70, 0x05, 0x79, 0x25, 0x49, 0x8b
post: key=14-CONFIGURATION-config-list-1-121 data= size=0

It seems to work, and then ā€¦ the settings revert when I actually activate the device. Any ideas?

Just waking up with the magnet is not enough. I had similar issue yesterday with two different door sensors and I had to press the button on the device.

Hi Josh,

the sensor must be ā€œonlineā€ when you apply/save the settings.
make sure that the OZWCP can see the sensor as active. after that , save everything ans copy the file to HASS config (either you save direct on HASS file or you need to manually update the HASS file).

Luis

Thanks @Tyfoon and @luismoed ā€“ I needed to press the button on the recessed door sensor to make the state change to ā€œActiveā€ on ozwcp, and after I did I changed the setting and saved, and it works! Just put in a new z-wave switch on a closet door and using the sensor to automatically turn on/off the light when the door is open/closed. Thanks for the help guys.

1 Like

np. Not all sensors behave like this by the way. I have about 6 different types of door sensors and only two of them needed to be changed this way. By the way, these two still do not report any battery status.