Search found 6 matches

by bjornp
Saturday 24 August 2019 15:01
Forum: Show your projects
Topic: Domoticz logging the output of a Kostal Piko inverter
Replies: 30
Views: 12161

Re: Domoticz logging the output of a Kostal Piko inverter

I wrote a new DzVents based event so you do not need the extra Python script and (http)errors are handled better. The inverter needs current firmware version (>6.0?) so you can use the API to get JSON data directly. Just fill in the inverter IP and the device name. return { on = { timer = { 'every 5 ...
by bjornp
Thursday 11 July 2019 18:41
Forum: Utility
Topic: Daily total not calculated right
Replies: 2
Views: 995

Re: Daily total not calculated right

Deleting data point (shift left click) doesn't work in week graph, but it does work in month graph. :lol:
That way I was able to delete the initial value.
The second spike was my bad... LUA script hung up Domoticz around the time the daily total should be calculated.
Thanks for the help Gizmocuz!
by bjornp
Sunday 07 July 2019 21:25
Forum: Utility
Topic: Daily total not calculated right
Replies: 2
Views: 995

Re: Daily total not calculated right

Is it possible there is a bug in at MainWorker::decode_Energy (starting at line 8851 in mainworker.cpp)? I'm not very good at reading C++ code ;-)
The problem doesn't seem to exist with another virtual device (also solar inverter).
by bjornp
Sunday 07 July 2019 11:17
Forum: Utility
Topic: Daily total not calculated right
Replies: 2
Views: 995

Daily total not calculated right

I am monitoring the total revenue of a Piko solar inverter. Type is virtual device Electric (Instant+Counter). Both counter are filled with correct values every 5 minutes. The data in the tables look correct. Two issues: 1. The initial value (here 6936 kWh) is always the initial counter of lifetime ...
by bjornp
Saturday 29 June 2019 12:39
Forum: Show your projects
Topic: Solivia Gateway to get inverter counters
Replies: 1
Views: 1069

Solivia Gateway to get inverter counters

If someone else want to read the Solivia Gateway counters of inverters you can use this. Edit: do not use os.exit() :? .. It kills Domoticz. Use return instead. Changed code below. -- Get Solivia inverter counters -- Change weburl and inverter device name return { on = { timer = { "every 5 minutes ...
by bjornp
Saturday 29 June 2019 12:35
Forum: Show your projects
Topic: Domoticz logging the output of a Kostal Piko inverter
Replies: 30
Views: 12161

Re: Domoticz logging the output of a Kostal Piko inverter

I rewrote the script using the new dzVents format so you can change the interval (here it is 5 minutes). It does not use a temporary file anymore and the counters are fetched even if the number of digits change ...