Page 1 of 1

No winddirection in log page [Solved]

Posted: Wednesday 23 February 2022 15:55
by FonsBrand
Hello everyone,

I have been using Domoticz for years with great satisfaction.
However, what I never got going is the wind direction on the logging page.
This while the wind direction is properly communicated via a virtual sensor.
see pictures for clarification.

What do I need to change to get this right?

Thanks in advance for your directions.

Re: No winddirection in log page

Posted: Wednesday 23 February 2022 16:45
by jvdz
FonsBrand wrote: Wednesday 23 February 2022 15:55 However, what I never got going is the wind direction on the logging page.
This while the wind direction is properly communicated via a virtual sensor.
What exactly are you feeding to the virtual (dummy) device for possible wind directions?

Edit: Actually that data looks a little odd in the capture: 315;NW;1;5.2;;)

Re: No winddirection in log page

Posted: Wednesday 23 February 2022 19:38
by JackD
This is how my wind data comes in, perhaps it is helpful to you
(My wind-meter has also a additional temperature sensor)

Re: No winddirection in log page

Posted: Wednesday 23 February 2022 20:05
by jvdz
Ok... and that one looks good .... so where is this virtual device filled that isn't working correctly? A script?
.. and did you see my last statement in my previous post?

Re: No winddirection in log page

Posted: Wednesday 23 February 2022 22:45
by waltervl
It makes me wonder why you copy those values into a virtual sensor?
What is wrong with your original sensor device?

Re: No winddirection in log page

Posted: Thursday 24 February 2022 14:17
by FonsBrand
waltervl wrote: Wednesday 23 February 2022 22:45 It makes me wonder why you copy those values into a virtual sensor?
What is wrong with your original sensor device?
My original sensor is a LonoBox that reports directly to a website and cannot be directly connected to Domoticz.
Via a script I get the values ​​from the internet and put them in a virtual sensor to Domoticz.

Re: No winddirection in log page

Posted: Thursday 24 February 2022 14:26
by FonsBrand
jvdz wrote: Wednesday 23 February 2022 16:45
FonsBrand wrote: Wednesday 23 February 2022 15:55 However, what I never got going is the wind direction on the logging page.
This while the wind direction is properly communicated via a virtual sensor.
What exactly are you feeding to the virtual (dummy) device for possible wind directions?

Edit: Actually that data looks a little odd in the capture: 315;NW;1;5.2;)
I see that there is one ) too many.
Corrected and that doesn't help. Also the empty places filled with 0 and this also does not solve the problem.

Re: No winddirection in log page

Posted: Thursday 24 February 2022 14:43
by jvdz
Can you share the script so we can have a look and possible test? :)

Re: No winddirection in log page

Posted: Thursday 24 February 2022 16:09
by FonsBrand
jvdz wrote: Thursday 24 February 2022 14:43 Can you share the script so we can have a look and possible test? :)
I have created a new virtual sensor and I fill it with the same script and now it works miraculously.