Search found 212 matches

by JanJaap
Saturday 14 June 2025 23:53
Forum: Bugs and Problems
Topic: update historic data via api
Replies: 10
Views: 338

Re: update historic data via api

That's just what i did: delete the old values first, check (on te api) there's no value and the try to onsert e new one. Still, no success. Can you share you're method?
by JanJaap
Saturday 14 June 2025 22:42
Forum: Bugs and Problems
Topic: update historic data via api
Replies: 10
Views: 338

Re: update historic data via api

OK I ran some test with bogus data: Still getting the same, nice 'ok' reply so guess that does not give much guidance......
by JanJaap
Saturday 14 June 2025 22:27
Forum: Bugs and Problems
Topic: update historic data via api
Replies: 10
Views: 338

Re: update historic data via api

Wel it is listed as the option to update the device history on the wiki. So I would expect updating the svalue to be reflected in the graph?

Additionally, I'd expect a NOK on invalid data (but maybe that's just me being optimistic ;) )
by JanJaap
Saturday 14 June 2025 21:54
Forum: Bugs and Problems
Topic: update historic data via api
Replies: 10
Views: 338

Re: update historic data via api

ok, so I deleted the 0 data via the json api successfully. Shows now the following on: http://<my iP>:8080/json.htm?type=command&param=graph&sensor=counter&idx=490&range=2025-05-17T2025-05-25 Schermafbeelding 2025-06-14 215204.png but when trying to update a value for the 18th using: http://<my ip ...
by JanJaap
Wednesday 04 June 2025 22:20
Forum: Bugs and Problems
Topic: update historic data via api
Replies: 10
Views: 338

update historic data via api

I had a problem with the plugin for one of my solarpanels. I have the data from the app and now want to load that via the json api as per instructions here: https://wiki.domoticz.com/Domoticz_API/JSON_URL%27s#Managed_counter So I compile the following URL: http://<my ip>:8080/json.htm?type=command ...
by JanJaap
Friday 23 May 2025 12:26
Forum: Python
Topic: HomeWizard Battery plugin
Replies: 25
Views: 2164

Re: HomeWizard Battery plugin

Hey, In my plugin for Sessy batteries I create an additional device that combines the data of the individual batteries (and also allows to set modes and power setpoints for the set). For the combined batteries to appear on the dashboard correctly it needs a device of type: Type=243, Subtype=29 or ...
by JanJaap
Saturday 17 May 2025 21:42
Forum: Python
Topic: install Python modules in Domoticz latest beta
Replies: 4
Views: 462

install Python modules in Domoticz latest beta

I'm struggling with the update. When trying to install plugins with dependencies using pip2, I get following error. error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are ...
by JanJaap
Monday 14 April 2025 22:22
Forum: Python
Topic: deleting sensor data from plugin <updated>
Replies: 0
Views: 367

deleting sensor data from plugin <updated>

Hey, I found a method to delete sensor data via the json interface but is this alo possible via the plugin? As this would be more direct? If not, what is the best way to access the json api from the plugin? As I don't want to configure the local IP Adress? The reason to do this is that I'm building ...
by JanJaap
Monday 14 April 2025 21:31
Forum: Examples & Solutions
Topic: Home Battery Simulation and dynamic vs fixed energy contract comparison
Replies: 5
Views: 678

Re: Home Battery Simulation and dynamic vs fixed energy contract comparison

Hey, Nice script! I just decided to do it and have since a couple of months 2x5 kWh Sessy batteries (and obviously created the Sessy plugin ) and switched to a dynamic contract at Vandebron. However am since then working on 2 things: 1 script to make a smart control of the batteries, for which I ...
by JanJaap
Tuesday 01 April 2025 21:10
Forum: Python
Topic: historic/aggregated data missing
Replies: 4
Views: 647

Re: historic/aggregated data missing

OK so it works now. However, I'm entering future day data but that is not being displayed. Is there any device that lets me display (aggregated) future data? What I want, is to load this predicition data and use it in another script to determine the best operating mode for my home batteries. I think ...
by JanJaap
Saturday 29 March 2025 19:57
Forum: Python
Topic: historic/aggregated data missing
Replies: 4
Views: 647

