Dear Developer
I've notice, using DallasTemperature lib (DS18B20 temperature sensor ) that function ds.getTempCByIndex() which at a lower level uses 1wire stack fails and return -127°C or a fixed value 25°C when the it interacts with the UDP stack. It is not clear if the problem is the DallasSensor library or in the 1Wire lib or even in the ESP 32 Arduino lib, so I would like to post the problem even here.
All details have been posted here
https://github.com/milesburton/Arduino-Temperature-Control-Library/issues/188
I was able to simplify the program at minimum to easily reproduce the problem with the reduced code example
TemperatureMonitor7MQTTClient_crash_2.zip
if you set EnableRemoteSensor to "true" the local sensor reading is wrong (now it returns to a fixed value even if the temperature change), while if you set it false the temperature returns correctly. If you need a NINA W102 board for free I can send it to you for the testing.
I've notice, using DallasTemperature lib (DS18B20 temperature sensor ) that function ds.getTempCByIndex() which at a lower level uses 1wire stack fails and return -127°C or a fixed value 25°C when the it interacts with the UDP stack. It is not clear if the problem is the DallasSensor library or in the 1Wire lib or even in the ESP 32 Arduino lib, so I would like to post the problem even here.
All details have been posted here
https://github.com/milesburton/Arduino-Temperature-Control-Library/issues/188
I was able to simplify the program at minimum to easily reproduce the problem with the reduced code example
TemperatureMonitor7MQTTClient_crash_2.zip
if you set EnableRemoteSensor to "true" the local sensor reading is wrong (now it returns to a fixed value even if the temperature change), while if you set it false the temperature returns correctly. If you need a NINA W102 board for free I can send it to you for the testing.