Heya all,
Here’s the handler for the Tuya TS0115 Power Strip Handler, it’s fully functional so it means it also has control over the USB ports ![]()
It does not have nor expose voltage/power/energy/temp, so it only has on/off functionality.
You’ll need to install the following both handlers for it to work:
Parent handler:
https://raw.githubusercontent.com/cristianhares/smartthings/main/devicetypes/chares/tuya-zigbee-power-strip.src/tuya-zigbee-power-strip.groovy
How to install the device handler:
1.- go into the SmartThings Groovy IDE: SmartThings IDE
2.- go into the tab 'device handlers’
3.- Click on the upper right button '+ Create New Device Handler’
4.- Select the tab ‘From code’
5.- Copy the previous link’s code in there.
6.- Click on the ‘create’ button.
7.- on the upper right corner, click on the ‘save’ button, and then, click on the ‘publish’ button, and select ‘for me’
Screenshot:
