Reads out messages from victron energy controller coming in via VE.Direct in serial text mode and sends them to a MQTT broker.
Reads out the internal GPS and sends it to a MQTT broker.
Simple MQTT-Logger for Busybox or other shells. Writes all MQTT messages from subscribed topics comma separated into a file. Based on https://unix.stackexchange.com/a/274224
- Log rotation when disk space below threshold (configurable)
- Logfiles split by size (configurable)
- option to log into subfolders by topic or all topics together into same log file. If the latter, then a topic column is added.
Call script with same options like for mosquitto_sub. '-v' gets added. Configure output directory and other parameters inside script.
Tested on a router Teltonika RUT955 running BusyBox v1.30.1 () built-in shell (ash)
- mqtt broker (officially avaliable as a package from teltonika RUT955, just needs to be installed and activated via WebGUI, or use remote broker)
- mqtt client (installable on RUT955 with
opkg install mosquitto-client
. If you get an errorUnknown package
, tryopkg update
before. From new firmware RUT9_R_00.07.00 on You needopkg install mosquitto-client-ssl
instead.)