Inovelli LZW31 / Aeotec ZWA037 switches always displaying power_switch.state = false in zwaveJSController
-
I have just noticed that two of my z-wave switches, Inovelli LZW31 and Aeotec ZWA037, although responding correctly to commands such as (turning on the switch, changing LED color, etc.), are not displaying the right power_switch.state when turned ON. All other attributes are showing proper values.
Example when I turn on either switches,
In Home Assistant (hass), the power_switch.state = true while in ZWaveJSController (zwavejs), the power_switch.state = false.Reactor version 23302
ZWaveJSController version 23254
Z-Wave JS UI version 9.3.0.724519f
zwave-js version 12.2.3Here's what the log shows.
[latest-23302]2023-11-01T21:14:00.303Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) starting evaluation; because entity-changed System#reactor_system>system [latest-23302]2023-11-01T21:14:00.304Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) trigger evaluation result is false (previously false) [latest-23302]2023-11-01T21:14:00.304Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) evaluated; trigger state unchanged (false); rule state remains RESET [latest-23302]2023-11-01T21:14:00.304Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) evaluation complete [latest-23302]2023-11-01T21:14:00.308Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) starting evaluation; because entity-changed System#reactor_system>system [latest-23302]2023-11-01T21:14:00.309Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) trigger evaluation result is false (previously false) [latest-23302]2023-11-01T21:14:00.309Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) evaluated; trigger state unchanged (false); rule state remains RESET [latest-23302]2023-11-01T21:14:00.309Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) evaluation complete [latest-23302]2023-11-01T21:14:00.311Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) starting evaluation; because entity-changed System#reactor_system>system [latest-23302]2023-11-01T21:14:00.312Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) trigger evaluation result is false (previously false) [latest-23302]2023-11-01T21:14:00.312Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) evaluated; trigger state unchanged (false); rule state remains RESET [latest-23302]2023-11-01T21:14:00.313Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) evaluation complete [latest-23302]2023-11-01T21:14:00.315Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) starting evaluation; because entity-changed System#reactor_system>system [latest-23302]2023-11-01T21:14:00.317Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) trigger evaluation result is false (previously false) [latest-23302]2023-11-01T21:14:00.317Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) evaluated; trigger state unchanged (false); rule state remains RESET [latest-23302]2023-11-01T21:14:00.317Z <Rule:INFO> Notification: Update Available - Reactor (rule-laeg075n in Notifications) evaluation complete [latest-23302]2023-11-01T21:14:03.258Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) starting evaluation; because entity-changed Light#hass>light_office_light [latest-23302]2023-11-01T21:14:03.259Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) trigger evaluation result is true (previously false) [latest-23302]2023-11-01T21:14:03.260Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) evaluated; rule state transition from RESET to SET! [latest-23302]2023-11-01T21:14:03.271Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) evaluation complete [latest-23302]2023-11-01T21:14:03.273Z <Engine:INFO> Enqueueing "Toggle office light LED color state between green/blue Copy<SET>" (rule-lof5hpwe:S) [latest-23302]2023-11-01T21:14:03.285Z <Engine:NOTICE> Starting reaction Toggle office light LED color state between green/blue Copy<SET> (rule-lof5hpwe:S) [latest-23302]2023-11-01T21:14:03.287Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs performing zwave_device.set_config on Light#zwavejs>138-0 with [Object]{ "parameter": "84", "size": 1, "value": 3, "bitmask": 0 } [latest-23302]2023-11-01T21:14:03.345Z <Engine:INFO> Resuming reaction Toggle office light LED color state between green/blue Copy<SET> (rule-lof5hpwe:S) from step 2 [latest-23302]2023-11-01T21:14:03.346Z <Engine:INFO> Toggle office light LED color state between green/blue Copy<SET> all actions completed. [latest-23302]2023-11-01T21:14:05.191Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs node 138-0 no value +currentValue: found for power_switch.state [latest-23302]2023-11-01T21:14:05.205Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) starting evaluation; because entity-changed Light#hass>light_office_light [latest-23302]2023-11-01T21:14:05.205Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) trigger evaluation result is true (previously true) [latest-23302]2023-11-01T21:14:05.206Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) evaluated; trigger state unchanged (true); rule state remains SET [latest-23302]2023-11-01T21:14:05.206Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) evaluation complete [latest-23302]2023-11-01T21:14:10.503Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs node 138-0 no value +currentValue: found for power_switch.state [latest-23302]2023-11-01T21:14:10.518Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) starting evaluation; because entity-changed Light#hass>light_office_light [latest-23302]2023-11-01T21:14:10.519Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) trigger evaluation result is false (previously true) [latest-23302]2023-11-01T21:14:10.520Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) evaluated; rule state transition from SET to RESET! [latest-23302]2023-11-01T21:14:10.529Z <Rule:INFO> Toggle office light LED color state between green/blue Copy (rule-lof5hpwe in Office) evaluation complete [latest-23302]2023-11-01T21:14:10.530Z <Engine:INFO> Enqueueing "Toggle office light LED color state between green/blue Copy<RESET>" (rule-lof5hpwe:R) [latest-23302]2023-11-01T21:14:10.542Z <Engine:NOTICE> Starting reaction Toggle office light LED color state between green/blue Copy<RESET> (rule-lof5hpwe:R) [latest-23302]2023-11-01T21:14:10.543Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs performing zwave_device.set_config on Light#zwavejs>138-0 with [Object]{ "parameter": "84", "size": 1, "value": 2, "bitmask": 0 } [latest-23302]2023-11-01T21:14:10.596Z <Engine:INFO> Resuming reaction Toggle office light LED color state between green/blue Copy<RESET> (rule-lof5hpwe:R) from step 2 [latest-23302]2023-11-01T21:14:10.597Z <Engine:INFO> Toggle office light LED color state between green/blue Copy<RESET> all actions completed. [latest-23302]2023-11-01T21:14:12.441Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs node 138-0 no value +currentValue: found for power_switch.state
PS I am trying to attach an image but getting "Something went wrong while parsing server response". Also, not sure if this is related to Reactor/ZwaveJSController implementation or the actual Z-Wave JS UI docker version.
Hopefully I have provided the necessary information.
Thanks in advance.
-
@Snowman Let's start with this:
When you go to the Entities list, click to open the affected entities (the ZWaveJSController ones, not the HA ones) and press the Copy Attributes button, and paste the output here (use block/fenced code formatting for the content).
-
@Snowman I've been having scads of issues with the HA ZWaveJS UI plugin for the past two weeks. There is an open issue with it as well on the appropriate Github page.
I am curious to see what, if anything, might surface from @toggledbits check of your Attributes file.
-
PS I copied the attributes while the switches were ON.
Attibutes from the Aeotec ZWA037
dimming.level=1 dimming.step=0.1 power_switch.state=false x_debug.dt={"entity_class":"Light","match":"deviceClass.generic.key=17","capabilities":["dimming","power_switch","toggle"],"primary_attribute":"power_switch.state","description":"illumino Dimmer Switch","model":"ZWA037","default_name":"illumino Dimmer Switch","manufacturerId":881,"productType":259,"productId":37} x_zwave_values.Central_Scene_scene_001=0 x_zwave_values.Central_Scene_scene_002=0 x_zwave_values.Central_Scene_scene_003=null x_zwave_values.Central_Scene_slowRefresh=null x_zwave_values.Configuration_Auto_Off_Timer=0 x_zwave_values.Configuration_Auto_On_Timer=0 x_zwave_values.Configuration_Brightness_on_Double_Tap=0 x_zwave_values.Configuration_Brightness_on_Single_Tap=0 x_zwave_values.Configuration_Command_Type_to_Send_Association_Groups=1 x_zwave_values.Configuration_Custom_Default_Brightness=0 x_zwave_values.Configuration_Dimming_Rate_Hold=4 x_zwave_values.Configuration_Dimming_Rate_Z_Wave_Tap=2 x_zwave_values.Configuration_External_Switch_Scene_Functionality=1 x_zwave_values.Configuration_External_Switch_Type=1 x_zwave_values.Configuration_Inverted_Orientation=0 x_zwave_values.Configuration_LED_Indicator_Brightness=80 x_zwave_values.Configuration_LED_Indicator_Function=4 x_zwave_values.Configuration_Led_Indicator_Color_Output=3 x_zwave_values.Configuration_Led_Indicator_Color_Scene=2 x_zwave_values.Configuration_Lock_Configuration_and_Manual_Button_Press=0 x_zwave_values.Configuration_Maximum_Brightness_Level=100 x_zwave_values.Configuration_Minimum_Brightness_Level=0 x_zwave_values.Configuration_Report_Type_To_Send=2 x_zwave_values.Configuration_Smart_Switch_Mode=3 x_zwave_values.Configuration_Smart_Switch_Mode_Reporting=0 x_zwave_values.Configuration_State_After_Power_Failure=2 x_zwave_values.Indicator_Node_Identify_3=0 x_zwave_values.Indicator_Node_Identify_4=0 x_zwave_values.Indicator_Node_Identify_5=0 x_zwave_values.Indicator_identify=null x_zwave_values.Indicator_timeout=null x_zwave_values.Indicator_value=null x_zwave_values.Manufacturer_Specific_manufacturerId=881 x_zwave_values.Manufacturer_Specific_productId=37 x_zwave_values.Manufacturer_Specific_productType=259 x_zwave_values.Multilevel_Switch_Down=null x_zwave_values.Multilevel_Switch_Up=null x_zwave_values.Multilevel_Switch_currentValue=99 x_zwave_values.Multilevel_Switch_duration={"value":0,"unit":"seconds"} x_zwave_values.Multilevel_Switch_restorePrevious=null x_zwave_values.Multilevel_Switch_targetValue=99 NOTA: All x_zwave_values.Scene_Actuator_Configuration_xxxx attributes (around 400+) are not listed. Got an error asking to shorten this post. x_zwave_values.Version_applicationBuildNumber=43707 x_zwave_values.Version_applicationFrameworkAPIVersion="10.13.10" x_zwave_values.Version_applicationFrameworkBuildNumber=423 x_zwave_values.Version_applicationVersion="1.11.3" x_zwave_values.Version_firmwareVersions=["1.11"] x_zwave_values.Version_hardwareVersion=1 x_zwave_values.Version_hostInterfaceBuildNumber=0 x_zwave_values.Version_hostInterfaceVersion="unused" x_zwave_values.Version_libraryType=3 x_zwave_values.Version_protocolVersion="7.13" x_zwave_values.Version_sdkVersion="7.13.10" x_zwave_values.Version_zWaveProtocolBuildNumber=423 x_zwave_values.Version_zWaveProtocolVersion="7.13.10" zwave_device.capabilities=[38,44,91,112,114,134,135] zwave_device.endpoint=0 zwave_device.failed=false zwave_device.generic_class="Multilevel Switch" zwave_device.impl_sig="23254:1:22054:2" zwave_device.is_beaming=false zwave_device.is_listening=true zwave_device.is_routing=true zwave_device.is_secure=false zwave_device.manufacturer_info=[881,259,37] zwave_device.max_data_rate=null zwave_device.node_id=138 zwave_device.specific_class="Unused" zwave_device.status=4 zwave_device.status_text="alive" zwave_device.version_info=[null,"1.11.3"]
Attributes from the Inovelli LZW31
dimming.level=0.51 dimming.step=0.1 power_switch.state=false x_debug.dt={"entity_class":"Light","match":"deviceClass.generic.key=17","capabilities":["dimming","power_switch","toggle"],"primary_attribute":"power_switch.state"} x_zwave_values.Configuration_AC_Power_Type=0 x_zwave_values.Configuration_Association_Behavior_3_Way_2=1 x_zwave_values.Configuration_Association_Behavior_Local_1=1 x_zwave_values.Configuration_Association_Behavior_Timer_8=1 x_zwave_values.Configuration_Association_Behavior_Z_Wave_Hub_4=1 x_zwave_values.Configuration_Auto_Off_Timer=0 x_zwave_values.Configuration_Configure_Physical_On_Off_Delay=0 x_zwave_values.Configuration_Default_Level_Local=0 x_zwave_values.Configuration_Default_Level_Z_Wave=0 x_zwave_values.Configuration_Dimming_Speed=1 x_zwave_values.Configuration_Dimming_Speed_Z_Wave=101 x_zwave_values.Configuration_Invert_Switch=0 x_zwave_values.Configuration_LED_Indicator_Color=170 x_zwave_values.Configuration_LED_Indicator_Intensity=5 x_zwave_values.Configuration_LED_Indicator_Intensity_When_Off=1 x_zwave_values.Configuration_LED_Indicator_Timeout=3 x_zwave_values.Configuration_Maximum_Dim_Level=99 x_zwave_values.Configuration_Minimum_Dim_Level=10 x_zwave_values.Configuration_Operation_Mode=0 x_zwave_values.Configuration_Physical_On_Off_Delay=1 x_zwave_values.Configuration_Power_On_State=100 x_zwave_values.Configuration_Ramp_Rate=101 x_zwave_values.Configuration_Ramp_Rate_Z_Wave=101 x_zwave_values.Configuration_Smart_Bulb_Mode=0 x_zwave_values.Configuration_Switch_Type=0 x_zwave_values.Manufacturer_Specific_manufacturerId=798 x_zwave_values.Manufacturer_Specific_productId=1 x_zwave_values.Manufacturer_Specific_productType=3 x_zwave_values.Multilevel_Switch_Down=null x_zwave_values.Multilevel_Switch_Up=null x_zwave_values.Multilevel_Switch_currentValue=50 x_zwave_values.Multilevel_Switch_duration=null x_zwave_values.Multilevel_Switch_restorePrevious=null x_zwave_values.Multilevel_Switch_targetValue=255 x_zwave_values.Protection_exclusiveControlNodeId=null x_zwave_values.Protection_local=0 x_zwave_values.Protection_rf=0 x_zwave_values.Protection_timeout=null x_zwave_values.Version_firmwareVersions=["1.57","1.41"] x_zwave_values.Version_hardwareVersion=1 x_zwave_values.Version_libraryType=3 x_zwave_values.Version_protocolVersion="6.4" zwave_device.capabilities=[38,112,114,117,134] zwave_device.endpoint=0 zwave_device.failed=false zwave_device.generic_class="Multilevel Switch" zwave_device.impl_sig="23254:1:0:0" zwave_device.is_beaming=false zwave_device.is_listening=true zwave_device.is_routing=true zwave_device.is_secure=false zwave_device.manufacturer_info=[798,3,1] zwave_device.max_data_rate=null zwave_device.node_id=14 zwave_device.specific_class="Multilevel Power Switch" zwave_device.status=4 zwave_device.status_text="alive" zwave_device.version_info=[null,"1.57"]
-
toggledbitswrote on Nov 3, 2023, 4:53 PM last edited by toggledbits Nov 3, 2023, 12:54 PM
OK. Pull the
zwavejs_data.zip
file from the ZWaveJSController download folder and put it into yourconfig
folder -- don't unzip the file, just it put in as-is. Then restart Reactor and see if that helps. -
@togglebits Followed your instructions. Both switches are showing proper "power_switch.state". What ever magic you did worked. Thanks
-
@togglebits Just want to make sure you did see my response three days ago. The zip file did the trick.
-
6/7