image not found img not found

2nd Gen Switch with HomeAssistant

Do you think its a bug in the firmware on my devices? @EricM_Inovelli

Hi there, I don’t believe it is a bug in the firmware. It is something that has been working well for a lot of people. I’m really not sure where to go next. Association group 1 (lifeline) is the only requirement for the status report to be sent to the controller when changed at the wall. When association group 1 is set correctly, the switch will send a SwitchBasicReport to the controller to notify it.

The only other thing I can think of is if the devices are on the range of the z-wave network maybe the signal is not making it. Kind of unlikely for multiple switches though.

You may want to try to include the devices in ‘non-secure’ mode. There is less network traffic and less of a load on your controller when you do this.

Man, don’t give up on me. I add these devices in non-secure mode. So that’s most likely not a problem.

If I try to turn on the device from zwave2mqtt it turns the light on and off. No problem. So that atleast proves that it’s within range and it honors the signal from the controller. When I toggle the switch in the wall , that’s when the updates does not come to the controller. But the actual light toggles.

Anything else u want me to try ?

By the way - when you fixed the xml file did you also explicitly delete the ozw cache file? That file persists across restarts of ozw and can cause issues if it is corrupted. If you haven’t done so, I suggest shutting down the ozwdaemon, specifically deleting the cache file (name something like ozwcache???.xml and found where ever you have ozw config files - i.e. the one you fixed), then restarting the ozwdaemon. Just another thought.

When you turn on the device from zwave2mqtt, does your OZW_Log.txt file show that the device is responding?

Also, did you change the Protection config parameter from within Zwave2mqtt for any reason?
image

I did a full hard reset of my zwave controller and started adding the switches again. I have 3 switches in the living room and all of them are working. They are reporting status properly .

I have 2 in my bedroom. They work sometimes and sometimes does not work.

1 things changed since I did a reset. I had some dead nodes in my network. That all are gone now. Check my network pic.

If u see, the bedroom light is not connected to the controller directly. Do u think that has something to do ?

When I did a full reset, I also took the latest version of zwave2mqtt. This is now using openzwave version 1.6.1061. This has the latest xml file of innoveli switches. So I am now confident that I have the right configuration.

I check the protection status. It’s unprotected.

I am not giving up. :slight_smile: The fact that 3 out of the 5 switches are working, i decided to start all over again. This time i took my controller close to the 2 non working switches and added them first. I wanted to

  • eliminate signal issues
  • make sure both the switches connect directly to the controller.

Still did not work. Then i started closely looking at ozw logs. I noticed something strange and wanted to discuss this with u.When the device is added to the zwave network it fires a series of command. One of them is ProtectionCmd_Get. When node2 and node3 registers with the controller it sends ProtectionCmd_Get and it gets a timeout msg. Logs shown below.

