Skip to content
Jyrki Hämäläinen edited this page Feb 8, 2020 · 5 revisions

Welcome to the mqtt-playground wiki!

Sub pages

Captains log

2020-02-08

  • Very simple Node Red flow created to connect through MQTT broker running in Raspberry Pi to temperature and humidity measurements and dummy LED heating control done in Arduino UNO.
  • Arduino communication is using EspWifi library and MQTT PubSubClient library. They do not work very well together - publishing works, but subscriptions do not.
    • Alternative approach identified to use ESP8266 as network protocol gateway - serial communication would just transfer data packages (measurements from arduino and controls from ESP), so no async modem stuff needed there.
    • formatting of published and subscribed data packages to JSON could be a nice way - if Arduino JSON library can keep up with the pace.
Clone this wiki locally