Sign inSign up

sebd/dvb-mqtt-rpi

By sebd

•Updated almost 5 years ago

request the dvb api for the next tram departure and push it to a mqtt server (arm)

Image
0

1.1K

sebd/dvb-mqtt-rpi repository overview

⁠Request the DVB api for when the next tram departs for raspberry pi

configured via environment variables:

DVB_CITY="Dresden" 
DVB_STATION="Karcherallee" 
DVB_DIRECTION="Kleinzschachwitz" 
MQTT_BROKER="tcp://mymqttserver:1883" 
MQTT_TOPIC="tram_departure/2"

It will query the DVB api for the next Bus or Tram that leaves the given station and publishes the result as a json array to the given mqtt broker then wait for a minute and do the same again

The container only consists out of the go binary (built for arm)

Tag summary

Content type

Image

Digest

Size

3.1 MB

Last updated

almost 5 years ago

docker pull sebd/dvb-mqtt-rpi