View on GitHub

mqtt-transformer

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

Weather2MQTT -> mqtt-marquee-scroller

Tools: weather2mqtt mqtt-marquee-scroller
Tags: weather marquee-scroller marquee-message

This will repeat the weather infos on your marquee scroller in every minute, with the weather description, the min-max temp, and the feel-like temp.

{
  "fromTopic": "export/weather",
  "toTopic": "tele/marquee-scroller",
  "emitInterval": 60,
  "emitType": "repeat",
  "template": {"message": "OUT ${weather[0].description} ${main.temp_min}/${main.temp_max} ${main.feels_like}C"}
}