Page 3 of 8

Re: enphase envoy with (HTTP) interface

Posted: Monday 27 February 2023 12:27
by rrozema
brugje wrote: Saturday 25 February 2023 11:43 When i do a curl on my envoy Ip i get.
Is there somebody with a solution.
groet Jan
I think this is what I have read about in other threads: not sure about the details but I think you need to go into the settings page in Domoticz, open the 'Security' tab, and there enter both 127.0.0.1;192.168.x.y, where x and y are the digits for the internal ip address of your domoticz. I used to have .* in there, as is suggested in the comments, but I read somewhere that this no longer works.. Give it a try.
Capture4.JPG
Capture4.JPG (96.57 KiB) Viewed 25128 times
I also enabled 'Allow Basic Auth authentication over HTTP (API calls)', but I'm not sure that is actually needed.

My own problem seems to be something else though. I'm guessing the firmware in my envoy got updated? Or is it the software in Domoticz that has changed?

Re: enphase envoy with (HTTP) interface

Posted: Monday 27 February 2023 12:48
by rrozema
rrozema wrote: Monday 27 February 2023 12:07 Hi, I just noticed that my enphase panels no longer pass their information into Domoticz after I upgraded to 2023.1. All enphase devices are shown in Domoticz with red title bars and show no more updates since the update.
Capture1.JPG

I have the Domoticz standard hardware for installed:
Capture2.JPG

The http://192.168.128.103 address is showing me the enphase envoy screen in a browser correctly.

When I look into the Domoticz log though I find below messages just after I activated the 'enphase' hardware. Other than that I see no messages from enphase, even with full logging enabled.

Code: Select all

2023-02-27 11:53:47.146 Status: enphase: Worker started...
2023-02-27 11:53:51.262 Status: enphase: Connected, serial: 121831009724, software: R5.0.55
2023-02-27 11:53:51.262 Status: enphase: Unsupported software version! Please contact us for support!
2023-02-27 11:53:52.717 enphase: General/kWh (Zonnepanelen Productie)
2023-02-27 11:53:52.740 enphase: General/kWh (Enphase kWh Consumption)
2023-02-27 11:53:52.837 enphase: General/kWh (Enphase kWh Net Consumption)
What could be the issue, and of course: how do i get to work again? This integration has worked like a charm since at least 2019. Please help!
Capture3.JPG
Ah, I just noticed that the default solar panel production values are updated successfully. It is only the additional values like 'usage', and 'net usage', available only from envoy-metered (instead of envoy-S), are not updated anymore. This must be an issue in the new enphase domoticz hardware: it does no longer read and update the meters added in the metered envoy. @gizmocuz
Please note the 'Laatst gezien' column in this picture showing all of the devices listed for my enphase hardware. The additional devices available from the metered envoy are no longer updated after I updated to 2023.1.
Capture5.JPG
Capture5.JPG (101.95 KiB) Viewed 25124 times

Re: enphase envoy with (HTTP) interface

Posted: Monday 27 February 2023 15:10
by Redbora
The same issue over here. The P1 meters are from my metered Envoy-S are not updated anymore.

Re: enphase envoy with (HTTP) interface

Posted: Monday 27 February 2023 15:24
by waltervl
Redbora wrote: Monday 27 February 2023 15:10 The same issue over here. The P1 meters are from my metered Envoy-S are not updated anymore.
Please add some more info than only it is not working anymore.
What is the log file registring when stopping and starting the Enphase hardware in Domoticz (menu Setup - hardware)?
What firmware is on your Enphase system?

Edit: See viewtopic.php?t=39618. P1 Meter is removed from Enphase configuration as it is not the correct device to do solar energy monitoring.

Re: enphase envoy with (HTTP) interface

Posted: Monday 27 February 2023 15:30
by FireWizard
Hello @rrozema and @Redbora

