ControlZ Lightning Monitor plugin icon
ControlZ Lightning Monitor Free plugin for HomeSeer HS4

Live lightning in HomeSeer HS4

ControlZ Lightning Monitor brings live lightning data from Lightning Monitor, ControlZ's own Mac app for Boltek LD-350 and LD-250 detectors, into a HomeSeer HS4 hub through the app's read-only local API. One status-only HomeSeer device reports strike rates, the last and nearest strike, storm cells and the detector's Close and Severe alarms, updated as strikes happen.

No cloud is involved: the hub reads the Mac on your home network, and the plugin can't change Lightning Monitor or the detector.

Version 1.0.0.8 · Ready to submit to the HomeSeer Plugin Store · Free · HS4 4.2 or later on Windows and Linux

Store status

ControlZ Lightning Monitor is ready to submit to the HomeSeer Plugin Store. The store build is staged but hasn't been submitted yet, so it can't be downloaded.

  • Store build: version 1.0.0.8 is staged in the store kit.
  • Price: free, permanently. No licence key and no paid tier.
  • Before submission: Lightning Monitor itself is in TestFlight beta. Its public download link will be added to the store requirements before the plugin is submitted.
  • Beta testers: a ControlZ lab package is available on request during the beta.
  • Read-only: the plugin cannot change Lightning Monitor settings.

How it works

From detector to HomeSeer Events

The Boltek detector feeds Lightning Monitor on the Mac. The hub reads Lightning Monitor's local API and turns it into one HomeSeer device.

  1. Turn on the local API

    In Lightning Monitor open Settings › Integrations › Local API, turn on Serve a local API and click Generate to create a token. The API is off until you do this.

  2. Connect the hub

    Enter the Mac's host name, port 8787 and the token in the plugin's Settings, then click Save & connect.

  3. The device appears

    On first contact a Lightning Monitor device appears on floor Lightning Monitor, room Weather, with the Sensors and ControlZ categories.

  4. Every strike, live

    The live event stream updates HomeSeer as each strike happens, and a full state read every 60 seconds corrects counts and covers any gaps.

Features

Lightning you can automate on

Every value is a native HomeSeer feature, ready for ordinary value-change Events.

⚡

Strike rates

Strikes, close strikes and noise per minute, plus the number of strikes today.

🎯

Last strike

Distance, bearing, compass direction (N to NNW), type (−CG, +CG, −IC or +IC) and time, updated the moment Lightning Monitor reports a strike.

🌩️

Nearest strike and storm

Distances to the nearest strike and storm, the number of storm cells, and the nearest storm's intensity (Very weak to Severe) and trend.

🚨

Close and Severe alarms

Alarm / Clear features that follow the detector's close and severe alarms.

🔌

Detector connected

Know when the detector or the Mac has dropped off. The device summary says so too.

🧠

HomeSeer Events

For example "announce when lightning is close" or "unplug the pool pump when the severe alarm sounds".

📝

One-line summary

The device shows a short summary such as "12 strikes/min · nearest 19.3 km", or "Detector disconnected" or "Unreachable" when something is wrong.

🖥️

Home page

A live table of every feature and the connection status, with Reconnect and Repair HS devices.

✅

Test Connection

Checks the address and token without changing the running connection. A wrong token, the API being off and an unreachable Mac each get a plain message.

🔁

Quiet recovery

Reconnects back off from 5 seconds to 5 minutes, and each distinct problem is logged once rather than filling the HomeSeer log.

🩹

Self-healing device

The device is keyed on Lightning Monitor's permanent instance id, so it survives address changes. Missing features are re-added on start.

📱

ControlZ app

The Sensors and ControlZ categories mean the ControlZ Export plugin can show the device in the ControlZ app through your own hub.

🔒

Your location stays private

Lightning Monitor's local API never includes the station position, so HomeSeer only ever sees bearing and distance.

Compatibility

Supported hardware and data source

The plugin reads Lightning Monitor; it doesn't talk to the detector itself.

HomeSeer HS4 Hub

  • HS4 4.2 or later on Windows or Linux (Mono); the same package serves both.
  • Running on ControlZ's Linux lab hub. Windows hub reports are welcome.
  • Files only inside the HomeSeer folder; settings in Data/CzLightning/registry.json.

Lightning Monitor Data source

  • Lightning Monitor on a Mac with macOS 15 or later, currently in TestFlight beta.
  • Local API turned on with a token generated, on port 8787 by default.
  • Verified against Lightning Monitor with a simulated storm. Real-storm reports are welcome.

