ebaauw / homebridge-ws

Homebridege plugin for virtual weather station
Apache License 2.0
108 stars 4 forks source link

Units wind speed #30

Closed redjoto closed 3 years ago

redjoto commented 3 years ago

Any chance to be able to change the units for wind direction from km/h to m/s?

ebaauw commented 3 years ago

Hm, OpemWeatherMap actually returns the speed in m/s, and I'm just exposing the value as received from OpenWeatherMap, so the value is in m/s.

redjoto commented 3 years ago

Yeah, that’s weird. 50 km/h as seen in picture. If this was m/s I would blow away outside. Can it be something with my API? C4D08A0D-D586-4CCD-BD8E-5AF16D479E45

ebaauw commented 3 years ago

My bad, I must be looking cross-eyed. I do (did) multiply the received value by 3.6. Double-checked that Eve will display m/s with the changed characteristic definition.

ebaauw commented 3 years ago

In v2.4.10.

redjoto commented 3 years ago

Thank you for such a quick response and fix.