Black Friday: 15% off 2 or more outlets with code BLACKFRIDAY15 · Through Nov 30 →

Developers · Zapier & Globalping

Automatic Modem Reboots with Globalping, Zapier and a Cellular Smart Outlet

Reboot the modem automatically when the internet goes down.

Globalping checks your connection, Zapier decides when to act, and the Logmor outlet power-cycles the modem or router over its own 4G LTE, with no one on site and no code to write.

  • Globalping
  • Zapier
  • PowerCycle API
  • No code

$169.99 device · First 14 days of service free · Then $15/month · No contract

What You Need

Cellular Smart Outlet with API

A smart outlet that accepts RESTful API commands for remote control.

Globalping API

A network monitoring API that detects downtime and performance issues.

Zapier

An automation platform that connects different services via APIs.

Modems, Routers, or Other Devices

The hardware that requires automated reboots.

1Install and Configure the Cellular Smart Outlet

  1. Set Up the Outlet: Plug the smart outlet into a power source and connect it to the device you want to reboot.
  2. Activate and Configure: Visit the Logmor Device Management Portal to activate the outlet, then open Cloud API and click Generate Token. The API guide has copy-paste examples.

2Access Globalping API

  1. Sign Up and Obtain Credentials: Register on Globalping.io to access its API.
  2. Identify Relevant Metrics: Use API endpoints to monitor key network conditions such as:
    • Downtime: No response from a device.
    • High Latency: Ping response time above 100ms.

3Configure Zapier for Workflow Automation

  1. Create a Zapier Account: Sign up on Zapier and explore its automation interface.
  2. Set Up Triggers and Actions:
    • Trigger: Monitor Globalping metrics (e.g., latency >100ms).
    • Action: Send the power-cycle command to the smart outlet, which turns it off for 30 seconds and back on.

4Build the Workflow

  1. Trigger: Network Condition Monitoring
    Schedule regular API calls to Globalping via Zapier to check network status.
  2. Condition: Threshold for Reboot
    • Downtime: No response for X seconds.
    • High Latency: Above 100ms.
  3. Action: Device Reboot via Smart Outlet
    One API call: send arg=PowerCycle to the outlet's control function. It turns off for 30 seconds, then back on by itself.
    (Outlets with firmware v7 or later. On older firmware, send arg=0, wait 10 seconds, then arg=1.)

5Test and Monitor

  1. Simulate Network Conditions: Use mock data from Globalping to verify Zapier triggers and smart outlet actions.
  2. Deploy and Monitor: Activate live API monitoring and observe automatic device reboots during network issues.

Benefits of Automated Device Reboots

  • Seamless Internet Connectivity: Reduce downtime by automatically restarting modems and routers.
  • Hands-Free Network Maintenance: No need for manual intervention during network failures.
  • Improved Network Performance: Eliminate high-latency issues with proactive reboots.

Related Guides

Final Thoughts

By integrating a cellular smart outlet, Globalping API, and Zapier, you can automate network troubleshooting and ensure a stable internet connection. This simple yet effective setup minimizes disruptions and optimizes your network performance.