Search found 33 matches

by freekdk
Friday 03 October 2025 10:42
Forum: Bugs and Problems
Topic: Enphase device gives error message
Replies: 3
Views: 69

Re: Enphase device gives error message

I found the location in the code and indeed the used URL there needed change. I made issue #6395 and got a reaction that it is repaired in beta 16800. Still waiting to have it appear in the stable version.
by freekdk
Tuesday 30 September 2025 19:07
Forum: Bugs and Problems
Topic: Enphase device gives error message
Replies: 3
Views: 69

Re: Enphase device gives error message

Hi @FireWizard

Thanks for the answer. I already guessed that an invalid token was the cause. Somehow this token is saved in a User Variable, which gets created with a suffix of the harware-id, but it does not contain a requested token. Apparently the code to get a new token in the code needs some ...
by freekdk
Tuesday 30 September 2025 13:54
Forum: Bugs and Problems
Topic: Enphase device gives error message
Replies: 3
Views: 69

Enphase device gives error message

Version: 2025.1
Platform: openSUSE Leap 15.6
Plugin/Hardware: Enphase

At least since September 5th hardware Enphase does not collect any data and gives:

Invalid data received! (production/json)

The cause might be that the token was no longer valid and it looks as if no new token could be obtained ...
by freekdk
Monday 29 September 2025 16:18
Forum: Python
Topic: HomeWizard 3F and 1F kWh meter plugins
Replies: 9
Views: 1620

Re: HomeWizard 3F and 1F kWh meter plugins

I updated both README.md files and made an enhanced version 1.0.1 for the 1F. It uses Mode3 to set an offset value, so the counter with kWh gets an offset in case it replaces an earlier device measuring the energy used or produced earlier. The offset value should be the last value of the used or ...
by freekdk
Monday 29 September 2025 16:03
Forum: Python
Topic: Help needed: Stopping a python plugin from its own source
Replies: 6
Views: 117

Re: Help needed: Stopping a python plugin from its own source

Try ending the function with:

return False
by freekdk
Monday 29 September 2025 12:15
Forum: Python
Topic: Parameter value in one Python plugin that is different when used more than once
Replies: 1
Views: 34

Re: Parameter value in one Python plugin that is different when used more than once

Apparently when declaring a variable in class BasePlugin, that value is used in both used hardware device in Domoticz. To distinguish between the different hardware devices one needs to use the parameter Parameters["Mode3"], which is assigned to the parameter in class BasePlugin, but get reassigned ...
by freekdk
Saturday 27 September 2025 16:22
Forum: Python
Topic: Parameter value in one Python plugin that is different when used more than once
Replies: 1
Views: 34

Parameter value in one Python plugin that is different when used more than once

I have two HomeWizard 1F kWh devices and in domoticz I have two hardware devices using the same plugin. I activated a Mode3 parameter which shows in the two lines in the Hardware window to have two different values for that parameter.

I declared that parameter under the class BasePlugin and use it ...
by freekdk
Saturday 27 September 2025 16:10
Forum: Python
Topic: Parameter value in one Python plugin that is different when used more than once
Replies: 0
Views: 21

Parameter value in one Python plugin that is different when used more than once

I have two HomeWizard 1F kWh devices and in domoticz I have two hardware devices using the same plugin. I activated a Mode3 parameter which shows in the two lines in the Hardware window to have two different values for that parameter.

I declared that parameter under the class BasePlugin and use it ...
by freekdk
Tuesday 26 August 2025 11:17
Forum: Other questions and discussions
Topic: Strange values in graphics of Enphase device
Replies: 3
Views: 225

Re: Strange values in graphics of Enphase device (solved)

I found the problem.

One of the counter values of a date in June 2023 was not the sum of the counter value of the previous day and the value of that day. With an sqlite3 update I corrected that value. Other values around that day were OK. Maybe the sqlite3 update for that day, when I corrected all ...
by freekdk
Monday 25 August 2025 23:25
Forum: Other questions and discussions
Topic: Strange values in graphics of Enphase device
Replies: 3
Views: 225

Re: Strange values in graphics of Enphase device

I have been struggling with this as well and have managed to get the daily/monthly totals corrected in the database. In the year view of 2024, august 2024 in my case, I still see the spike (and one in september as well due to a second enphase update a month later...). I have tried to correct this ...
by freekdk
Monday 25 August 2025 15:31
Forum: Other questions and discussions
Topic: Strange values in graphics of Enphase device
Replies: 3
Views: 225

Strange values in graphics of Enphase device

Like last year I had again a spike in the data for the Enphase device.

I took the data for the day production of the spike day and corrected that value in the table Meter_Calendar; the item Value.
Obviously also the value of the item Counter needed correction, which means that almost all values of ...
by freekdk
Tuesday 06 May 2025 23:31
Forum: Python
Topic: HomeWizard 3F and 1F kWh meter plugins
Replies: 9
Views: 1620

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: 9
Views: 1620

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: 9
Views: 1620

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: 9
Views: 1620

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: 1622

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 45 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: 1622

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: 1622

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: 229

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: 229

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 ...