A CAN-Bus to MQTT daemon
434
CAN2MQTT_CONFIG - the path to the mapping configuration, default is /etc/can2mqtt.csv (should be a volume)CAN2MQTT_INTERFACE - the name of the CAN bus network interface, default is can0CAN2MQTT_MQTT - the MQTT connection string, like tcp://user:password@host:portThe option --network=host is required to access the socket-can interface from docker or podman.
docker run --network=host -e CAN2MQTT_INTERFACE=vcan0 -e CAN2MQTT_MQTT='tcp://can:[email protected]:1883' -v /config/can2mqtt.csv:/etc/can2mqtt.csv:ro gbeine/can2mqtt:latest
or
podman run --network=host -e CAN2MQTT_INTERFACE=vcan0 -e CAN2MQTT_MQTT='tcp://can:[email protected]:1883' -v /config/can2mqtt.csv:/etc/can2mqtt.csv:ro gbeine/can2mqtt:latest
Content type
Image
Digest
sha256:75e7039be…
Size
8 MB
Last updated
almost 2 years ago
docker pull gbeine/can2mqtt