Search found 23 matches

by Wiers
Monday 02 June 2025 14:40
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

That did it.
Now I could get rid of a couple of extra coding.
Thanks Walter.
by Wiers
Sunday 01 June 2025 12:10
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

I tried but if I make a device "general kWh" named "solar" I get this error. 2025-06-01 12:02:01.048 Error: dzVents: An error occurred when calling event handler CombinedSolar 2025-06-01 12:02:01.048 Error: dzVents: ...ticz/scripts/dzVents/generated_scripts/CombinedSolar.lua:18: attempt to call a ...
by Wiers
Sunday 01 June 2025 8:55
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

It is working!
Thanks for helping me out.
Now I can delete one script.
by Wiers
Saturday 31 May 2025 23:27
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

There is no problem anymore.
You helped me in the right direction.
Only madpatrick asked me to show my 2 scripts so maybe we can combine them.
by Wiers
Saturday 31 May 2025 23:15
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

I do not really need a total counter because I already have that on my Apsystems app.
Same as the lifetime calculator.
Most important for me is the "current" value to be used in the Energy Dashboard.
by Wiers
Saturday 31 May 2025 23:10
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

This is the "solar" script. return { on = { timer = { 'every 1 minutes' }, httpResponses = { 'solar' } }, execute = function(domoticz, item) if (item.isTimer) then domoticz.openURL({ url = 'http://192.168.1.56/solar.html', method = 'GET', callback = 'solar' }) elseif (item.isHTTPResponse) then if ...
by Wiers
Saturday 31 May 2025 14:25
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

You are right. But I made this from another piece of coding and adapted that to my needs. Scherm­afbeelding 2025-05-31 om 14.15.56.png So the solarpower plus a zero device is now totalpower which shows up in the energy dashboard. And I have total today also. But I have 2 same scripts now, one with ...
by Wiers
Friday 30 May 2025 22:44
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

I have got it working!
Now I have one device with the most recent solarpower output and a device with the total today.
Tomorrow I am gonna try to get this in the Energy dashboard.

Thanks for putting me in the right direction Walter.
by Wiers
Friday 30 May 2025 11:17
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

I am reading in the wiki but as a non programmer it is a lot "Chinese" for me.
It is easy to make a mistake by typing one digit wrong.
You are steering me in the right direction and together with the wiki and internet I think I will figure it out.
by Wiers
Thursday 29 May 2025 23:40
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

If I have only a Electric usage device which shows me the actual Watt that would be fine.
But I do not know how toe send the value of "current" to that device.
by Wiers
Thursday 29 May 2025 13:56
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

Scherm­afbeelding 2025-05-29 om 13.52.43.png
Scherm­afbeelding 2025-05-29 om 13.52.43.png (29.22 KiB) Viewed 437 times

Progress, I got a value "current = 676" which was the output of my panels at that moment.

Now I have to get that in a device/counter.
by Wiers
Thursday 29 May 2025 11:16
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

One step further and without error but unfortunately without data. I now have this script called "SolarPanels" return { on = { timer = { 'every 1 minutes' }, httpResponses = { 'solar' } }, execute = function(domoticz, item) if (item.isTimer) then domoticz.openURL({ url = 'http://192.168.1.56/solar ...
by Wiers
Wednesday 28 May 2025 23:48
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

thanks for the info,
I will try this tomorrow.
I tried different devices and names to get a reaction but i will change them to one name.
by Wiers
Wednesday 28 May 2025 17:50
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

"Stroom nu" is the same as "zon nu" and is the "current" value in the json. They are different because there are clouds passing by. this is the actual solar production of my panels in W. the other values are not important. I just want this number refreshed in a virtual counter if possible.
by Wiers
Wednesday 28 May 2025 16:48
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

20250528_164533_resized.jpg
20250528_164533_resized.jpg (313.79 KiB) Viewed 528 times
by Wiers
Wednesday 28 May 2025 16:44
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

Scherm­afbeelding 2025-05-28 om 16.41.26.png
Scherm­afbeelding 2025-05-28 om 16.41.26.png (176.86 KiB) Viewed 531 times
by Wiers
Wednesday 28 May 2025 16:21
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

and it is all in W
by Wiers
Wednesday 28 May 2025 16:18
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

this is what i am working whit but no result: return { on = { timer = { 'every 1 minutes' }, httpResponses = { 'solar' } }, execute = function(domoticz, item) if (item.isTimer) then domoticz.openURL({ url = 'http://192.168.1.56/solar.html', method = 'GET', callback = 'solar' }) elseif (item ...
by Wiers
Wednesday 28 May 2025 16:16
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

The most important is "current"
and today would be nice.
by Wiers
Wednesday 28 May 2025 14:44
Forum: dzVents
Topic: need help dzevets script solar Toon
Replies: 34
Views: 1272

Re: need help dzevets script solar Toon

Hi Walterv, I have the thermostat data from Toon in Domoticz working. I have the P1 data in Domoticz working. But I need the data from my solarpower which Toon gets via an app from oepi loepi toe Domoticz. At the moment I am trying to get a dzevents HTTP request working but getting stuck on to manny ...