About
Home Automation Stack
LightwaveRF + ESP32 • Lights + Oil Tank Level

Modern home automation
with LightwaveRF + ESP32

A practical, resilient setup: LightwaveRF handles reliable mains lighting control, while an ESP32 adds local intelligence—sensors, automation logic, and integrations—without needing a full server 24/7.

ESP32 Wi-Fi + BLE LightwaveRF lighting ecosystem MQTT/HTTP integration-ready Local-first & cloud-optional

What this setup delivers

simple • expandable • maintainable
Lighting control
Instant + familiar
Keep normal switches; add scenes, schedules, and presence rules.
Oil management
Level → alerts
Track % remaining, predict runout, and notify before it’s urgent.
Integration model
API-friendly
Publish readings/commands via MQTT or simple REST endpoints.

Reference Architecture

local network + optional cloud
Home Network LightwaveRF ESP32 Edge Devices Wi-Fi Router LAN • DHCP • QoS Controller MQTT / Home Assistant Lightwave Hub Scenes • Schedules Lights Dimmers • Switches ESP32 (Lighting Bridge) Commands • State sync ESP32 (Tank Monitor) Ultrasonic/pressure → % Notifications Push • Email • SMS
LAN / Wi-Fi Commands + automation Lighting ecosystem Alerts + thresholds

Design choices

why this works well
  • Local-first control

    ESP32 logic continues working even if the internet is down.

    resilience
  • Cloud optional

    Use HA/MQTT for dashboards and rules, but keep critical paths local.

    integrations
  • Sensor isolation

    Tank monitoring is its own node; swap sensors without breaking the UI/alerts.

    modularity

Mini dashboard

Blazor events (no JS)
Kitchen LightwaveRF dimmer
Hall LightwaveRF switch
Lounge Scene: Movie
Outside Dusk → Dawn rule
Oil tank 56% • est. 620L
Sensor: ultrasonic Status: good Updated: just now

Event log

[boot] dashboard ready

Where the real integration goes

swap simulation → MQTT/HTTP
  • Lighting

    In Toggle(), publish an MQTT message or call your REST API to trigger a LightwaveRF scene/device action.

  • Tank

    Replace the simulation methods with values coming from MQTT telemetry (or polling an endpoint), then render percent/liters + alert thresholds.

  • Auth & safety

    Gate write actions behind auth, and keep a “manual still works” mindset for lights.

An unhandled error has occurred. Reload 🗙