2026.4 problem updating managed counter with dzvents

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
peterchef
Posts: 43
Joined: Sunday 03 January 2016 17:49
Target OS: Windows
Domoticz version: 2024.7
Location: France
Contact:

2026.4 problem updating managed counter with dzvents

Post by peterchef »

I have upgraded from 2026.2 to 2026.4 beta 18708 on windows 11.

I use a dzvents script to get a PV forecast from the solcast website and store the forecast in three managed counters.
The script uses the following to update the counters.


dz.devices(PVsolcastDN).updateHistory(localTime,"-1;"..forecastvalue)
dz.devices(PVsolcast10DN).updateHistory(localTime,"-1;"..forecastvalue10)
dz.devices(PVsolcast90DN).updateHistory(localTime,"-1;"..forecastvalue90)


This worked before the upgrade but i am now getting errors opening the url. In this example 2 of the 3 updates fail.
I suspect that it is a problem with the speed at which the devices are being updated since the forecast comprises 97 value updates for each device.


2026-12-06 08:35:02.348 dzVents: Debug: solcast PV forecast: at 2026-12-08 09:00:00, PVest = 690.9, PVest10 = 179.9, PVest90 = 690.9
2026-12-06 08:35:02.348 dzVents: Debug: solcast PV forecast: OpenURL: url = http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=223&nvalue=0&svalue=-1;690.9;2026-12-08+09%3A00%3A00
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: method = GET
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: post data = nil
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: headers = nil
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: callback = nil
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: url = http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=224&nvalue=0&svalue=-1;179.9;2026-12-08+09%3A00%3A00
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: method = GET
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: post data = nil
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: headers = nil
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: callback = nil
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: url = http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=225&nvalue=0&svalue=-1;690.9;2026-12-08+09%3A00%3A00
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: method = GET
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: post data = nil
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: headers = nil
2026-12-06 08:35:02.349 dzVents: Debug: solcast PV forecast: OpenURL: callback = nil


2026-12-06 08:35:03.084 Error: Error opening url: http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=224&nvalue=0&svalue=-1;179.9;2026-12-08+09%3A00%3A00
2026-12-06 08:35:03.362 Error: Error opening url: http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=225&nvalue=0&svalue=-1;690.9;2026-12-08+09%3A00%3A00
Windows, Domoticz
Aeotec Z-Stick Gen5, Aeotec Multisensor 6, Horstmann HRT4-ZW Thermostat Transmitter, Horstmann ASR-ZW Thermostat Receiver
Zipato Mini Keypad RFID, Everspring AN157 Plug
Post Reply