Search found 7 matches

by infoed
Wednesday 20 November 2024 16:05
Forum: dzVents
Topic: Access multiple json.item objects
Replies: 1
Views: 394

Access multiple json.item objects

Hi, I 'm looking for a way to process multiple HTTP resonses of different openurl results. E.g : Open 2 different graph API calls for 2 different devices (idx 1 and idx2) url1 = dz.settings['Domoticz url'] .. '/json.htm?type=command&param=graph&sensor=counter&range=year&idx=' .. id1 dz.openURL({ url ...
by infoed
Monday 28 October 2024 17:29
Forum: dzVents
Topic: Script that uses "Counter Incremental" Energy
Replies: 6
Views: 786

Re: Script that uses "Counter Incremental" Energy

Thank you for advising to a recent version. I'm testing it right now.

Do you know how its daily totals are being calculated within the monthly tables?
I'm expecting a sum of 24 calculations: 24* hourly price * hourly usage-delivery?
by infoed
Monday 28 October 2024 13:16
Forum: Bugs and Problems
Topic: Difference of energy usage daily usage vs counters
Replies: 2
Views: 285

Re: Difference of energy usage daily usage vs counters

Thanks for pointing me to the related issue. Indeed, I've noticed the same timestamp issue (not being 00:00) On a year base that rounds up (for me) up to tens of euros.. Therefor these values can not be used to check the suppliers invoices and I have to use the counters. No problem, but a "need to ...
by infoed
Monday 28 October 2024 11:54
Forum: dzVents
Topic: Script that uses "Counter Incremental" Energy
Replies: 6
Views: 786

Re: Script that uses "Counter Incremental" Energy

I am looking for a custom device in which I can store the hourly costs of gas / electric. I read that I should not use a counter incremental but a normal energy counter. But those counters are using the energy rates as defined with the setup. I would like to store the hourly prices in a custom ...
by infoed
Wednesday 23 October 2024 12:36
Forum: dzVents
Topic: historical data from db
Replies: 2
Views: 1996

Re: historical data from db

Be aware that the content of the results of the json API calls may have changed! I updated from DOM 2024.1 to 2024.7. In some of the JSON API results with energy meters with more then one counter , in version 2024.1 there's the "v" and in 2024.7 changed in "v1". E.g result for P1 smart meter with ...
by infoed
Monday 21 October 2024 16:41
Forum: Bugs and Problems
Topic: Difference of energy usage daily usage vs counters
Replies: 2
Views: 285

Difference of energy usage daily usage vs counters

Version: 2024.1 stable Platform: docker on Sysnology NAS Plugin/Hardware: NAS I've noticed serious differences in energy meters between the usage and counters. What I did: - take the january and february monthly reports of my P1 energy meter device which connects to hardware device P1 Smart Meter ...
by infoed
Monday 21 October 2024 14:56
Forum: Suggestions
Topic: Energy, Gas, Water JSON/API question/answer suggestion.
Replies: 7
Views: 2379

Re: Energy, Gas, Water JSON/API question/answer suggestion.

Hi, I'm looking for one API call where I can see the daily usage and the counters for both the "result" as the "prevresult" payload. Purpose is to get an calculation of yearly usage based on "to day". I've noticed that sometimes the dayly usage calculation, every night by domitcz, is returning ...