View on GitHub

mqtt-transformer

A simple service which consumes, transforms and periodically republish json messages on mqtt.

Crypto2MQTT -> mqtt-marquee-scroller

Tools: crypto2mqtt mqtt-marquee-scroller
Tags: crypto marquee-scroller marquee-message

This will repeat the crypto infos on your marquee scroller in every minute, with btc-usd and eth-usd prices.

{
  "fromTopic": "export/crypto",
  "toTopic": "tele/marquee-scroller",
  "emitInterval": 60,
  "emitType": "repeat",
  "template": {"message": "BTC ${bitcoin.usd}  ETH ${ethereum.usd}"}
}