LRT
Site Simulator — Modbus devices & OCPP charge points

Add a gateway

A gateway connects to the cloud first (MQTT / Waveshare). Modbus devices are attached behind it. OCPP wallboxes live on the other tab and link here for site load only.
Cloud publishes Modbus RTU here (Waveshare module subscribes)
Cloud subscribes here for RS485 replies (module publishes)
Local: mqtt://localhost:1883 (monorepo python-mqtt). Cloud TLS: host mqtt.ems-dev… + port 8883 → auto mqtts:// (self-signed OK in this sim). Copy Sub/Pub from EMS wizard when targeting cloud. LWT on {base}/lwt with birth 0x01 / will 0x00.

Event log