A device is created for the Power Strip and each Outlet.
A component device is created for each USB Ports which allows you to see them in the Power Strip and use them in SmartApps, but they’re not shown in the Things list. Each USB Ports will report on when the device plugged into it is using power and off when it’s not, but the USB ports can not be controlled.
Power Strip reports combined power/energy
Outlets report power/energy
Keeps history of low and high power values
The Power Switch device can turn on/off all outlets at the same time or you can choose a delay to use between them.
No, but I wrote one for v1 a long time ago. The only catch is that there’s a SmartApp that needs to also be installed for the old DTH because I wrote it before SmartThings supported child devices in DTHs.
Also VER.1 is not configurable as the new device and it should have native support from SmartThings (added around a year ago). There’s no way to update VER. 1 to VER. 2 because of hardware differences so you couldn’t benefit from the handler using VER. 1.
It won’t for now since there seems to be a bug in the ST firmware that prevents some multi-channel devices to include. Until that bug is addressed, you need the handler and the workaround. We’re also trying to see if we can adjust the firmware for the ZEN20 for it to include normally. Official integration is still a few months away since it takes a while these days.
I luv how param 26 and 27 can be set right on the strip, nice. Also that you included the screws and holes to mount vertical or horizontal (vertical with the cord pointing down would have been nice).
I have a couple of the older strips without power monitoring and this is the one feature that kept me going to the Aaon Labs Strip even though it only had 4 controllable plugs at the same price.
This is needed and should be a great hit! I will be picking up a couple of these as well!
It’s already linked to github. It’s krlaframboise and SmartThings
If you open the individual outlets you can rename them, but at this point I don’t plan on adding a way to rename the component labels shown in the parent device.
I have ran into problems when the canChangeIcon attribute was set to true in the past, but it’s been a while so I’ll re-test and if it doesn’t cause any problems I’ll enable it.
I’ve run into that before, but those zw device entries near the top usually include the device network Id value that you’re looking for so that specific event isn’t necessary.
There are multiple ‘zw device’ events and all seem to have different ids.
It would be nice if the workaround was updated with screenshot or at least mention which zw device event to pull the id from. I’m seeing 8 zw device events
I removed 3-6 times, I lost count actually. not once did I see zw join event. Anyway for those users that come across this issue, they’ll know where to look for to get the id.
if the documentation had just only one screenshot it should be the screenshot where the zwjoin event shows the id number for step 12. It would be tremendously helpful.
So far so good, looks like a comprehensive device - lots of options available.
Couple of bugs though:
Renaming a child outlet works (i.e. ‘TV’) works but the name doesn’t get updated in the parent view. Still shows as ‘CH 1’. … ok, I just saw above that you’re not planning on fixing that.
The USB ports shown in the parent view can be toggled and unfortunately they seem tied to the first two the first two power outlets. That is, clicking on USB1 toggles CH1, when I don’t believe anything should happen at all.
This isn’t a bug, but since multiple users have requested it I’ll add a setting that enables the automatic renaming.
Thanks for pointing this out.
I originally used the built-in simulated switch handler as the child which didn’t cause it to toggle CH1 and CH2, but it displayed switch icons instead of outlet icons so I changed it to the built-in zooz outlet handler.
It appears that handler is causing the USB ports to toggle CH1 and CH2 and it’s also preventing the USB ports from displaying in the new mobile app.
I think I’m going to create a 3rd handler for the USB ports that display an outlet icon and don’t display as buttons so that they can’t be toggled. If users opt not to install the 3rd handler then it will use the built-in simulated switch handler which will show switch icons, but at least tapping them won’t cause them to toggle CH1 and CH2.
I won’t be making these changes until tonight so if anyone can think of a better solution to the USB port issue or has any other suggestions, please let me know before tonight. @TheSmartestHouse