2020-03-23 00:21:10.380 Info, Node002, Sending (Query) message (Callback ID=0x1d, Expected Reply=0x04) - ProtectionCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x75, 0x02, 0x25, 0x1d, 0xaa
2020-03-23 00:21:10.380 Info, Node002, Encrypted Flag is 0
2020-03-23 00:21:10.388 Detail, Node002,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-03-23 00:21:10.389 Detail, Node002,   ZW_SEND_DATA delivered to Z-Wave stack
2020-03-23 00:21:10.404 Detail, Node002,   Received: 0x01, 0x07, 0x00, 0x13, 0x1d, 0x00, 0x00, 0x02, 0xf4
2020-03-23 00:21:10.404 Detail, Node002,   ZW_SEND_DATA Request with callback ID 0x1d received (expected 0x1d)
2020-03-23 00:21:10.404 Info, Node002, Request RTT 23 Average Request RTT 23
2020-03-23 00:21:10.404 Detail, Node002,   Expected callbackId was received
2020-03-23 00:21:20.381 Error, Node002, ERROR: Dropping command, expected response not received after 1 attempt(s). Command: "ProtectionCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x75, 0x02, 0x25, 0x1d, 0xaa"
2020-03-23 00:21:20.381 Detail, Node002, Removing current message
2020-03-23 00:21:20.381 Detail, Node002, Notification: Notification - TimeOut
2020-03-23 00:21:20.381 Detail, Node002, Query Stage Complete (Session)
2020-03-23 00:21:20.381 Detail, Node002, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Dynamic live=1
2020-03-23 00:21:20.381 Detail, Node002, QueryStage_Dynamic
2020-03-23 00:21:20.381 Detail, Node002, Queuing (Send) SwitchBinaryCmd_Get (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x25, 0x02, 0x25, 0x1e, 0xf9
2020-03-23 00:21:20.382 Detail, Node002, Queuing (Query) Query Stage Complete (Dynamic)

When working switch registers i get a success response. Check the below logs.

2020-03-23 00:45:45.836 Info, Node004, Sending (Query) message (Callback ID=0x50, Expected Reply=0x04) - ProtectionCmd_Get (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x75, 0x02, 0x25, 0x50, 0xe1
2020-03-23 00:45:45.836 Info, Node004, Encrypted Flag is 0
2020-03-23 00:45:45.846 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-03-23 00:45:45.846 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2020-03-23 00:45:45.860 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0x50, 0x00, 0x00, 0x02, 0xb9
2020-03-23 00:45:45.860 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0x50 received (expected 0x50)
2020-03-23 00:45:45.860 Info, Node004, Request RTT 24 Average Request RTT 23
2020-03-23 00:45:45.860 Detail, Node004,   Expected callbackId was received
2020-03-23 00:45:45.877 Detail, Node004,   Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x04, 0x04, 0x75, 0x03, 0x00, 0x00, 0x87
2020-03-23 00:45:45.878 Detail, 
2020-03-23 00:45:45.878 Info, Node004, Response RTT 41 Average Response RTT 40
2020-03-23 00:45:45.878 Info, Node004, Received a Protection report: Unprotected
2020-03-23 00:45:45.878 Detail, Node004, Initial read of value
2020-03-23 00:45:45.878 Detail, Node004,   Expected reply and command class was received
2020-03-23 00:45:45.878 Detail, Node004,   Message transaction complete

Does this ring any bells?

i am having the exact same issue. i replied to another thread with users having this issues here: LZW31-SN Dimmer, Manual turn on no state reporting

this is my first zwave device as well as inovelli switch. using zwave2mqtt every other sensor works fine and i can even see the power change but it does not update the status in HA. i can control from HA without issue. here are my debug logs when adding a device and manually toggling from the switch, you can see the power usage change but nothing coming from the state change

2020-04-12T20:00:46.678Z z2m:Zwave Success zwave api call addNode true
2020-04-12T20:00:46.680Z z2m:Zwave controller command { nodeid: 0, state: 1, errcode: 0, help: ‘AddDevice Starting’ }
2020-04-12T20:00:46.681Z z2m:Zwave controller command { nodeid: 0, state: 4, errcode: 0, help: ‘AddDevice Waiting’ }
2020-04-12T20:00:59.620Z z2m:Zwave controller command { nodeid: 0, state: 6, errcode: 0, help: ‘AddDevice InProgress’ }
2020-04-12T20:00:59.809Z z2m:Zwave controller command { nodeid: 4, state: 6, errcode: 0, help: ‘AddDevice InProgress’ }
2020-04-12T20:01:00.123Z z2m:Zwave controller command { nodeid: 4, state: 6, errcode: 0, help: ‘AddDevice InProgress’ }
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 0 (COMMAND_CLASS_NO_OPERATION)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 114 (COMMAND_CLASS_MANUFACTURER_SPECIFIC)
2020-04-12T20:01:00.180Z z2m:Zwave Node added 4
2020-04-12T20:01:00.180Z z2m:Zwave ValueAdded: 4-94-1-0 ZWave+ Version
2020-04-12T20:01:00.181Z z2m:Zwave ValueAdded: 4-94-1-1 InstallerIcon
2020-04-12T20:01:00.182Z z2m:Zwave ValueAdded: 4-94-1-2 UserIcon
2020-04-12T20:01:00.182Z z2m:Zwave ValueAdded: 4-38-1-0 Level
2020-04-12T20:01:00.183Z z2m:Zwave ValueAdded: 4-38-1-1 Bright
2020-04-12T20:01:00.183Z z2m:Zwave ValueAdded: 4-38-1-2 Dim
2020-04-12T20:01:00.184Z z2m:Zwave ValueAdded: 4-38-1-3 Ignore Start Level
2020-04-12T20:01:00.184Z z2m:Zwave ValueAdded: 4-38-1-4 Start Level
2020-04-12T20:01:00.185Z z2m:Zwave ValueAdded: 4-134-1-0 Library Version
2020-04-12T20:01:00.186Z z2m:Zwave ValueAdded: 4-134-1-1 Protocol Version
2020-04-12T20:01:00.186Z z2m:Zwave ValueAdded: 4-134-1-2 Application Version
2020-04-12T20:01:00.187Z z2m:Zwave ValueAdded: 4-115-1-0 Powerlevel
2020-04-12T20:01:00.187Z z2m:Zwave ValueAdded: 4-115-1-1 Timeout
2020-04-12T20:01:00.188Z z2m:Zwave ValueAdded: 4-115-1-2 Set Powerlevel
2020-04-12T20:01:00.188Z z2m:Zwave ValueAdded: 4-115-1-3 Test Node
2020-04-12T20:01:00.189Z z2m:Zwave ValueAdded: 4-115-1-4 Test Powerlevel
2020-04-12T20:01:00.189Z z2m:Zwave ValueAdded: 4-115-1-5 Frame Count
2020-04-12T20:01:00.190Z z2m:Zwave ValueAdded: 4-115-1-6 Test
2020-04-12T20:01:00.190Z z2m:Zwave ValueAdded: 4-115-1-7 Report
2020-04-12T20:01:00.191Z z2m:Zwave ValueAdded: 4-115-1-8 Test Status
2020-04-12T20:01:00.192Z z2m:Zwave ValueAdded: 4-115-1-9 Acked Frames
2020-04-12T20:01:00.192Z z2m:Zwave ValueAdded: 4-152-1-0 Secured
2020-04-12T20:01:00.193Z z2m:Zwave ValueAdded: 4-91-1-256 Scene Count
2020-04-12T20:01:00.193Z z2m:Zwave ValueAdded: 4-91-1-257 Scene Reset Timeout
2020-04-12T20:01:00.195Z z2m:Zwave ValueAdded: 4-117-1-0 Protection
2020-04-12T20:01:00.196Z z2m:Zwave controller command { nodeid: 4, state: 7, errcode: 0, help: ‘AddDevice Completed’ }
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 94 (COMMAND_CLASS_ZWAVEPLUS_INFO)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 38 (COMMAND_CLASS_SWITCH_MULTILEVEL)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 112 (COMMAND_CLASS_CONFIGURATION)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 133 (COMMAND_CLASS_ASSOCIATION)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 134 (COMMAND_CLASS_VERSION)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 90 (COMMAND_CLASS_DEVICE_RESET_LOCALLY)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 115 (COMMAND_CLASS_POWERLEVEL)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 50 (COMMAND_CLASS_METER)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 152 (COMMAND_CLASS_SECURITY)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 91 (COMMAND_CLASS_CENTRAL_SCENE)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 117 (COMMAND_CLASS_PROTECTION)
OpenZWave Warning, Localization::SetupCommandClass: Localization Warning: No Entry for CommandClass - CC: 34 (COMMAND_CLASS_APPLICATION_STATUS)
2020-04-12T20:01:00.209Z z2m:Zwave Notification from node 4: Notification - NoOperation (2)
2020-04-12T20:01:00.210Z z2m:Zwave ValueAdded: 4-114-1-0 Loaded Config Revision
2020-04-12T20:01:00.210Z z2m:Zwave ValueAdded: 4-114-1-1 Config File Revision
2020-04-12T20:01:00.211Z z2m:Zwave ValueAdded: 4-114-1-2 Latest Available Config File Revision
2020-04-12T20:01:00.211Z z2m:Zwave ValueAdded: 4-114-1-3 Device ID
2020-04-12T20:01:00.212Z z2m:Zwave ValueAdded: 4-114-1-4 Serial Number
2020-04-12T20:01:00.260Z z2m:Zwave ValueAdded: 4-112-1-1 Dimming Speed
2020-04-12T20:01:00.261Z z2m:Zwave ValueAdded: 4-112-1-2 Dimming Speed (From Switch)
2020-04-12T20:01:00.261Z z2m:Zwave ValueAdded: 4-112-1-3 Ramp Rate
2020-04-12T20:01:00.262Z z2m:Zwave ValueAdded: 4-112-1-4 Ramp Rate (From Switch)
2020-04-12T20:01:00.262Z z2m:Zwave ValueAdded: 4-112-1-5 Minimum Level
2020-04-12T20:01:00.263Z z2m:Zwave ValueAdded: 4-112-1-6 Maximum Level
2020-04-12T20:01:00.263Z z2m:Zwave ValueAdded: 4-112-1-7 Invert Switch
2020-04-12T20:01:00.263Z z2m:Zwave ValueAdded: 4-112-1-8 Auto Off Timer
2020-04-12T20:01:00.264Z z2m:Zwave ValueAdded: 4-112-1-9 Default Level (Local)
2020-04-12T20:01:00.265Z z2m:Zwave ValueAdded: 4-112-1-10 Default Level (Z-Wave)
2020-04-12T20:01:00.265Z z2m:Zwave ValueAdded: 4-112-1-11 State After Power Restored
2020-04-12T20:01:00.266Z z2m:Zwave ValueAdded: 4-112-1-12 Association Behavior
2020-04-12T20:01:00.266Z z2m:Zwave ValueAdded: 4-112-1-13 LED Indicator Color
2020-04-12T20:01:00.267Z z2m:Zwave ValueAdded: 4-112-1-14 LED Strip Intensity
2020-04-12T20:01:00.267Z z2m:Zwave ValueAdded: 4-112-1-15 LED Strip Intensity (When OFF)
2020-04-12T20:01:00.268Z z2m:Zwave ValueAdded: 4-112-1-16 LED Strip Effect
2020-04-12T20:01:00.268Z z2m:Zwave ValueAdded: 4-112-1-17 LED Strip Timeout
2020-04-12T20:01:00.269Z z2m:Zwave ValueAdded: 4-112-1-18 Active Power Reports
2020-04-12T20:01:00.269Z z2m:Zwave ValueAdded: 4-112-1-19 Periodic Power & Energy Reports
2020-04-12T20:01:00.269Z z2m:Zwave ValueAdded: 4-112-1-20 Energy Reports
2020-04-12T20:01:00.270Z z2m:Zwave ValueAdded: 4-112-1-21 AC Power Type
2020-04-12T20:01:00.270Z z2m:Zwave ValueAdded: 4-112-1-22 Switch Type
2020-04-12T20:01:00.271Z z2m:Zwave ValueAdded: 4-91-1-0 Scene Count
2020-04-12T20:01:00.271Z z2m:Zwave ValueAdded: 4-91-1-2 Top Button Scene
2020-04-12T20:01:00.271Z z2m:Zwave ValueAdded: 4-91-1-1 Bottom Button Scene
2020-04-12T20:01:00.272Z z2m:Zwave ValueAdded: 4-91-1-3 Config Button Scene
OpenZWave Warning, Node004, Zwave+ Node Type (0x00) - NOT FOUND. No Mandatory Command Classes Loaded:
OpenZWave Warning, Node004, Zwave+ Device Type (0x0600) - NOT FOUND. No Mandatory Command Classes Loaded:
OpenZWave Warning, Node004, ZWave+ Role Type (0x05) - NOT FOUND. No Mandatory Command Classes Loaded:
2020-04-12T20:01:10.306Z z2m:Zwave Notification from node 4: Notification - TimeOut (1)
OpenZWave Error, Node004, ERROR: Dropping command, expected response not received after 1 attempt(s). Command: “SecurityCmd_SupportedGet (Node=4): 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x98, 0x02, 0x25, 0x37, 0x6b”
2020-04-12T20:01:10.497Z z2m:Zwave node 4 AVAILABLE: Inovelli - LZW31-SN Dimmer Red Series (Unknown)
2020-04-12T20:01:10.543Z z2m:Zwave ValueAdded: 4-50-1-0 Electric - kWh
2020-04-12T20:01:10.546Z z2m:Zwave ValueAdded: 4-50-1-2 Electric - W
2020-04-12T20:01:10.548Z z2m:Zwave ValueAdded: 4-50-1-256 Exporting
2020-04-12T20:01:10.548Z z2m:Zwave ValueAdded: 4-50-1-257 Reset
OpenZWave Warning, Node004, CommandClass COMMAND_CLASS_CENTRAL_SCENE HandlerMsg Returned False
OpenZWave Warning, CheckCompletedNodeQueries m_allNodesQueried=1 m_awakeNodesQueried=1
2020-04-12T20:01:11.344Z z2m:Zwave node 4 ready: Inovelli - LZW31-SN Dimmer Red Series (Unknown)
2020-04-12T20:02:46.949Z z2m:Zwave zwave node 4: changed: 50-1-0:Electric - kWh:0.049 -> 0.055
2020-04-12T20:02:46.953Z z2m:Zwave zwave node 4: changed: 50-1-256:Exporting:false -> false
2020-04-12T20:04:02.950Z z2m:Zwave zwave node 4: changed: 50-1-2:Electric - W:209 -> 0
2020-04-12T20:04:02.954Z z2m:Zwave zwave node 4: changed: 50-1-256:Exporting:false -> false
2020-04-12T20:05:26.048Z z2m:Zwave zwave node 4: changed: 50-1-2:Electric - W:0 -> 211.8
2020-04-12T20:05:26.051Z z2m:Zwave zwave node 4: changed: 50-1-256:Exporting:false -> false
2020-04-12T20:07:20.805Z z2m:Zwave zwave node 4: changed: 50-1-0:Electric - kWh:0.055 -> 0.066
2020-04-12T20:07:20.808Z z2m:Zwave zwave node 4: changed: 50-1-256:Exporting:false -> false

in a previous attempt to fix this issue i did see “duplicate scene notification …dropping” in the OZW_Log.txt but i am not seeing that since my reset of everything.

has anyone found a solution? i’m moving into a new house and was about to go crazy on inovelli switches but may go back to lutron if i can’t get them working.

I am having the same issue. Were you able to resolve this?

No… I gave up after a point :frowning: @EricM_Inovelli now its just me. I have 2 more people having the same problem. I am guessing it a software problem. I can send the device to your address if you want to troubleshoot this more.

If you are getting energy reports but not other reports the inclusion may not have completed. You can add the controller node id (usually 1) to association group 1 and that will likely fix it.

Group 1 isn’t listed here but with Z-Wave plus devices the 1st group is called the “Lifeline” group and it is the group needed to get information from the device to the hub.

I figured out for mine. For my case, I had to put the whole HASS installation path which you can see it on the dev section.

I was able to add Inovelli devices to show up on the HASS. I understand you can create a zwave association to control smart lighting. But I haven’t been able to find an instruction if I want to control philps hue lightbulbs, how to setup a switch scene to work with it on HASS. I got as far as the switch to be used for smart bulb by pressing config button 8 times, so if you can point me to right direction, will be appreicated.
Thanks.

I think there is some information in the forums for setting up scenes in Home Assistant, but I will try to make a KB article about it.

Are you using the built-in zwave functionality in Home Assistant, or have you customized it? Are you needing help getting HA to recognize zwave scenes, or are scenes working, but you need help setting up the appropriate automations?

Also, have you already modified your manufacturer-specific.xml file so HA can load all of your config parameters?

@jtronicus may have a lot more information based on your answers, but here are some support articles that may help you. The first one is how to get all of the features into Home Assistant for our devices. You may have already done this and the article does not cover all of the many Home Assistant setups.

The next article is a brief overview of how to setup automations in the HA GUI based on the scene events created by our switches (double, triple press etc.). I am not sure how to control Philips Hue in HA as I haven’t ever done that, but the steps should be similar. Just different info for the “Actions” section.

Yes, I am using build in Z-wave using AEOTEC Z-wave stick. I want to be able to control hue bulbs, I am not sure how I can do that with Red Series switch. I tried using automation but it only recognize on/off event so when the switch is set for smart bulb (on all the time), it can’t recognize when switch push. And yes, I have loaded all files as per instructions and updated the manuafacurer-specific.xml.

The current built in zwave functionality of Home Assistant doesnt support scenes out of the box. If you dont see any zwave scene events in HA, you may need to manually edit your zwcfg_*.xml file according to this post:

1 Like