Community discussions

MikroTik App
 
User avatar
jspool
Member
Member
Topic Author
Posts: 469
Joined: Sun Oct 04, 2009 4:06 am
Location: Oregon

Remote Reboot & Power Status

Sun Sep 24, 2017 12:54 am

At some point I always have to make a run to a site to deal with hardware thats locked up. That could be a PTP link or a Comcast, Charter modem or router. So I figured I needed to see what could be done to minimize the trips for simple reboots.

First off I wanted to do at least three things.
1. To detect power failure at remote site.
2. The ability to reboot Modem, Back Haul radios etc.
3. To be controlled via Mikrotik scripts and SSH.

I looked and really couldn't find anything that really fit my needs. So that means time to make it!

Particle Electron 3G, External antenna, LiPo battery allows it to alert me to the power outage (otherwise no power no alert)
Particle shield.
Relay board from a PowerSwitchTail. (I soldered it into the normally closed position so that the relay only activates to break the circuit.
DC jack to power & charge Electron and also act as a power source monitor. (When DC is lost it triggers the GPIO)
Particle devices come with a $2.99 per month data service that covers 1MB of data. Its UDP and that allows for a heck of a lot of queries or alerts. It has tons of available GPIO pins so you could add additional relays or temp sensors etc.
The LiPo last about a day on its own. You can get larger ones and also limit the power usage in code.

I also use locking DC plugs so idiots don't accidentally unplug it.

The Mikrotik devices can use the new tool fetch features to control the unit. You have to code the Electron of course to whatever feature set you desire. I build a simple On, Off, Reboot command set. And then you can hook it up to pushover.net or Amazon SNS etc.

Currently it sends me a SMS and Pushover notification when power goes out. I can SSH into it or have a Mikrotik control it through the particle API using fetch.

Image

Image

Image

Image


I also made a mini version for locations without racks. It utilizes an external PowerSwitchTail for outlet control.
Image
 
gotsprings
Forum Guru
Forum Guru
Posts: 2118
Joined: Mon May 14, 2012 9:30 pm

Re: Remote Reboot & Power Status

Sun Sep 24, 2017 8:11 pm

Must have not looked that hard.

I have been using these for coming up on a decade now.

https://dlidirect.com/products/web-power-switch-7

Interesting project thou.
 
User avatar
jspool
Member
Member
Topic Author
Posts: 469
Joined: Sun Oct 04, 2009 4:06 am
Location: Oregon

Re: Remote Reboot & Power Status

Sun Sep 24, 2017 9:53 pm

Must have not looked that hard.

I have been using these for coming up on a decade now.

https://dlidirect.com/products/web-power-switch-7

Interesting project thou.
Perhaps you didn't read it closely. Mine is not Ethernet or WiFi. Integrated global 3G modem. How many Cellular PDU's have you seen?
 
gotsprings
Forum Guru
Forum Guru
Posts: 2118
Joined: Mon May 14, 2012 9:30 pm

Re: Remote Reboot & Power Status

Sun Sep 24, 2017 10:18 pm

You are correct... I don't think I read it closely enough. I stopped right at "Time to Make It."

But...
The webpower switch... Reboots locked up devices using autoping. Accepts commands from the Mikrotik as "get" commands.

As for putting a cellular modem on it...

Would it not make more sense to put that on the router? So it can be used when the main is down?
 
User avatar
jspool
Member
Member
Topic Author
Posts: 469
Joined: Sun Oct 04, 2009 4:06 am
Location: Oregon

Re: Remote Reboot & Power Status

Sun Sep 24, 2017 10:31 pm

For me its a cheap way to mass deploy as the cost is only $2.99 per month. I have Sierra Wireless AirLink ES450 units and they are awesome. But at $500 a pop and then adding to cellular plan for each location it gets costly. Also it has a LiPo battery that allows it to actually be "on" during power failures so it can actually send and receive data. The particle devices are not designed to give you Internet through the devices. Its for data acquisition or GPIO control. For around $200 in parts its pretty versatile.
As you stated traditional modems totally have their place and I utilize the ES450 modems for custom SDWAN applications using Mikrotik routers. Pretty cool to not even drop a VoIP call when primary Internet goes down and it switches to secondary.
 
gotsprings
Forum Guru
Forum Guru
Posts: 2118
Joined: Mon May 14, 2012 9:30 pm

Re: Remote Reboot & Power Status

Sun Sep 24, 2017 11:14 pm

Webpower switches were $125 untill the chip manufacture raised the prices.

When this comes out...
https://mikrotik.com/product/wap_lte_kit_us

That would be a mainstay of my systems... Providing it doesn't suck.
 
User avatar
jspool
Member
Member
Topic Author
Posts: 469
Joined: Sun Oct 04, 2009 4:06 am
Location: Oregon

Re: Remote Reboot & Power Status

Sun Sep 24, 2017 11:25 pm

I also am very interested in the LTE offering. I assume as long as they keep up on development and bugfixes the support for the modem should be acceptable. Its nice that it supports 3G fallback as well. If the modem sucks I suppose we could get one without the modem and add our own providing they support it. I got a custom Dell laptop and it has the Qualcomm Snapdragon X7 LTE-A (DW5811e) Verizon. I really like that modem. It will be interesting to see.
 
gotsprings
Forum Guru
Forum Guru
Posts: 2118
Joined: Mon May 14, 2012 9:30 pm

Re: Remote Reboot & Power Status

Mon Sep 25, 2017 4:17 am

Cradlepoint cba-850-NA-6 are $675

Getting a 4G modem I can mount outside for $100. Gotta get that in for testing!
 
User avatar
jspool
Member
Member
Topic Author
Posts: 469
Joined: Sun Oct 04, 2009 4:06 am
Location: Oregon

Re: Remote Reboot & Power Status

Mon Sep 25, 2017 4:23 am

If it performs it will be quite the game changer in that overpriced market.

Who is online

Users browsing this forum: No registered users and 40 guests