The Thermosensors plugin does not work

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

The Thermosensors plugin does not work

#1 Post by Andrew Mamohin » 02 Oct 2023, 18:14

The Thermosensors plugin does not work with the MAX6675 module in version ESP_Easy_mega_20230930 for S2.
The temperature is always equal NAN.
When I flash version 20230822 the plugin works fine.
9BaEAWNEoa.jpg
9BaEAWNEoa.jpg (47.07 KiB) Viewed 4355 times
Andy.

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: The Thermosensors plugin does not work

#2 Post by Ath » 02 Oct 2023, 23:14

How is SPI configured?
I assume you've checked the wiring 3 times? (like I usually do if something won't work as expected)
/Ton (PayPal.me)

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: The Thermosensors plugin does not work

#3 Post by Andrew Mamohin » 03 Oct 2023, 07:22

Hi!
Yes, I checked. This device has been working for some time on the firmware 20230822. I tried several times to flash firmware 20230930, but I always get nan.
And now the device works well on 20230822.
Knmp8yM3JZ.jpg
Knmp8yM3JZ.jpg (17.44 KiB) Viewed 4333 times
7vxen4EZOP.jpg
7vxen4EZOP.jpg (10.84 KiB) Viewed 4333 times
Andy.

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: The Thermosensors plugin does not work

#4 Post by TD-er » 03 Oct 2023, 08:46

Which exact build are you using? (filename)
I did remove quite a lot of "excessive logs" etc. from that plugin and wrapped it in "#ifndef BUILD_NO_DEBUG" or "#ifndef LIMIT_BUILD_SIZE"
So it might be possible there was something done in such log-only code blocks. But that would probably have been a bug anyway as those would then not be executed if log level was not set.

Have to check the code changes to be sure.

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: The Thermosensors plugin does not work

#5 Post by TD-er » 03 Oct 2023, 08:48

Ah nope... found the bug I introduced....

https://github.com/letscontrolit/ESPEas ... 3648f18d09

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: The Thermosensors plugin does not work

#6 Post by TD-er » 03 Oct 2023, 08:52


User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: The Thermosensors plugin does not work

#7 Post by Andrew Mamohin » 03 Oct 2023, 09:50

TD-er wrote: 03 Oct 2023, 08:52 Can you check this PR when it is ready building?
Yes! This build works. Thank you! You fix bugs amazingly quickly!
Andy.

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: The Thermosensors plugin does not work

#8 Post by TD-er » 03 Oct 2023, 11:00

Sadly not as quick as I write them... ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests