I recently migrated a Shelly 1PM to ESPEasy and currently trying to convert the voltage value of internal temperature provided on the analog input on ADC.
I found the formula for Shelly 2.5 from tasmota:
Adding Analog Temperature support for Shelly 2.5
https://git.koehlerweb.org/frodovdr/Son ... 18e6bb61a4
Now i am struggling to calculate it directly on ESPEasy, as the formula length is too long and also i am missing logarithm function.
So my question is if there is any option to convert the received voltage value to temperature directly on ESPEasy?
Any suggestions are greatly appreciated.
Thanks
Kin
Shelly 1PM internal temp
Moderators: grovkillen, Stuntteam, TD-er
Re: Shelly 1PM internal temp
You could try to plot the function and see what usable range you need.
Simply drawing a straight line through the points at 25% and 75% of that range in temperature is probably a good estimate with the smallest error over that range.
Right now we don't have the log function in the rules.
Simply drawing a straight line through the points at 25% and 75% of that range in temperature is probably a good estimate with the smallest error over that range.
Right now we don't have the log function in the rules.
Re: Shelly 1PM internal temp
Thanks for the prompt reply.
Ok, than hopefully in some future releases this could be added in the source to have separate calculation for shelly devices.
Regards,
Kin
Ok, than hopefully in some future releases this could be added in the source to have separate calculation for shelly devices.
Regards,
Kin
Who is online
Users browsing this forum: No registered users and 7 guests