I contemplated a solution that used a timer to simply turn the power off/on at midnight, but this wasn't an elegant solution since it would lead to unnecessary outages, extra wear and tear, and also would lead to a potential maximum outage of over 23 hours if the outage occurred immediately after a reset.
I also contemplated some fixed-line phone based solutions such as this one or this one, but my entire home is on VoIP so when the network is down, I can't dial-in either. Also, international calls on a mobile phone are expensive, but SMS messages are not.
So, my objective became an ability to remotely switch a device on/off from anywhere in the world using an SMS sent from my mobile phone (which I always carry with me).
I essentially needed to combine three distinct items:
- A device to receive SMS messages and send a command to item #2
- A device to safely turn the power on/off to a 240V AC device
- An inexpensive mobile phone plan for a device to receive SMS messages
Item 1 - SMS receiver / Processor
A Google search came up with some very expensive industrial/enterprise grade solutions such as this and this. There are also some completely DIY solutions such as this one but it requires a specific model of Ericsson phone. I also found a few cheaper "kits" such as this and this which required a specific model of Nokia phone. My view is that having an old mobile phone in the solution just adds another point of failure.

Item 2a - Trigger-based Power Switch (Cheap Option)

Item 2b - Trigger-based Power Switch (Easy Option)

Item 3 - Cheap Long Expiry Phone Plan
This whole project is useless without a phone service to access the device. Phone companies (at least those here in Australia) typically want you to sign up for some sort of monthly plan or a pre-paid service with credit that expires in 30 days. After scouring all the major providers, I found that Vodafone currently offers a 365-day prepaid plan which works perfectly! Basically for $20 you get a phone number to receive SMS messages - that's all you need. Incidentally, there is also such a company called iSIM which offers a $10 recharge which lasts 186 days (with 186 day extension for receive-only).
Conclusion
So I put all the pieces together this weekend and it works perfectly! In fact with this setup I can arbitrarily control any 3 devices in the apartment just with my phone. It also has inputs so I can later do some fancy stuff like notifying me if the router is down (with a photodiode on the router's LINK light), etc. My assembled device also has LEDs to tell me the status of the three Rhino TSMS outputs. I found this neat site to help me figure out the right current-limiting resistors to use for the LEDs.
Good blog lots of info, you could have used the GSM-AUTO gsm remote control switch, it has built in relays that can switch 230V, just google www.gsm-auto.com
ReplyDeleteBeen looking for something to reboot a locked up router myself this afternoon.
ReplyDeleteThis seems a much better option. Continually pings a known address. If a reply is not heard it will power cycle the errant device.
http://www.digidave.co.uk/jshop/product.php?xProd=293
Have a look at this an out of the box solution
ReplyDeletehttp://www.quantekshop.co.uk/gsm%20gate%20controller.html
I find www.alarmagsm.co.cc with gsm products.Profesional products
ReplyDelete