I reflashed the Wheswell ZLD-44USA-W Wifi Power Strip that is available from Amazon https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1.
Remote controlled power strips are pretty common, but I have not seen many remote control of USB power.
I installed Tasmota that allows for remote control via HTTP or MQTT. Seven of the eleven GPIO of the ESP8266 were used for control and status. The configuration I used is shown in the attachment. Relay 1 (inverted) is setup as a master and Relay 2 through 6 are used for mains and USB control. Each has a LED for local feedback that is wired in parallel with its relay. From console "poweronstate 3" was setup so power state of the plugs is maintained after power cycles.
While I was exploring the GPIO configuration I put the unit into an unbootable state so I opened it up and found flashing via serial straightforward. The digital card was well labeled and access to the necessary pads was easy. Not as easy as a Sonoff with header pins, but solder connections were on the circuit card edge so easy to tack on some wires for the serial connection. Now that I have identified the configuration nobody else that is interested in this unit will need to go through the same steps. Just a OTA firmware update per instructions in Section 14.12 of http://mcsSprinklers.com/mcsMQTT.pdf.
I was surprised as the amount of electronics that existed on the USB power circuit card. It looked pretty hefty Nothing like the little cubes one uses that comes with smartphone or other small electronics that are powered via USB.
Remote controlled power strips are pretty common, but I have not seen many remote control of USB power.
I installed Tasmota that allows for remote control via HTTP or MQTT. Seven of the eleven GPIO of the ESP8266 were used for control and status. The configuration I used is shown in the attachment. Relay 1 (inverted) is setup as a master and Relay 2 through 6 are used for mains and USB control. Each has a LED for local feedback that is wired in parallel with its relay. From console "poweronstate 3" was setup so power state of the plugs is maintained after power cycles.
While I was exploring the GPIO configuration I put the unit into an unbootable state so I opened it up and found flashing via serial straightforward. The digital card was well labeled and access to the necessary pads was easy. Not as easy as a Sonoff with header pins, but solder connections were on the circuit card edge so easy to tack on some wires for the serial connection. Now that I have identified the configuration nobody else that is interested in this unit will need to go through the same steps. Just a OTA firmware update per instructions in Section 14.12 of http://mcsSprinklers.com/mcsMQTT.pdf.
I was surprised as the amount of electronics that existed on the USB power circuit card. It looked pretty hefty Nothing like the little cubes one uses that comes with smartphone or other small electronics that are powered via USB.
Comment