![]() ![]() Anyway I have an app that runs a little local server to the wemo that also responds to Tasker. ![]() Then I can have back my IP telephony (requiring the modem on) when arriving at home and until going to bed. It was something I didnt admittedly think through. Next project will be to set up openHAB on a Raspberry Pi (for starters) and try to teach it when at least one person is at home. On the other hand, it might actually save the day, if the first packet is lost (WeMo is on Wi-Fi). However, this shouldn’t really cause any problems if it’s already turned on. # Turn on WeMo when WAN is down, hoping for WAN2.Ĭurl -d '1' -H 'SOAPACTION: "urn:Belkin:service:basicevent:1#SetBinaryState"' -H 'Content-Type: text/xml charset="utf-8"' -X POST Īfter switching over to WAN 2, DNS will still be unavailable for a while – and yes, this method will try to turn on the WeMo over and over again. to Tasker What I did is install the AutomationManager app (formerly known as WemoManager). So in Administration/Scheduler I added this custom script to run every minute: I decided to ping the DNS server to check if I’m connected to the internet, and to do this once a minute. What I wanted to do was having my router turn on the modem for WAN 2 when WAN 1 is down. Since my Tomato router firmware (by Shibby) comes with curl preinstalled, controlling WeMo from the router is not a problem. Socket: The socket is a Schuko socket, which is problematic for the Danish market, since you cannot plug in the traditional Danish flat and round connectors – they physically don’t fit in.Power consumption: When the relay is off, it consumes approx.Half an hour later I had a working curl command to turn it on or off, as well as a working Tasker configuration using RESTask for Tasker, which I just found for the job (since Tasker doesn’t seem to support setting custom headers in HTTP POST requests).īefore jumping to my first project/solution, a few words on the hardware: After this I searched the net for API’s and alternate ways to control it. Making it easy to quickly hire tech experts for hardware engineering projects. Our global on-demand talent platform was made by and for engineers. After connecting the switch you have to install the 33 MB app from Belkin to get it up running. Tasker Global Talent Platform for Freelance Engineering Experts The smarter way to match engineering tasks and talent Discover a new flexible way to get engineering work done. However, I’m the unlucky owner of a Thomson modem from the Danish ISP Stofa, and this thing consumes about 12.4 W, so I’ve been wanting to do something about that for a while, since I’m only using it for my backup internet connection (WAN 2) and for IP telephony. For Android smart phone user,you can use the tasker plugin app to bridge the. Also, I read in some specifications that it was consuming a considerable amount of energy itself. and more with compatible connected devices from WeMo, Philips Hue. It’s a kind of expensive gadget, considering how clumsy it is and that all it can do is turn one thing on or off. I finally couldn’t resist getting my hands on a WeMo Insight Switch anymore. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |