0

Celsius to Fahrenheit
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Celsius to Fahrenheit

by TheGodmothersGarden on Sun Jun 26, 2022 4:38 pm

Is there a wat to make the components like the aht20 work in F not Celsius. It kind of of makes it useless because i have to look up the conversions every time.

I feel like most of the users of adafruit io are in the States. Would really love to see an option or at least have it be F by default.

TheGodmothersGarden
 
Posts: 7
Joined: Tue May 24, 2022 6:50 pm

Re: Celsius to Fahrenheit

by dastels on Sun Jun 26, 2022 5:11 pm

You can always wrap the AHTx0 class's temperature method with something that converts C to F.

As for making F the default... most of the world uses metric so C is a sensible default. And the sensor reports temperature in C.

I'm not seeing the connection between the sensory library and Adafruit IO. And I don't see anything in Adafruit IO that specifically mentions units.

Dave

dastels
 
Posts: 10572
Joined: Tue Oct 20, 2015 3:22 pm

Re: Celsius to Fahrenheit

by brubell on Fri Jul 01, 2022 12:02 pm

Hi, thanks for the feedback. We have an open issue for adding conversions to the WipperSnapper Beta firmware.

brubell
 
Posts: 1699
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.