Re: historic/aggregated data missing

OK, so that is actually the sValue input. See logging below: 2025-03-29 19:55:31.036 Solar forecast achter: sValue = 418;289;2025-04-01 19:00:00 2025-03-29 19:55:31.036 Solar forecast achter: Updating device 'Solar forecast achter - 24h forecast' with current sValue '' to '418;289;2025-04-01 19:00 ...
by JanJaap
Wednesday 26 March 2025 22:32
Forum: Python
Topic: historic/aggregated data missing
Replies: 4
Views: 647

historic/aggregated data missing

Hey, I'm trying to build a solar forecast plugin. I'm nicely adding data to the unit but it doesn't create the aggregated views. What am I doing wrong? I tried all of the commented out Options (yes, I deleted the device first) Creating device if self.deviceId not in Devices or (1 not in Devices[self ...
by JanJaap
Wednesday 26 March 2025 22:28
Forum: Python
Topic: python hardware plugin - one instance per device ?!?
Replies: 5
Views: 629

Re: python hardware plugin - one instance per device ?!?

it really depends on the type of info you want to store. If this info is obtained at startup you can simply do it in memory. I contributed to the sOMFY PLUGIN where the device id is storing the device address which is not visible on the UI (you do see it in the device list page) which provides a ...
by JanJaap
Saturday 22 March 2025 20:19
Forum: Python
Topic: HomeWizard Battery plugin
Replies: 25
Views: 2164

Re: HomeWizard Battery plugin

Gizmocuz I wonder about the comments. I am maintaining the plugin for the Sessy battery and created both Energy and P1 meter. The energy indeed for the energy dashboard but I like the overview on the P1 meter better: Schermafbeelding 2025-03-22 201823.png As it states the consumed and provided ...
by JanJaap
Saturday 22 March 2025 20:03
Forum: General Discussion
Topic: time notation on graphs
Replies: 6
Views: 881

Re: time notation on graphs

Indeed when hovering it displays correctly 24 hrs notations. It als depends on time of day, as now ( Saturday evening) it only display 12:00 (iso 12:00 AM). Additional observation: it displays the days in Dutch even though Domoticz is in English. Browser and OS are Dutch, neither of which use AM/PM ...
by JanJaap
Friday 21 March 2025 13:54
Forum: General Discussion
Topic: time notation on graphs
Replies: 6
Views: 881

time notation on graphs

Contratry to the rest of the UI, the graphs nowadays (I thought this occurs since some time but not sure) displays time in AM/PM notation, where the rest has 24 hour notation. Could not find a related setting. Am I missing that? It seems independent of language setting (tried Dutch and English ...
by JanJaap
Monday 03 February 2025 21:07
Forum: General Discussion
Topic: solar power prediction
Replies: 7
Views: 1511

Re: solar power prediction

ok I can fetch data, so far so good. As I never use the dzEvents I'm a bit puzzled to how the sensor update works. Is the 24 hr forecast counter updated per hour? So only one hour form now? Or is it always giving 24 hrs ahead but all hours being updated as time passes? See first part: JanJaapKo ...
by JanJaap
Saturday 01 February 2025 20:02
Forum: General Discussion
Topic: solar power prediction
Replies: 7
Views: 1511

Re: solar power prediction

Tnx! Looks simple enough, might convert it to plugin.
by JanJaap
Saturday 01 February 2025 17:27
Forum: General Discussion
Topic: solar power prediction
Replies: 7
Views: 1511

solar power prediction

Hey,

Has anyone already built some integration to fetch predicted solar power? Would be interested in light of controlling home batteries. First step would be to compare prediction vs actuals..... Solarpanel.forecast for example seems like a potential target to pull form.
by JanJaap
Saturday 01 February 2025 17:25
Forum: Dashticz
Topic: Dashticz - Show your dashboard and how-to's!
Replies: 1004
Views: 325407

Re: Dashticz - Show your dashboard and how-to's!

Wow your daily Fokke&Sukke on Domoticz!