SmartThingsPublic icon indicating copy to clipboard operation
SmartThingsPublic copied to clipboard

Update sonoff-wifi-switch.groovy

Open mattPiratt opened this issue 6 years ago • 1 comments

This patch is adding IP address to config panel, because it happened to me that after 2 weeks of using this DTH the IP changed to 0.0.0.0 by itself. It just happened. With this patch, You can set back IP in Device settings in SmartThings App->Things. Otherwise, You would have to add this Device again, and then binding newly added Device with many Routines and SmartApps again.

mattPiratt avatar Sep 23 '18 18:09 mattPiratt

Is this so you can set a static IP through the device settings ? I've recently added a SonoffTH that changes its IP to 0.0.0.0 and I've read someone else who it's also happening to and he's deleted all the code from the smartapp and it's stopped doing it.

steveuk23 avatar Oct 23 '18 15:10 steveuk23