[Solved] How Do I Convert MPH To KMPH


Hi I Was Wondering If Any Of You Knew How To Convert MPH Wind Speed Into KMPH From The Dark Sky Weather API Intergration Thing! (Im New!)



The easiest way to go about this is probably to convert the value before you store it onto your Losant weather device. So above the Device State node in your workflow, you want to add a Math node, and do the math on the MPH value to convert it to KMPH. Then, in the device state node, use the newly calculated KMPH value instead of the original MPH value for the wind-speed device attribute. Hope that helps!

1 Like

Thankyou I Will Test It!