Boltek detector Hardware

  • LD-350 or LD-250, connected to Lightning Monitor.
  • An LD-250 reports no strike types, so Last strike type stays unclassified.
  • Testing with real detectors during the beta is the most valuable help.

Licence Free

  • Free, permanently, with no paid tier.
  • No licence check: HomeSeer "license not required".
  • No account, no subscription and no ControlZ server.

In HomeSeer

One device, 17 features

A status-only Lightning Monitor device with no controls. Values of −1 or 0 mean "none" where noted.

Detector connected

100 Connected or 0 Disconnected.

Close alarm, Severe alarm

100 Alarm or 0 Clear, for Events on alarm changes.

Rates and counts

Strikes, close strikes and noise per minute; strikes today; storm cells.

Distances

Last strike distance, nearest strike and nearest storm, in kilometres (−1 = none).

Bearing and direction

Last strike bearing in degrees (−1 = none) and direction from 1 N to 16 NNW (0 = none).

Strike type and time

Type 1 −CG, 2 +CG, 3 −IC or 4 +IC (0 = unclassified or none). Time in Unix seconds, shown as the hub's local date and time; it changes on every strike.

Nearest storm

Intensity from 1 Very weak to 6 Severe, and trend 1 weakening, 2 steady or 3 intensifying (0 = none).

Screenshots

Store artwork

The image prepared for the HomeSeer Plugin Store listing.

Screenshots of the plugin's Home and Settings pages haven't been captured yet. The store artwork is a storm cloud and lightning bolt drawn by ControlZ. For the app itself, see the Lightning Monitor screenshots.

ControlZ Lightning Monitor store artwork: a storm cloud with a lightning bolt, captioned Free and Plugin for HS4

HomeSeer Plugin Store image

The artwork staged with the store kit.

HomeSeer Plugin Store · 500 × 500

Technical details

How the plugin reads Lightning Monitor

Three read-only requests to the Mac on your network. Nothing else.

🔌

Local API

GET /api/v1 for the instance id and app version, GET /api/v1/state for a full snapshot, and GET /api/v1/events for the live event stream. State and events need the token as a Bearer header.

⏱️

Timing

A state read at start and every 60 seconds. The event stream sends state every 15 seconds, plus strike, alarm and detector messages as they happen. No data for 60 seconds counts as a dead connection.

🧠

Example Events

Close alarm becomes Alarm: announce, flash a light or unplug equipment. Last strike time changes: runs on every strike. Nearest storm in the range 0 to 20: a storm within 20 km.

🔐

Token and privacy

The token is stored only on your hub and never shown back on the Settings page; leave the field blank to keep it. Generate a new one in Lightning Monitor to revoke it. No telemetry, no cloud and no inbound ports on the hub.

📏

Limits

Read-only, so no settings or alarm changes from HomeSeer. One Lightning Monitor installation per hub. You type the Mac's host name or address; there is no discovery yet. No strike map or coordinates.

🌐

Network

Plain HTTP on your local network to the Mac you name, with the token in the Authorization header. The hub needs no internet access for this plugin.

Requirements

What you need

A Lightning Monitor station and a HomeSeer hub on the same network.

  1. A HomeSeer HS4 hub

    HS4 version 4.2.0.0 or later, on Windows or Linux.

  2. Lightning Monitor on a Mac

    With Local API turned on and an API token generated.

  3. A Boltek detector

    An LD-350 or LD-250 connected to Lightning Monitor.

  4. Network access

    The hub must be able to reach the Lightning Monitor Mac, on port 8787 by default.

Setup

Install and connect

Once listed, the plugin installs from the HomeSeer Plugin Store. During the beta the same package installs from a ControlZ lab package.

  1. Generate a token

    In Lightning Monitor: Settings › Integrations › Local API, turn on Serve a local API and click Generate. The token is copied to the clipboard.

  2. Install and enable

    In HS4 open Plugins → Add, search for "ControlZ Lightning Monitor" and install it, then enable it in Plugins → Manage.

  3. Enter the connection

    Open Plugins › ControlZ Lightning Monitor › Settings, enter the Mac's host name (for example your-mac.local), port 8787 and the token, then click Save & connect.

  4. Watch and automate

    Open Home to watch the values, then build an Event, for example announce when Close alarm becomes Alarm.

Interested in ControlZ Lightning Monitor?

The plugin is ready to submit to the HomeSeer Plugin Store and will be free. Use the contact form to ask about the beta or to be told when the listing goes live. To try Lightning Monitor itself, ask to join its TestFlight beta on the app page.

Boltek, LD-350 and LD-250 are trademarks of their owner and are named only to describe compatibility.