MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
Describe the bug
The discovery of the sensor work fine, but value are never send.
The default value DS1820_INTERVAL_SEC 60 don't work, even after 3 minutes, changing to DS1820_INTERVAL_SEC 30 make it work. 32 work, 33 not. So we are at the 32.7 seconds limit because of a 16 bit int. More info on the error here : https://forum.arduino.cc/t/unsigned-long-multiplication/108567
When it worked, I saw that the temp are not in the right field:
Before submitting a problem please check the troubleshooting section https://docs.openmqttgateway.com/upload/troubleshoot.html
Describe the bug The discovery of the sensor work fine, but value are never send. The default value
DS1820_INTERVAL_SEC 60
don't work, even after 3 minutes, changing toDS1820_INTERVAL_SEC 30
make it work. 32 work, 33 not. So we are at the 32.7 seconds limit because of a 16 bit int. More info on the error here : https://forum.arduino.cc/t/unsigned-long-multiplication/108567When it worked, I saw that the temp are not in the right field:
To Reproduce Steps to reproduce the behavior:
#define ZsensorDS1820 "DS1820"
uncommentedExpected behavior The sensor value are send on the bus, with Celsius in tempc .
Environment (please complete the following information):