No winddirection in log page [Solved]

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
FonsBrand
Posts: 4
Joined: Thursday 23 November 2017 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

No winddirection in log page [Solved]

Post 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.
Attachments
log page
log page
Wind loging.PNG (200.33 KiB) Viewed 580 times
Virtual sensor
Virtual sensor
virtual sensor.PNG (14.65 KiB) Viewed 580 times
dashboard
dashboard
dashboard.PNG (9.68 KiB) Viewed 580 times
Last edited by FonsBrand on Saturday 26 February 2022 11:06, edited 1 time in total.
User avatar
jvdz
Posts: 2335
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: No winddirection in log page

Post 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;;)
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
JackD
Posts: 68
Joined: Monday 02 November 2020 20:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: No winddirection in log page

Post 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)
Attachments
Wind01.png
Wind01.png (40.79 KiB) Viewed 569 times
Wind02.png
Wind02.png (11.08 KiB) Viewed 569 times
wind03.JPG
wind03.JPG (102.45 KiB) Viewed 569 times
User avatar
jvdz
Posts: 2335
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: No winddirection in log page

Post 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?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
waltervl
Posts: 5908
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: No winddirection in log page

Post by waltervl »

It makes me wonder why you copy those values into a virtual sensor?
What is wrong with your original sensor device?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
FonsBrand
Posts: 4
Joined: Thursday 23 November 2017 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: No winddirection in log page

Post 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.
FonsBrand
Posts: 4
Joined: Thursday 23 November 2017 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: No winddirection in log page

Post 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.
User avatar
jvdz
Posts: 2335
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: No winddirection in log page

Post by jvdz »

Can you share the script so we can have a look and possible test? :)
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
FonsBrand
Posts: 4
Joined: Thursday 23 November 2017 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: No winddirection in log page

Post 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.
Attachments
log nieuwe sensor
log nieuwe sensor
Wind loging3.PNG (182.67 KiB) Viewed 522 times
nieuwe virtual sensor
nieuwe virtual sensor
virtual sensor2.PNG (22.44 KiB) Viewed 522 times
dashboard
dashboard
dashboard2.PNG (15.71 KiB) Viewed 522 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest