A lightweight gateway to collect, retain, and forward data from Shelly IoT devices.
Shelly Data Gateway enables efficient data collection from Shelly devices when using MQTT instead of the cloud. It retains data sent spontaneously by devices and organizes it into Cloud Events, which can be forwarded to various sinks (currently, MQTT is supported).
- Collects and retains data from Shelly IoT devices.
- Converts data into Cloud Events format.
- Supports forwarding to MQTT sinks.
The following environment variables are expected:
LOG_LEVELLog level for the application. Possible values aredebug,info,warning,error,critical,notset. Defaults toinfo.MQTT_HOSTName of the MQTT host
With the configuration stored in a file .env, the tool can be started
as follows:
docker run --rm \
--env-file .env \
mrtux/shelly-data-gateway:latestPlease replace latest with the version you want to run. The latest
version is not guaranteed to be stable.
Contributions are welcome! Please submit your changes via a pull request (PR)
This project is licensed under the MIT License.
© 2021-2025 Stefan Haun and contributors.