benzman81 / homebridge-http-webhooks

A http plugin with support of webhooks for Homebridge: https://github.com/nfarina/homebridge
GNU General Public License v3.0
179 stars 56 forks source link

Celcius vs Fahrenheit Issue #176

Open dad2boyz opened 1 year ago

dad2boyz commented 1 year ago

I'm using this to update the information from a temperature sensor, via AquaSpace. I see nowhere on either side to specify the unit as C or F. Aquaspace is providing in F. It appears the webhook is interpreting this as C. Then homebridge converts to F. So a temperature of 66.1 is displayed as 151.

Is there a flag I'm missing somewhere?

Thanks.

benzman81 commented 1 year ago

Yes, homekit only works with degree celsius. If fahrenheit valis are provided it has to be converted somewhere outside of homekit. Feel free to add a pull request to add support for it to the plugin if it is not possible to change in aquaspace.