Hi,
I need to set a few configuration parameters to Z-wave devices. I would like to have that done at HA startup but the only way I have found is via automations.
So I tested to set “AlwaysOn” on 2 Fibaro wall plugs (used for energy meter) with the trigger to run every 2 minutes.
However the plugs isn’t turned on or even reject when turned on/off.
2020-07-15 22:10:00 INFO (MainThread) [homeassistant.components.automation] Configure Z-wave devices: Executing step call service
2020-07-15 22:10:00 INFO (SyncWorker_12) [homeassistant.components.zwave] Setting configuration parameter 1 on Node 14 with list selection 0
2020-07-15 22:10:00 INFO (MainThread) [homeassistant.components.automation] Configure Z-wave devices: Executing step call service
2020-07-15 22:10:00 INFO (SyncWorker_2) [homeassistant.components.zwave] Setting configuration parameter 1 on Node 13 with list selection 0
Any idea why it isn’t working?
Any better way to configure Z-wave devices?
Ah, tested to set the parameter via control panel and it works and in the logs I get:
2020-07-15 22:49:22 INFO (SyncWorker_17) [homeassistant.components.zwave] Setting configuration parameter 1 on Node 13 with list selection function activated
When sending via automations I get in the logs:
2020-07-15 22:50:00 INFO (MainThread) [homeassistant.components.automation] Configure Z-wave devices: Executing step call service
2020-07-15 22:50:00 INFO (SyncWorker_7) [homeassistant.components.zwave] Setting configuration parameter 1 on Node 13 with list selection 0
I checked in zwcfg_xxxxxx.xml before and after this change in control panel but no difference.
Is the settings stored in the device or elsewhere?
If in device (I have excluded and included them when migrating from openHAB to HA) then I should be be fine by doing it in control panel once.
Config parameters are stored on the device. The XML is simply a cache, it will show the last value that was set or read. It won’t change until you save the configuration from the control panel or restart.