Search found 22 matches

by freekdk
Tuesday 06 May 2025 23:31
Forum: Python
Topic: HomeWizard 3F and 1F kWh meter plugins
Replies: 8
Views: 124

Re: HomeWizard 3F and 1F kWh meter plugins

You are right, I copied most of the code from the P1 device, that has these these Mode 3 and 4. The code is there still as comment, but it should be made clear in the README.
by freekdk
Tuesday 06 May 2025 21:13
Forum: Python
Topic: HomeWizard 3F and 1F kWh meter plugins
Replies: 8
Views: 124

Re: HomeWizard 3F and 1F kWh meter plugins

I just happened to have both devices, but what about the users that only have one of these devices.
by freekdk
Tuesday 06 May 2025 0:50
Forum: Python
Topic: HomeWizard 3F and 1F kWh meter plugins
Replies: 8
Views: 124

Re: HomeWizard 3F and 1F kWh meter plugins

The structure of both is the same and there is quit a lot of common code, but one module would make it more complicated.
by freekdk
Monday 05 May 2025 16:47
Forum: Python
Topic: HomeWizard 3F and 1F kWh meter plugins
Replies: 8
Views: 124

HomeWizard 3F and 1F kWh meter plugins

I created for both devices Python plugins:

Code: Select all

git https://github.com/freekdk/Homewizard-Wifi-1F-plugin.git
and

Code: Select all

git https://github.com/freekdk/Homewizard-Wifi-3F-plugin.git
Please let me know your comments.
by freekdk
Monday 31 March 2025 19:08
Forum: Python
Topic: HomeWizard Wi-Fi P1 Meter does not show power usage of phases
Replies: 4
Views: 482

Re: HomeWizard Wi-Fi P1 Meter does not show power usage of phases

When changing these devices in the Others tab to enable Computed after "Energy read:" brings the required graphs on the screen.

Btw:
the attached patch
plugin.patch.txt
(5.64 KiB) Downloaded 14 times
is needed when you have negative power usage (=production by i.e. a PV installation):
by freekdk
Sunday 30 March 2025 14:31
Forum: Python
Topic: HomeWizard Wi-Fi P1 Meter does not show power usage of phases
Replies: 4
Views: 482

Re: HomeWizard Wi-Fi P1 Meter does not show power usage of phases

I do have 2024.7. The device creation is done with: Domoticz.Device(Name="Current phase-1 power usage", Unit=self.active_power_l1_id, Type=243, Subtype=29).Create() I wonder if adding Options={'EnergyMeterMode': '1' } to this statement should solve the problem. Adding an entry in table meter is done ...
by freekdk
Saturday 29 March 2025 16:31
Forum: Python
Topic: HomeWizard Wi-Fi P1 Meter does not show power usage of phases
Replies: 4
Views: 482

HomeWizard Wi-Fi P1 Meter does not show power usage of phases

I did install the python plugin for the HomeWizard Wi-Fi P1 Meter in Domoticz 2024.6. After adding the hardware I get 14 devices, among which are power usage for the 3 phases. However trying to get the graphs of this usage, they show nothing. When I inspect the data in the table meter for these ...
by freekdk
Tuesday 25 March 2025 23:30
Forum: Bugs and Problems
Topic: How to get device back in Dashboard/Others
Replies: 2
Views: 172

Re: How to get device back in Dashboard/Others

Thanks!! That did the trick.
by freekdk
Tuesday 25 March 2025 18:34
Forum: Bugs and Problems
Topic: How to get device back in Dashboard/Others
Replies: 2
Views: 172

How to get device back in Dashboard/Others

Version: 2024.7 Platform: openSUSE Leap 15.5 Plugin/Hardware: PlugwiseStretch Description: PlugwiseStretch reads production of Solarpanels but does not appear in Others and Dashboard System/plugin works since 2021-01-01, only after a certain update of the system and/or domoticz this plugin lost its ...
by freekdk
Saturday 21 September 2024 18:57
Forum: Other questions and discussions
Topic: Spike in Enphase data
Replies: 19
Views: 1803

Re: Spike in Enphase data

