Nice script. You could also do the same thing a Sonoff wifi switch (if you don’t have this particular modem). The URL is similar “http://192.168.100.1/reboot ”. Looks like you would only need to change the wget url in the script to the different url.
[image]
2017_10_04 Update: If the flashing method in this first post does not work for your device, try the method mentioned in this post:
2017_05_10 Update: Sonoff Dual - Firmware and device handler and child device handler . Flashing info here . Sonoff 4CH - Firmware and device handler and child device handler .
2017_01_21 Update: Release of firmware and SmartApp updates for the Sonoff Touch and Sonoff S20 . Picture for flashing Sonoff Touch in this post .
2016_10_14 Update: I have been playing with the Sonoff TH (16 Amp Version) and am finished with a SmartThings capable firmware for it. This device has a 10 & 16 Amp version and support for a temperature sensor attachment. The device handler supports both temperature and humidity. Here is the firmware & here is the device handler . You …