I have a Sonoff remote control power socket, and find that the eWeLink app drains my phone's battery very quickly. Is there a way of controlling the socket over the internet using a web GUI instead of the eWeLink app?
Download an android emulator like bluestacks & install ewelink app on it is the only way I could do in on a windows pc if thats any help
I've controlled mine via IFTTT website. I can open any web browser, paste the web address with event and presto.
Use webhooks on IFTTT website. Build applets for on and off. Create a local web page on your computer that loads the webhooks url into an inline frame when you click a link for on or off. This is working for me.
Keep the web page on your local computer to protect your webhooks key. If you want to place it on a public site, use PHP or other server side language to hide it.
Another method, as described above, is create bookmarks in your browser with the webhooks urls required to turn the switch on or off. Then you can click in the bookmark in your browser to do the job.
Perfect - many thanks!
Hello E W.
As i not familiar with IFTTT Could you please explain the sentence: " ...that loads the webhooks url into an inline frame... "
In html you create an inline frame on a web page. Then create links on the page to load webhooks url execution results into the frame. The result is that webhooks sends the command to the applets and the reply from the process appears in the frame.
Here is a snippit of html code that creates the iframe and shows an example link.
<iframe id="I1" name="I1" src="http:/yoursite.com/weblinks.php" title="Results" width="100%" style="height: 80px" > </iframe>
---link---<a href="http://yoursite.com/weblinks.php?weblink0=fan_off" target="I1">Fan OFF</a>