I really hope someone can give me some advice here, as I seem to be going around in ever decreasing circles.
I have a number of Z Wave devices on my system, including motion, door, flood and smoke sensors. I also have a TKB smart plug. All of them are automated via their own .yaml file and all of them work as expected. Considering my complete lack of experience with Home Assistant, I was feeling pretty good about it.
Enter the Aeotec Smart Switch 6…
For the life of me, the damn thing seems to have attained self-awareness and it’s mission appears to be to cause torment.
Modifying the code that I have used (successfully) for all the other sensors, I have attempted to detect when it is turned on and off and to record the wattage being used. All of this information is sent to a database using the “service” call and parameter:
Sometimes it sends readings, sometimes not. The on/off part is slightly more reliable, but the wattage readings are rarely sent. It usually works if I have rebooted, but then stops - and I have no idea why. I’ve changed it around and even done a fair amount of blind experimentation.
I’ve paired it “normally”, I’ve paired it in secure mode. I have also attempted to pair it using the Aeotec Stick I using for Z Wave (and that was a complete disaster).
Is there something really obvious I am missing? Any advice or help would be greatly appreciated because otherwise I will thwart the rise of the machines by throwing it out the window!
What is the value of parameter 80? Basic, Nothing, or Hail? Nothing means the switch will not publish any updates and the values must be polled manually. Basic means the switch will notify the primary node/controller it has an update to a value and the controller must poll the node for the update. Hail is the device flooding the network with data every time something updates and should be avoided to prevent crippling the Zwave network with too much traffic. Also parameters 101, 102, and 103 set the reporting groups (what gets reported such as voltage, wattage, amperage, energy usage) and 111, 112, and 113 are the corresponding update intervals. These are the 7 basic parameters that must be configured for semi-reliable operation of the switch and meters it provides. Also the ZW096 Smart Switch 6 must be included as secure devices and there must be a network key set for the Zwave network.
What this translates into is: I get a Voltage update every 180 seconds, a Current and Wattage update every 90 seconds, and the total Energy usage in kWh once per day. The report type parameters are cumulative, so whatever you want in that parameter report, add up those values (Current (2) plus Watt (4) is a value of 6). I found this to be a decent balance between value updates and communication traffic.
There’s been a long standing recommendation for ZWave to never poll a node quicker than the network can handle. Typically this is no quicker than 30000ms (30 seconds). On larger networks it’s going to be longer, but smaller you can get away with quicker. Setting your reporting interval parameters to no quicker than 30 seconds is no different.
The problem is the way I described the parameters is based on the old built-in ZWave integration (which is now deprecated and removed). While the parameters and their values have not changed because they are specific to the device, the way they are set is different in the new ZWave JS UI. It’s still a cumulative number, but it’s broken out into enable/disabled each measurement value per reporting group.
All of the parameters not described above in my posts are set to defaults. I haven’t changed any others.
I never tried to get the light working. The only thing I could do was change the mode via a parameter so it was on, off after 5 seconds, or “nightlight mode”. Maybe the nightlight mode enables the ability to change the color or brightness? I don’t know because I’ve never tried.
Ok, even that is useful to know!
I was trying to work out why I didn’t have the cumulative numbers but thought it was UI thing. But when using the URL link you mentioned it made sense.
Yeah ok I might give it a go, just for fun.
Do you still use your smart switch 6, or have you changed your hardware?