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

Developers · Home Assistant

Home Assistant Cellular Smart Plug: REST API, No Wi-Fi Needed

Remote power control in Home Assistant that keeps working when your local network doesn't.

Logmor talks to the cloud over its own 4G LTE connection — so your automations can still reboot a frozen router or switch a heater at a property with no Wi-Fi.

  • rest_command
  • REST sensors
  • Template switch
  • Works without local Wi-Fi

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

Why Home Assistant Users Choose Logmor

Cellular, Not Local

Works when Wi-Fi, Zigbee, or Z-Wave at the property is down — or doesn't exist. Commands go over LTE through the cloud API.

Simple REST API

Standard HTTPS calls with a bearer token. No per-call fees. Works with rest_command and the REST switch platform.

Control + Sensor Data

On, Off, and a one-tap 30-second Power Cycle, plus signal strength, uptime, and internal temperature.

Before you start

Your device ID and API access token are in your Logmor portal at device.logmor.com. Put the token in secrets.yaml as shown, and replace YOUR_DEVICE_ID in the URLs.

1Commands: On, Off, and Power Cycle

# secrets.yaml
logmor_bearer: "Bearer YOUR_ACCESS_TOKEN"

# configuration.yaml – commands: On, Off, and 30-second Power Cycle
rest_command:
  logmor_on:
    url: "https://api.particle.io/v1/devices/YOUR_DEVICE_ID/control"
    method: post
    headers:
      Authorization: !secret logmor_bearer
    content_type: "application/x-www-form-urlencoded"
    payload: "arg=1"
  logmor_off:
    url: "https://api.particle.io/v1/devices/YOUR_DEVICE_ID/control"
    method: post
    headers:
      Authorization: !secret logmor_bearer
    content_type: "application/x-www-form-urlencoded"
    payload: "arg=0"
  logmor_power_cycle:
    url: "https://api.particle.io/v1/devices/YOUR_DEVICE_ID/control"
    method: post
    headers:
      Authorization: !secret logmor_bearer
    content_type: "application/x-www-form-urlencoded"
    payload: "arg=PowerCycle"

2Sensors: relay state, temperature, signal, and uptime

# configuration.yaml – one poll of /Data feeds all sensors
rest:
  - resource: "https://api.particle.io/v1/devices/YOUR_DEVICE_ID/Data"
    headers:
      Authorization: !secret logmor_bearer
    scan_interval: 900
    sensor:
      - name: "Logmor Relay"
        value_template: "{{ (value_json.result | from_json).RelayStatus }}"
      - name: "Logmor Internal Temperature"
        value_template: "{{ (value_json.result | from_json).TMP }}"
      - name: "Logmor Signal Strength"
        value_template: "{{ (value_json.result | from_json).CellStrength | round(0) }}"
        unit_of_measurement: "%"
      - name: "Logmor Uptime"
        value_template: "{{ (value_json.result | from_json).UpTime }}"
        unit_of_measurement: "s"

3An on/off switch for your dashboard

# configuration.yaml – an on/off switch built from the commands and the relay sensor
switch:
  - platform: template
    switches:
      logmor_outlet:
        friendly_name: "Logmor Outlet"
        value_template: "{{ is_state('sensor.logmor_relay', '1') }}"
        turn_on:
          - action: rest_command.logmor_on
          - delay: 3
          - action: homeassistant.update_entity
            target:
              entity_id: sensor.logmor_relay
        turn_off:
          - action: rest_command.logmor_off
          - delay: 3
          - action: homeassistant.update_entity
            target:
              entity_id: sensor.logmor_relay

Use rest_command.logmor_power_cycle in any script or automation for a one-tap 30-second reboot. Restart Home Assistant after editing configuration.yaml.

Polling tip: scan_interval: 900 refreshes the outlet's state every 15 minutes — plenty for dashboards, and commands still go through instantly (the switch refreshes itself right after each command). Polling every few seconds isn't needed and may be throttled under fair use.

Automation Ideas

Self-healing internet

Reboot the modem automatically when a ping sensor reports the internet is down for 10 minutes.

Freeze protection

Turn on a cabin heater when the weather forecast drops below freezing.

Engine block heater

Turn on a truck's block heater from a calendar event two hours before you leave.

Signal alerts

Alert yourself when the outlet's signal strength drops.

Also Works With

The same REST API works with any platform that can make an HTTPS request, including Node-RED, openHAB, Hubitat, IFTTT (Webhooks), Zapier, Make, n8n, and Microsoft Power Automate — or a script an AI assistant writes for you. These are compatible through the REST API; Logmor is not an officially certified integration for these platforms.

FAQ

Does it work without the cloud?

No — commands travel over LTE through the cloud API. That's what lets it work at properties with no local network at all.

Are there API rate limits?

There are no per-call charges. Polling every 15 minutes or so is fine; polling every few seconds may be throttled under fair use.

Can I use Node-RED, openHAB, or my own scripts instead?

Yes. Anything that can make an HTTPS request works.

What does it cost?

$169.99 for the outlet plus shipping ($10 US, $20 Canada; ask us about Mexico). Service — all the LTE data the outlet needs, the portal, and the API — is free for 14 days, then $15/month per outlet. No contract; cancel online anytime.