Search found 3 matches

by JanPedaal
Tuesday 01 October 2024 15:01
Forum: Show your projects
Topic: Configurable 'KNMI Weerlive' script
Replies: 53
Views: 10572

Re: Configurable 'KNMI Weerlive' script

- I do not understand about the dz, because dz is set in line 69 for domoticz, so it should not be needed to set it again. - In line 71 _h is set to point to the dz.helpers in global_data, in wich you placed the functions. In the mentioned functions itself dz or domoticz is not used, so I do not ...
by JanPedaal
Monday 30 September 2024 14:24
Forum: Show your projects
Topic: Configurable 'KNMI Weerlive' script
Replies: 53
Views: 10572

Re: Configurable 'KNMI Weerlive' script

Thanks, I managed to get most of the script working. I still have issues addressing the global data, but most of my problems disappeared when I added

Code: Select all

local dz = domoticz
to the script. Not sure if this was left out on purpose, but I need it to fill most of the devices with info.
by JanPedaal
Monday 30 September 2024 11:19
Forum: Show your projects
Topic: Configurable 'KNMI Weerlive' script
Replies: 53
Views: 10572

Re: Configurable 'KNMI Weerlive' script

@janpep, many thanks for your work on this script! Could you share your global_data function for the wind directions?