Temperature Fahrenheit

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
tottka
Posts: 19
Joined: Wednesday 19 July 2017 19:50
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: US
Contact:

Temperature Fahrenheit

Post 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
tottka
Posts: 19
Joined: Wednesday 19 July 2017 19:50
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: US
Contact:

Re: Temperature Fahrenheit

Post 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
User avatar
mack
Posts: 14
Joined: Friday 08 April 2016 8:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Dallas, USA
Contact:

Re: Temperature Fahrenheit

Post 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. :lol:

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.
tottka
Posts: 19
Joined: Wednesday 19 July 2017 19:50
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: US
Contact:

Re: Temperature Fahrenheit

Post 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
DesertMoonMushrooms
Posts: 1
Joined: Sunday 24 July 2022 4:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Temperature Fahrenheit

Post 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.
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Temperature Fahrenheit

Post 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
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests