Page 1 of 1
Temperature Fahrenheit
Posted: Wednesday 19 July 2017 20:00
by tottka
Hi, just starting out with Domoticz getting my first sensors to work! I'm using mqtt to send a value to a dummy sensor and I see it's converting my temp to Fahrenheit. It's being sent as a fahrenheit value and I don't want to convert it. I found a feature request asking for this back in 2016 & was wondering if implemented?
https://github.com/arendst/Sonoff-MQTT- ... issues/174
I tried sending different svalues in my payload but it always converted the value.
Thanks
Re: Temperature Fahrenheit
Posted: Friday 21 July 2017 16:39
by tottka
Ok, I've updated to the latest beta version v3.8102 and tried sending the following MQTT commands
{
"idx" : 5,
"nvalue" : 0,
"svalue" : "90;F"
}
and
{
"idx" : 5,
"nvalue" : 0,
"svalue" : "90;1"
}
and it still thinks it needs to convert to C.
Should this leave it alone or must I send it in Celsius?
thanks
Re: Temperature Fahrenheit
Posted: Friday 21 July 2017 17:09
by mack
When I was first getting started, I too attempted to have things displayed in Fahrenheit. It turned out to be easier to just do everything in Celsius. I don't really have a problem with this, since I was a science student and am familiar with SI units, but my spouse really doesn't like it.
There was a strange operational bug that I couldn't track down the real cause of, but as soon as I switched the setting to use Celsius the bug went away. I tried to look back at my previous posts to remember what that bug was, but that thread doesn't seem to exist anymore. So in conclusion, my recommendation is to just bite the bullet and use Celsius to save yourself some time.
Re: Temperature Fahrenheit
Posted: Friday 21 July 2017 20:50
by tottka
Thanks for the reply, I was thinking that I would need to change my source to Celsius for feeds to Domoticz.
I was just thinking (hoping) that I could tell Domoticz that the value is Fahrenheit, don't convert.
thanks again
Re: Temperature Fahrenheit
Posted: Monday 25 July 2022 8:57
by DesertMoonMushrooms
Sorry to raise this topic from the dead but I am having the same issue.
Sending temps to domoticz in Farenheit but graphs it as Celcius. The convert to farenheit option in settings converts my farenheit option to more farenheit. haha.
Re: Temperature Fahrenheit
Posted: Monday 25 July 2022 11:07
by gizmocuz
Please create a issue on github and tell exactly what needs to be send and how to troubleshoot this problem
Like in the second message here, this is not a complete example