Page 1 of 1
Display wind direction does no work
Posted: Sunday 25 October 2020 11:41
by kroonp
Good morning,
I have a problem showing the wind direction value. What variable could I use to make this work?
Device 166
name:Wind gives: 202.00;SSW;49;76;12.8;12.8
['166','Direction', gives 202 is ok
['166’,’?????’, HERE IK WANT TO DISPLAY: SSW
['166','Speed', gives 49 is ok
['166','Gust', gives 76 is ok
['166','Chill', gives 12.8 is ok
['166','Temp', gives 12.8 is ok
Thanks
Re: Display wind direction does no work
Posted: Sunday 25 October 2020 11:53
by waaren
kroonp wrote: Sunday 25 October 2020 11:41
I have a problem showing the wind direction value. What variable could I use to make this work?
It would make it easier to help if you shared your complete code but hopefully below copy / paste from the
dzVents wiki will give you enough information to continue.
Wind
chill: Number.
direction: Number. Degrees.
directionString: String. Formatted wind direction like N, SE.
gust: Number. ( in meters / second, might change in future releases to Meters/Counters settings for Wind Meter )
gustMs: Number. Gust ( in meters / second ) 2.4.9
temperature: Number
speed: Number. Windspeed ( in the unit set in Meters/Counters settings for Wind Meter )
speedMs: Number. Windspeed ( in meters / second ) 2.4.9
updateWind(bearing, direction, speed, gust, temperature, chill): Function. Bearing in degrees, direction in N, S, NNW etc, speed in m/s, gust in m/s, temperature and chill in Celsius. Use domoticz.toCelsius() to convert a Fahrenheit temperature to Celsius. Supports command options.
Re: Display wind direction does no work [Solved]
Posted: Sunday 25 October 2020 12:09
by kroonp
Thankx, waaren!