MQTT pulseIn with HR-SC04


#1

Device & model: Wemos D1 R2 + HR-SC04 + DHT22
Dashboard: web
Observed Bugs:

PULSEIN COMMAND (FOR HR-SC04) NOT WORKING IN MQTT?
In the MQTT environment it looks like that the PULSEIN command is not working as it was working in the Arduino Cayenne. In the MQTT sketch it gives as result zero. As solution added ‘Bitfrost library for HR-SR04’.

Included the sketch MQTT_Cellar_Waterlevel.ino.txt (8.8 KB)

BOOTING & SKETCH UPLOAD (caused by hardware issues?)
Combination often fails to upload the sketch unless data pin of DHT22 is disconnected.
This already existed in original Cayenne sketch but but now also booting needs to be done with this pin disconnected.

GRAPH DATA RESET GRAPH JAN 01 (SOLVED, NO REAL ISSSUE)
The widget was deleted because old and test data was grappy and needed to be removed.
The end result is that this old data is not available anymore but new data is not available in graph.
Luckily it appreared only impatience from my side :grinning: after a few minutes graph show data.