I did have the same type of problem. Because I started collecting data from Enphase right after the installation, the begin value of the Counter in Meter_Calendar starts at 1 (made it so). I made the data in Value and Counter consistent, so the counter is value+previous-counter. The last counter (of ...
by freekdk
Friday 20 September 2024 0:01
Forum: Other questions and discussions
Topic: How is value for kWh for specific month calculated?
Replies: 14
Views: 1153

Re: How is value for kWh for specific month calculated?

Would stopping Domoticz, change these values in the database with sqlite3, and restarting Domoticz work? Preferred way is: stop Domoticz, backup database, do changes with sqlite3 and restart Domoticz. In case of problem: stop Domoticz, restore database (copy database backup over corrupted/not ...
by freekdk
Saturday 07 September 2024 12:10
Forum: Other questions and discussions
Topic: How is value for kWh for specific month calculated?
Replies: 14
Views: 1153

Re: How is value for kWh for specific month calculated?

It is not advised to update the meter table directly, for example by sqlite3. If you want to update a counter to a corrected value it is better to use the domoticz.devices().updateCounter() function in a small separate dzVents script. In that way you make sure the value is updated in the meter ...
by freekdk
Friday 06 September 2024 12:33
Forum: Other questions and discussions
Topic: How is value for kWh for specific month calculated?
Replies: 14
Views: 1153

Re: How is value for kWh for specific month calculated?

I have wrong values in table meter in the second column (=total Wh produced). All these values need to be subtracted by a certain value. When I change this value in the right value at the last date/time-value I would expect that the measured Wh in the current 5 minutes would be added to this value ...
by freekdk
Wednesday 04 September 2024 19:00
Forum: Other questions and discussions
Topic: How is value for kWh for specific month calculated?
Replies: 14
Views: 1153

Re: How is value for kWh for specific month calculated?

Thanks that did solve my problem.
by freekdk
Wednesday 04 September 2024 15:57
Forum: Other questions and discussions
Topic: How is value for kWh for specific month calculated?
Replies: 14
Views: 1153

How is value for kWh for specific month calculated?

I have normal values in august this year for a set of PV panels. However when I look at the graph for the months there is a very high value for that month. I looked in domoticz.db and can't find the table where such a value is stored. I would expect this value calculated from the meters_calendar ...
by freekdk
Thursday 11 February 2021 16:42
Forum: Python
Topic: Plugwise circle / stealth - plugin
Replies: 15
Views: 2415

Re: Plugwise circle / stealth - plugin

The hack with the file to store the previous counter value is not needed.
Devices[unitID].sValue contains the previous stored sValue, which contains two numbers: Watt and counter.
So Devices[unitID].sValue.split(';')[1] gives you the previous value of the total Wh used/produced.
by freekdk
Wednesday 10 February 2021 18:16
Forum: Python
Topic: Plugwise circle / stealth - plugin
Replies: 15
Views: 2415

Re: Plugwise circle / stealth - plugin

I managed to change the code so used/produced energy is accounted for. Could not get previous counter values from the database, but I use a file for each device to keep track of the counter value. I have no idea how to upload the new source.
by freekdk
Wednesday 10 February 2021 18:10
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Plugwise Stretch does not show energy used/produced
Replies: 1
Views: 235

Re: Plugwise Stretch does not show energy used/produced

Please IGNORE. See Python for further discussion.
by freekdk
Monday 08 February 2021 12:09
Forum: Python
Topic: Plugwise circle / stealth - plugin
Replies: 15
Views: 2415

Re: Plugwise circle / stealth - plugin

Just found out that in the line:

Code: Select all

self.updateDevice(deviceUnitId, 0, str(valDouble)+';0', True) # force update...
one needs to replace the zero in ";0" by the value of the used/produced energy in Wh.
Will develop the necessary python code to show the use/production during the day.
by freekdk
Sunday 07 February 2021 19:10
Forum: Python
Topic: Plugwise circle / stealth - plugin
Replies: 15
Views: 2415

Re: Plugwise circle / stealth - plugin

I have a combined bash script and pearl script to get the values from the smile and calculate 5 minutes W averages. The smile has about each 8 seconds a new value for used and produced Watt. So averaging this during 5 minutes and multiplying this by 5/60=1/12 gives the produced/consumed Wh. One can ...