That did it.
Now I could get rid of a couple of extra coding.
Thanks Walter.
Search found 23 matches
- Monday 02 June 2025 14:40
- Forum: dzVents
- Topic: need help dzevets script solar Toon
- Replies: 34
- Views: 1272
- 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 ...
- 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.
Thanks for helping me out.
Now I can delete one script.
- 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.
You helped me in the right direction.
Only madpatrick asked me to show my 2 scripts so maybe we can combine them.
- 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.
Same as the lifetime calculator.
Most important for me is the "current" value to be used in the Energy Dashboard.
- 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 ...
- 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. Schermafbeelding 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 ...
- 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.
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.
- 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.
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.
- 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.
But I do not know how toe send the value of "current" to that device.
- 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
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.
- 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 ...
- 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.
I will try this tomorrow.
I tried different devices and names to get a reaction but i will change them to one name.
- 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.
- Wednesday 28 May 2025 16:48
- Forum: dzVents
- Topic: need help dzevets script solar Toon
- Replies: 34
- Views: 1272
- Wednesday 28 May 2025 16:44
- Forum: dzVents
- Topic: need help dzevets script solar Toon
- Replies: 34
- Views: 1272
- 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
- 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 ...
- 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.
and today would be nice.
- 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 ...