HUB
Sign inSign up

gbeine/can2mqtt

By gbeine

•Updated over 2 years ago

A CAN-Bus to MQTT daemon

Image
Networking
Message queues
Internet of things
0

4.4K

gbeine/can2mqtt repository overview

⁠Starting can2mqtt

  • 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 can0
  • CAN2MQTT_MQTT - the MQTT connection string, like tcp://user:password@host:port

The 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

can2mqtt⁠

My fork of can2mqtt⁠

Gerrit Beine⁠

Tag summary
Recent tags
Content type
Image
Digest
sha256:75e7039be…
Size
8 MB
Last updated
over 2 years ago
docker pull gbeine/can2mqtt:latest