Sign inSign up

tg44/crypto2mqtt

By tg44

•Updated about 6 years ago

Image
0

878

tg44/crypto2mqtt repository overview

Docker Build Status

⁠Crypto2MQTT

Gets crypto data from CoinGecko⁠ and publishes to MQTT.

⁠Docker
docker run \
-it \
-e MQTT_HOST=example.com \
-e MQTT_PORT=1883 \
-e MQTT_TOPIC=crypto/stats \
-e CURRENCIES=bitcoin,ethereum \
-e VS_CURRENCIES=usd \
-e SCHEDULE=@minutely \
tg44/crypto2mqtt

Currency list; https://api.coingecko.com/api/v3/coins/list⁠ (HUGE list, Firefox will parse it for you and you can filter in it)

vs_currency lise; https://api.coingecko.com/api/v3/simple/supported_vs_currencies⁠ (smaller list)

You can use both currencies and vs_currencies as a coma separated list!

SCHEDULE is an optional setting to schedule with crython⁠ expression.

Tag summary

Content type

Image

Digest

Size

342.4 MB

Last updated

about 6 years ago

docker pull tg44/crypto2mqtt