New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sensor ntc higher tempature by 10 degrees then in reality #1502
Comments
I did some tests and problem appear on 1.15.0b2 release, on 1.15.0b1 temperature isn't too high. |
Found it: it is dependent on "arduino_version" that was bumped on 1.15.0b2 release. On 1.15.2 with arduino_version: 2.4.2 it is working as expected, on 2.5.2 it doesn't compile because of ntc, on 2.6.3 it is working as expected. Problem appears on arduino_version: 2.7.2 |
ntc source |
Thanks @dzikus for the analysis. I'm also observing an increase of heat but couldn't quantify it. Looking around, it appeared the same problem occurred on Tasmota but has since been addressed arendst/Tasmota#7991 (comment) Can this be the same root cause on ESPhome ? |
Are you sure the temperature is wrong and not actually running hotter (or maybe both?) Tasmota had a problem with the floating IRQ pin. Here, the configuration above is also leaving the pin floating. To fix the floating pin add this to your yaml
This will lower the temperatures. The question is if the temps return to the original values (meaning the new Arduino version keeps the pin floating, while the old one did not !?!) or they go down to a different level (meaning that additionally to the floating pin in all versions, there is a problem with the temp reading in the new version) |
Are you kidding? You don’t even read my whole analysis or saw screenshots of my graphs. I have already shown what the reason is. |
I would kindly ask you show more respect here, especially when someone is trying to help you! I presume the temp reading is NOT WRONG, but in fact running hotter. You would need an external temp sensor to verify that. If the temp does not go down, then we could look somewhere else. BUT I DID GET A 10 Degree "real" REDUCTION with this addition! You may try this addition with different Arduino versions and report back your results. |
Thank you @Lovely-Maisonette for the help. It did work for me and I see the temperatures on the Shelly 2.5 drop from about 80+°C to 70°C when both relays are active. One question from a neophyte, is the Shelly actually running hot with the pin floating or is it just the temperature being reported inaccurately? Has someone been able to compare the temperature reported when using ESPHome vs the stock firmware ? |
There might be one or two issues here.
@ christophebaraer
My guess is that 1,2 and 4 will be identical 70°C, and 3 80°C You can try the @dzikus reported OK version (2.6.3) with
|
I have tested this on my shelly 25.
All the readings were with the relays off... Looks consistent with @dzikus readings... After reading this I wonder how can I get the shellys 25 to run at lower temps??, In the post the author says he runs them at around |
@blackjid, dzikus said he saw only a 10C increase (in relation to the original shelly firmware) That would mean that your 62C are normal, and if someone has lower temp readings is because they have it better aired, different walling or enclosure, etc. I for instance get 75C reading with PULLUP, but my installation is very tight, and my walls do not absorb and dissipate much heat. The shelly2.5 is rated for 90C Do not forget to add a section to your yaml to switch both relays off if temp goes for any reason above that number. The temp us caused by the shunt resistor, to calculate the power usage. If you want a shelly that runs cooler, you need one without PM. |
Thanks! @Lovely-Maisonette Yes, I have the section to protect for higher temps.. So I shouln't be worried if running at 78c right? with the relays on and with the load I want to power... (a couple of lifx bulbs and a google home...) |
I ended up moving back to the original Shelly firmware and I still get temperatures around 72C. I contacted the guys at Shelly who confirmed this was the nominal operating temperature. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Hass.io
ESP (ESP32/ESP8266, Board/Sonoff):
Shelly 2.5
ESPHome version (latest production, beta, dev branch)
1.15.1
Affected component:
ntc, resistance, adc
Description of problem:
On 1.14.5 temperature is compatible with original Shelly firmware (indications are very similar), starting since 1.15 temperature is higher by ~10 degerees C/K.
These two are in the same wall, very close to each other (2cm gap between):
Here is history graph of another one ntc temperature also in the same wall before and after upgrade to 1.15:
Problem-relevant YAML-configuration entries:
The text was updated successfully, but these errors were encountered: