Search found 55 matches

by brjhaverkamp
Saturday 23 September 2023 8:30
Forum: Dashticz
Topic: graph with year range till yesterday
Replies: 0
Views: 944

graph with year range till yesterday

Hi all, I have a "little anoyance" on my dashboard that I was trying to solve today. But I couldn't figure out how. I hope someone can help me here. I currently plot my gas and electricity usage (daily and cumulative) over the year and have a rolling counter for the total usage over the year. The ...
by brjhaverkamp
Saturday 14 January 2023 10:29
Forum: Python
Topic: chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin
Replies: 9
Views: 1365

Re: chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin

OK, I tried the delayed startup of the solaredge module by adding a delay parameter and executing a sleep right at the beginning of onStart(self). This doesn't have the desired effect. Also from the traces I sent, it looks like the crash happens right at the initiation of the module, possibly even ...
by brjhaverkamp
Thursday 12 January 2023 14:28
Forum: Python
Topic: chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin
Replies: 9
Views: 1365

Re: chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin

Hi Watervl Yes, I read the thread. It could be related, although I didn't see any mention of a hard crash there. I wonder if this can be solved on the domoticz level. Does it make sense to start modules (or only identical modules) with a certain interval in between? Or Addie, if you read this, can ...
by brjhaverkamp
Thursday 12 January 2023 7:56
Forum: Python
Topic: chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin
Replies: 9
Views: 1365

Re: chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin

New observation. Only if I have them both enabled, I observe the segfaults. If I have only one plugin enabled, and the other disabled, I could start domoticz 10 times without observing a crash. Could this be a bottleneck issue or overload issue on the modbus side? or are messages confused? (I have ...
by brjhaverkamp
Tuesday 10 January 2023 17:08
Forum: Python
Topic: chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin
Replies: 9
Views: 1365

Re: chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin

Hi Boum, Yes, I have to sets of SolareEdge panels. One on the diningroom and one on the attic. So I have two instances of the plugin running. But also with one of them disabled, I have the same issue. On the console the traceback looks like the issue is in the initialization already, when looking at ...
by brjhaverkamp
Sunday 08 January 2023 10:26
Forum: Python
Topic: chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin
Replies: 9
Views: 1365

chasing segfault in domoticz with domoticz-solaredge-modbustcp-plugin

Hello all, This Christmas break I decided to upgrade my domoticz setup. I moved from a raspberry pi 2 with buster to a raspberry pi 3 with bullseye. I though it best to start from scratch, so I installed a fresh image on a new SD card. I moved over the domoticz.db and started it up. Installed all ...
by brjhaverkamp
Thursday 22 December 2022 18:51
Forum: Python
Topic: Prepopulate setup defaults
Replies: 1
Views: 145

Prepopulate setup defaults

Hi all, Hopefully someone knows how, or can tell me this is currenrtly not doable. I would like to set the defaults in the plugin configuration params. For my stove, I can do a discover call on the network to get back the serial number and IP address. These are 2 of the 3 params that need to be set ...
by brjhaverkamp
Thursday 22 December 2022 18:41
Forum: Python
Topic: Basic plugin with DomoticzEx question
Replies: 5
Views: 386

Re: Basic plugin with DomoticzEx question

Hi Waltervi,

Just to close this thread: Thanks for the example!!.
It helped a lot! I got my basic Aduro plugin working.
Now working on expanding and cleaning up!
Regards,

Bert
by brjhaverkamp
Thursday 22 December 2022 18:38
Forum: Python
Topic: Create thermostat device with 1 degree increments
Replies: 3
Views: 474

Re: Create thermostat device with 1 degree increments

Thanks for the answer.
Alas, I guess I will have to live with it then. until someone makes it configurable. Who knows.:-)
It is only a minor anoyance for me.
by brjhaverkamp
Thursday 22 December 2022 10:11
Forum: Utility
Topic: New Python plugin: Domoticz SolarEdge_ModbusTCP
Replies: 87
Views: 13770

Re: New Python plugin: Domoticz SolarEdge_ModbusTCP

Hi Addie et.all, I thought this christmas break was a good idea to update my domoticz a bit. Your plugin was one of the things to update. I am running your plugin to great satisfaction for a long time now. But I was still on the version of October 2020 before. I updated it with a simple git pull ...
by brjhaverkamp
Wednesday 21 December 2022 17:31
Forum: Python
Topic: Create thermostat device with 1 degree increments
Replies: 3
Views: 474

Create thermostat device with 1 degree increments

hi all, I am trying to write a plugin to control my pelet stove. I am using a thermostat device, created in Domoticz to control the setpoint of the stove However, I have a little anoyance I want to solve. The setpoint of the stove has 1 degree increments The thermostat device has 0.5 degree ...
by brjhaverkamp
Wednesday 07 December 2022 20:57
Forum: Python
Topic: Basic plugin with DomoticzEx question
Replies: 5
Views: 386

Re: Basic plugin with DomoticzEx question

Hi Waltervl, Thanks. Indeed it is one of the few I could find. But the onCommand doesn't seem to have an update function. Or at least not that I could find/recognise. I now got it working with the following code. But is this indeed the expected way? It looks quite convoluted. so any suggestion ...
by brjhaverkamp
Tuesday 06 December 2022 21:00
Forum: Python
Topic: Basic plugin with DomoticzEx question
Replies: 5
Views: 386

Basic plugin with DomoticzEx question

Hello all, I am trying to create a plugin, based on the Basetemplate.py I am able to create some devices (or are they called units now? BurnerSwitch = Domoticz.Unit(Name="BurnerSwitch", DeviceID="AduroHx", Unit=1, Type=244, Subtype=73, Switchtype=0).Create() But I am not able to use the devices that ...
by brjhaverkamp
Sunday 04 December 2022 13:01
Forum: Utility
Topic: Working on python plugin for Aduro H1 wood-pellet stove
Replies: 1
Views: 483

Re: Working on python plugin for Aduro H1 wood-pellet stove

Hi all, I am still stuck at point one of my earlier post: Getting the switch to flip in the dashboard. The documentation on https://www.domoticz.com/wiki/Developing_a_Python_plugin is not entirely consistent, as it is in transition from Domoticz to DomoticzEx I guess. But I figures out that Devices ...
by brjhaverkamp
Saturday 03 December 2022 19:24
Forum: Utility
Topic: Working on python plugin for Aduro H1 wood-pellet stove
Replies: 1
Views: 483

Working on python plugin for Aduro H1 wood-pellet stove

Hi all, A few days ago I came across the pyduro python library written by Clement Prevot. https://github.com/clementprevot/pyduro This thing allows one to control the Aduro H series of wood and pellet stoves (and hybrids) without the mobile app that works via the cloud. I own a H1 stove, so I was ...
by brjhaverkamp
Saturday 29 October 2022 7:49
Forum: Dashticz
Topic: Offset in Graph with counter data
Replies: 4
Views: 501

Re: Offset in Graph with counter data

Hi Lokonli Wow! I love undocumented features!! Thank you very much for your pointer. This was exactly what I was looking for. With this tip, I was able to finish the graphs I was working on! I can now plot my daily usage and the cumulative usage over 1 year. In domoticz I created a dZvents script to ...
by brjhaverkamp
Thursday 27 October 2022 17:25
Forum: Dashticz
Topic: Offset in Graph with counter data
Replies: 4
Views: 501

Re: Offset in Graph with counter data

Hello all, I assume based on the lack of replies till now, that there is currently no way to create the behavior I am looking for. I opened a new issue for this in github. https://github.com/Dashticz/dashticz/issues/1003 Maybe someone can find (or can point me) at a way to include this. it would ...
by brjhaverkamp
Sunday 23 October 2022 8:06
Forum: Dashticz
Topic: Offset in Graph with counter data
Replies: 4
Views: 501

Re: Offset in Graph with counter data

Hello all, Sorry for bumping this question. :-( But it is the last remaining item on my list that I haven't been able to fix or circumvent in Dashticz. Is there a way to get a counter or sensor value as a variable into the graph to subtract from the data? I can do: "last year": { range: 'year ...
by brjhaverkamp
Sunday 16 October 2022 8:47
Forum: Dashticz
Topic: Graph with data with same unit but different magnitude
Replies: 2
Views: 296

Re: Graph with data with same unit but different magnitude

Hi Lokonli, Thanks! The (misspelled) ylabels is a good trick. Meanwhile I circumvented it by putting the cumulative graphs of gas and electricity together. Those sure have different yaxis:-) But with your tip I can revert back to my original plan. I am still facing 2 challenges though. 1) I want the ...
by brjhaverkamp
Thursday 13 October 2022 15:38
Forum: Dashticz
Topic: Offset in Graph with counter data
Replies: 4
Views: 501

Offset in Graph with counter data

Hello all, I am trying to make a graph with my yearly gas usage, measured with a P1 device. The last snag is that I want to subtract the c value of last year. I checked and I can subtract a constant value from the graph. data: { G: 'd.c_3-11140.85', } The value is available. It is in the title even ...