Probably little bug in the software of P39 plugin.
I use Max 31865 with RTD PT 100 2 wires on task 1.
No other task or rules running at the moment.
Binary Filename: ESP_Easy_mega_20230508_climate_ESP32_4M316k.
It took quiet a time to have the correct temp reading. I had always a reading -242.02.
So I finally discover that to have a correct temp reading I need to submit the task ( even without changing nothing) after each reboot or power reconnect.
Code: Select all
18887: P039 : Boiler : T: -242.02
18922: EVENT: Boiler#T=-242.02
20886: P039 : Boiler : T: -242.02
20923: EVENT: Boiler#T=-242.02
20994: Webserver 20 Arguments: 0: 'index' length: 1 1: 'page' length: 1 2: 'TDNUM' length: 2 3: 'TDN' length: 6 4: 'TDE' length: 2 5:
21022: Skip saving task settings, not changed
21023: SaveToFile: free stack: 6864
21297: FILE : Saved config.dat offset: 0 size: 3024
21297: SaveToFile: free stack after: 6864
21298: Skip saving SecuritySettings, not changed
21313: mDNS : Starting mDNS...
21316: mDNS : Started, with name: Ctr-Boiler.local
21347: P039 : Boiler : SPI Init - DONE
21354: P039 : Boiler : T: -242.02
21496: static_file: /esp.css
21588: EVENT: TaskExit#Boiler=1,0
21761: EVENT: TaskInit#Boiler=1,1
21774: P039 : Boiler : T: -242.02
21825: EVENT: Boiler#T=-242.02
23472: P039 : Boiler : T: 20.16
23505: EVENT: Boiler#T=20.16
23678: EVENT: Clock#Time=Tue,19:06
25761: static_file: /esp.css
25912: P039 : Boiler : T: 20.06
25961: EVENT: Boiler#T=20.06
27458: P039 : Boiler : T: 19.99
27494: EVENT: Boiler#T=19.99
29470: P039 : Boiler : T: 19.99
29505: EVENT: Boiler#T=19.99
Can you have a look at the P39 code to understand what is wrong.
Thanks in advance
Patou