In the latest stable 2023.1 and from beta 14777 (See: https://www.domoticz.com/wiki/Domoticz_ ... le_V2022.2) the P1 device has been removed from the Enphase hardware. The reason has been, that P1 Smart Meter device is intended for a P1 Smart Meter. That makes sense, doesn't it :)
This device showed more or less the same data as the kWh widget.
So you can remove this deviced from your "used devices". It will not be updated anymore.

See also the discussion on github: https://github.com/domoticz/domoticz/issues/5377 (from November 23)

But ...., you lost one device,but got also something in return.

Such as:
- The option to get production data from individual inverters.
- Support for software version D7

See also the README for 2023.1

If other devices has stopped updating, you might have to check the username/password in relation with the Enphase software (D5 or D7)

Regards

Re: enphase envoy with (HTTP) interface

Posted: Monday 27 February 2023 19:47
by rrozema
FireWizard wrote: Monday 27 February 2023 15:30 Hello @rrozema and @Redbora

In the latest stable 2023.1 and from beta 14777 (See: https://www.domoticz.com/wiki/Domoticz_ ... le_V2022.2) the P1 device has been removed from the Enphase hardware. The reason has been, that P1 Smart Meter device is intended for a P1 Smart Meter. That makes sense, doesn't it :)
This device showed more or less the same data as the kWh widget.
So you can remove this deviced from your "used devices". It will not be updated anymore.

See also the discussion on github: https://github.com/domoticz/domoticz/issues/5377 (from November 23)

But ...., you lost one device,but got also something in return.

Such as:
- The option to get production data from individual inverters.
- Support for software version D7

See also the README for 2023.1

If other devices has stopped updating, you might have to check the username/password in relation with the Enphase software (D5 or D7)

Regards
Thanks, I do see that my logged information is available in the new device's logs. So, I'm happy about that. But I do not see information for my individual panels as was promised. Do I need to do something else to get the individual panels added?

And while we're on it, do you have more information on what's in this release? I looked at the link you provided and some messages posted in the forum, but could not find a readme that has any information from a user's perspective. A list of commit comments (even without links to the commits themselves) is not very informative on what to expect or how to use/activate/deactivate new features.

Re: enphase envoy with (HTTP) interface

Posted: Monday 27 February 2023 22:14
by Redbora
rrozema wrote: Monday 27 February 2023 19:47 Thanks, I do see that my logged information is available in the new device's logs. So, I'm happy about that. But I do not see information for my individual panels as was promised. Do I need to do something else to get the individual panels added?
In my situation the invertors were not displayed either. Try the add or update option with your Enphase in the hardware module of domoticz. Then a login and password field appears in the setup of the communication with the Envoy. Use “envoy” as login and the last six digits of your envoy serial. After doing so the individual inverters are added. I still have to check if the readings are correct.

I also understand now why the meters have disappeared.

Re: enphase envoy with (HTTP) interface

Posted: Wednesday 01 March 2023 12:52
by benedict
Our enphase connected solar-panels are all there, the only thing that's incorrect with domoticz is that it calls 'usage' when I show graphs etc. It's not power usage in kWh, it's generated kWh, or created kWh.

Re: enphase envoy with (HTTP) interface

Posted: Wednesday 01 March 2023 13:16
by gizmocuz
Can you edit the device and set it to generated?

Re: enphase envoy with (HTTP) interface

Posted: Wednesday 01 March 2023 18:10
by JustDude
I noticed the same, editing the device is not possible.
I presume I can find the text in the plugin and edit the label, but better that the original source is adapted accordingly.

Re: enphase envoy with (HTTP) interface

Posted: Wednesday 01 March 2023 19:31
by rrozema
@benedict & @JustDude:
Because a picture sometimes says more than a 1000 words: I think gizmocuz asks you to go to the device and press it's 'Aanpassen' button to open this screen:
Capture.JPG
Capture.JPG (32.73 KiB) Viewed 25050 times
Then change the value after "Type:" to "Levering" for the solar production (if it's not like that yet), and to "Verbruik" for the both other devices. If your device's properties page does not show this option, please close all of your browser windows and refresh your browser cache. And then try again.

Re: enphase envoy with (HTTP) interface

Posted: Wednesday 01 March 2023 19:45
by rrozema
@gizmocuz, what can I do to make the individual inverters show up as devices in Domoticz? I've tried restarting Domoticz, clearing the browser cache, de-activating the enphase hardware and re-activating it. The ip, port, user name and password I entered are correct: if I go to my envoy's inverters url (http://192.168.128.103/api/v1/production/inverters) and enter the same credentials I do get a json with all inverters listed.
Spoiler: show
[
{
"serialNumber": "121915102986",
"lastReportDate": 1677691567,
"devType": 1,
"lastReportWatts": 0,
"maxReportWatts": 253
},
{
"serialNumber": "121915103339",
"lastReportDate": 1677690556,
"devType": 1,
"lastReportWatts": 1,
"maxReportWatts": 253
},
{
"serialNumber": "121915103253",
"lastReportDate": 1677691523,
"devType": 1,
"lastReportWatts": 0,
"maxReportWatts": 253
},
{
"serialNumber": "121916009031",
"lastReportDate": 1677691659,
"devType": 1,
"lastReportWatts": 0,
"maxReportWatts": 251
},
{
"serialNumber": "121915103008",
"lastReportDate": 1677691578,
"devType": 1,
"lastReportWatts": 0,
"maxReportWatts": 252
},
{
"serialNumber": "121915103068",
"lastReportDate": 1677690571,
"devType": 1,
"lastReportWatts": 1,
"maxReportWatts": 252
},
{
"serialNumber": "121915103047",
"lastReportDate": 1677690567,
"devType": 1,
"lastReportWatts": 1,
"maxReportWatts": 251
},
{
"serialNumber": "121915102719",
"lastReportDate": 1677690570,
"devType": 1,
"lastReportWatts": 1,
"maxReportWatts": 253
},
{
"serialNumber": "121915102560",
"lastReportDate": 1677691584,
"devType": 1,
"lastReportWatts": 0,
"maxReportWatts": 252
},
{
"serialNumber": "121916009199",
"lastReportDate": 1677690566,
"devType": 1,
"lastReportWatts": 1,
"maxReportWatts": 253
},
{
"serialNumber": "121915103759",
"lastReportDate": 1677690546,
"devType": 1,
"lastReportWatts": 1,
"maxReportWatts": 254
},
{
"serialNumber": "121915103342",
"lastReportDate": 1677691625,
"devType": 1,
"lastReportWatts": 0,
"maxReportWatts": 253
},
{
"serialNumber": "121915103286",
"lastReportDate": 1677691581,
"devType": 1,
"lastReportWatts": 0,
"maxReportWatts": 252
},
{
"serialNumber": "121916009412",
"lastReportDate": 1677690551,
"devType": 1,
"lastReportWatts": 1,
"maxReportWatts": 252
},
{
"serialNumber": "121916009408",
"lastReportDate": 1677690556,
"devType": 1,
"lastReportWatts": 1,
"maxReportWatts": 252
},
{
"serialNumber": "121915101406",
"lastReportDate": 1677691834,
"devType": 1,
"lastReportWatts": 0,
"maxReportWatts": 253
}
]

I don't know what else I can try other than deleting and re-creating the enphase hardware, which I'm reluctant to try because that would make me lose all historic data of my solar production.

When I activate the Enphase hardware I do get a status message "Unsupported software version! Please contact us for support!" that I think could be relevant:
2023-03-01 19:20:38.354 Status: enphase: Worker stopped...
2023-03-01 19:20:42.691 Status: enphase: Worker started...
2023-03-01 19:20:46.756 Status: enphase: Connected, serial: 121831009724, software: R5.0.55
2023-03-01 19:20:46.756 Status: enphase: Unsupported software version! Please contact us for support!
Do you have any other hints? I'm on 2023.1.

Re: enphase envoy with (HTTP) interface

Posted: Wednesday 01 March 2023 20:27
by JustDude
rrozema wrote: Wednesday 01 March 2023 19:31 @benedict & @JustDude:
Because a picture sometimes says more than a 1000 words: I think gizmocuz asks you to go to the device and press it's 'Aanpassen' button to open this screen:
Thanks!
Bummer, I noticed that I used another Enphase plugin (Enphase with micro inverters) and not the one in the list.
Now I can change the return and usage options.
I added the "wrong" one as a plugin: removed to prevent confusion

Re: enphase envoy with (HTTP) interface

Posted: Wednesday 01 March 2023 23:56
by benedict
rrozema wrote: Wednesday 01 March 2023 19:31 @benedict & @JustDude:
Because a picture sometimes says more than a 1000 words: I think gizmocuz asks you to go to the device and press it's 'Aanpassen' button to open this screen:
This means I have to go and do this for 60 times where I am.. Isn't there a way to default this for the source?

Re: enphase envoy with (HTTP) interface

Posted: Thursday 06 April 2023 14:15
by mcjackdus
Hi,

I am trying to connect my Envoy but in the logfile it sas that i have to supply username/password.
I do not get this option in the hardware settings menu.
12.png
12.png (119.01 KiB) Viewed 24949 times
13.png
13.png (81.19 KiB) Viewed 24949 times
I have the latest version of domoticz installed.
14.png
14.png (387.13 KiB) Viewed 24949 times
what am i doing wrong?

Re: enphase envoy with (HTTP) interface

Posted: Thursday 06 April 2023 23:50
by waltervl
Clear your browser cache! The user/password values should be there!

Re: enphase envoy with (HTTP) interface

Posted: Friday 07 April 2023 7:53
by mcjackdus
waltervl wrote: Thursday 06 April 2023 23:50 Clear your browser cache! The user/password values should be there!
Perfect..its working now..thank you

Re: enphase envoy with (HTTP) interface

Posted: Friday 14 April 2023 10:39
by teo1966
i have this error whit this version
Version: 2023.1
Build Hash: f9b9ac774
Compile Date: 2023-02-14 15:06:40
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110]
Version:Envoy D5.0.62

2023-04-12 17:59:20.615 Error: Enphase Envoy: Power usage to high/low! Usage: 11568 Watt. Max Usage configured: 10000. (NodeID: 0x0006, ChildID: 0x0002, SID: Enphase total-consumption)

Re: enphase envoy with (HTTP) interface

Posted: Friday 14 April 2023 13:26
by waltervl
Check Max power settings in menu setup - settings - tab Meters.

Re: enphase envoy with (HTTP) interface

Posted: Friday 14 April 2023 20:46
by teo1966
waltervl wrote: Friday 14 April 2023 13:26 Check Max power settings in menu setup - settings - tab Meters.
thank you that was it