enphase envoy with (HTTP) interface

Moderator: leecollings

Post Reply
smaus
Posts: 84
Joined: Sunday 18 February 2018 9:32
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

enphase envoy with (HTTP) interface

Post by smaus »

i try to connect my envoy with domoticz bij i get a error error: enphaseapi: invalid data reseived!


Can someone help me with this.

many thanks
User avatar
FireWizard
Posts: 1771
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: enphase envoy with (HTTP) interface

Post by FireWizard »

Hi,

@smaus,

You wrote:
i try to connect my envoy with domoticz bij i get a error error: enphaseapi: invalid data reseived!
Can someone help me with this.
At least we can try, but I need a little bit more information.

I assume that you use or try to use the Enphase hardware in Domoticz?

Screenshot_Envoy-S1.png
Screenshot_Envoy-S1.png (271.27 KiB) Viewed 25383 times
Which type of Envoy do you have installed?
Standard version? Or the "metered" version? Or even any other model? Is it a new installation or older?
Has it been working before?

At least.

Take your favorite browser and go to the following URL: http://<IP address of your Envoy> /production.json and check that you get some data, similar to the picture below:

Screenshot_Envoy-S2.png
Screenshot_Envoy-S2.png (14.64 KiB) Viewed 25383 times
What you will see is the number of connected and active inverters. In this picture 8.
Also the produced Power at the moment (1224 W) and also the total production during lifetime in Wh.

I assume you do not have a AC battery connected, for local storage.

In case of a "metered" version, you will see more data.

Check it and report back.

Regards
smaus
Posts: 84
Joined: Sunday 18 February 2018 9:32
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: enphase envoy with (HTTP) interface

Post by smaus »

Which type of Envoy do you have installed? Standard version? Or the "metered" version? Or even any other model?

this one is intalled
20200401_111557_resized.jpg
20200401_111557_resized.jpg (139.58 KiB) Viewed 25370 times
Is it a new installation or older?

4 years old

Has it been working before?

no i try to make it work


Take your favorite browser and go to the following URL: http://<IP address of your Envoy> /production.json and check that you get some data.

this is not working for me.

regards
User avatar
FireWizard
Posts: 1771
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: enphase envoy with (HTTP) interface

Post by FireWizard »

@smaus

The one you have installed is neither an Enphase Envoy-S, nor an Enphase Envoy-S metered, but an Enphase Envoy ENV-120 M Communication Gateway.
The Domoticz hardware, as far as I know, does not support this older version.
I couldn't find any information on how to access it.

Some data I found at: http://hackadayarchive.com/viewtopic.php?f=10&t=4324
Perhaps this give you some indication. Check also the other links in the bottom.

Another way to get data into Domoticz is to use the same approach, as described at: https://www.domoticz.com/forum/viewtopic.php?t=22368

Regards
smaus
Posts: 84
Joined: Sunday 18 February 2018 9:32
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: enphase envoy with (HTTP) interface

Post by smaus »

Oke

Thanks for the info
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

Re: enphase envoy with (HTTP) interface

Post by Mat2Vence »

Hi,
I have the same error message when I am trying to connect to my Envoy-S metered.
When I am checking <ip adress>/production.json I am getting the following data :

Code: Select all

{"production":[{"type":"inverters","activeCount":2,"readingTime":1652118271,"wNow":24,"whLifetime":1845},{"type":"eim","activeCount":1,"measurementType":"production","readingTime":1652118343,"wNow":23.768,"whLifetime":1879.585,"varhLeadLifetime":0.0,"varhLagLifetime":907.098,"vahLifetime":3219.018,"rmsCurrent":0.358,"rmsVoltage":238.78,"reactPwr":34.708,"apprntPwr":87.515,"pwrFactor":0.36,"whToday":1794.585,"whLastSevenDays":1879.585,"vahToday":2711.018,"varhLeadToday":0.0,"varhLagToday":684.098}],"consumption":[{"type":"eim","activeCount":1,"measurementType":"total-consumption","readingTime":1652118343,"wNow":3067.718,"whLifetime":12240.048,"varhLeadLifetime":10593.636,"varhLagLifetime":2.83,"vahLifetime":20591.518,"rmsCurrent":13.813,"rmsVoltage":238.697,"reactPwr":-224.892,"apprntPwr":3108.486,"pwrFactor":0.99,"whToday":7804.048,"whLastSevenDays":12132.048,"vahToday":14591.518,"varhLeadToday":8131.636,"varhLagToday":2.83},{"type":"eim","activeCount":1,"measurementType":"net-consumption","readingTime":1652118343,"wNow":3043.95,"whLifetime":0.0,"varhLeadLifetime":10593.636,"varhLagLifetime":-904.268,"vahLifetime":20591.518,"rmsCurrent":13.454,"rmsVoltage":238.738,"reactPwr":-190.184,"apprntPwr":3212.084,"pwrFactor":0.95,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0}],"storage":[{"type":"acb","activeCount":0,"readingTime":0,"wNow":0,"whNow":0,"state":"idle"}]}
Thanks for your help.
User avatar
FireWizard
Posts: 1771
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: enphase envoy with (HTTP) interface

Post by FireWizard »

Hello @Mat2Vence

You wrote:
I have the same error message when I am trying to connect to my Envoy-S metered.
Do you mean "enphaseapi: invalid data received!"?

Do you connect to the Enphase "hardware" in Domoticz? and you see the error message in the Domoticz log?

If I check your data, I do not see anything wrong and it is equal to what Domoticz is expecting
Do you receive the message every 30 seconds? Or is it sometimes?

Domoticz version?
Operating system?

Regards
Last edited by FireWizard on Wednesday 07 September 2022 16:01, edited 1 time in total.
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

Re: enphase envoy with (HTTP) interface

Post by Mat2Vence »

Hi,
Thanks for the reply.
I am getting the error message in the log every 30 seconds "Error: Envoy: EnphaseAPI: Error getting http data!"

The hardware is setup in Domoticz with the correct IP address. Looks strange to me but don't know how to investigate.
User avatar
FireWizard
Posts: 1771
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: enphase envoy with (HTTP) interface

Post by FireWizard »

@Mat2Vence,

What is your Domoticz version? 3.7449?

Regards
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

Re: enphase envoy with (HTTP) interface

Post by Mat2Vence »

Here is details ;
Version: 2022.1
Build Hash: c9526851b
Compile Date: 2022-01-31 09:34:32
dzVents Version: 3.1.8
Python Version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]

It is running on a RPi4.
User avatar
FireWizard
Posts: 1771
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: enphase envoy with (HTTP) interface

Post by FireWizard »

Hi @Mat2Vence,

I'm aware of one issue, that happened about 3 years.
See: https://github.com/domoticz/domoticz/pull/3378

Since then I have not seen any reports.
But your error message is different (Error getting http data) and not invalid data received.
So I don't think it is the same.
Port setting is correct? (80)

Regards
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

Re: enphase envoy with (HTTP) interface

Post by Mat2Vence »

I've wasted your time.... basic error from my side.. apologize!!
I put http:// in the IP filed! Agrrrrr!!
Coming back to the IP itself only, that's working better!!
Sorry for this and thanks all for your support
User avatar
FireWizard
Posts: 1771
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: enphase envoy with (HTTP) interface

Post by FireWizard »

@Mat2Vence,

Don't worry.
These things just happens, but a discussion on the forum, made that you looked once more.

Good, that it is solved.
Could you mark this topic as solved?

Regards
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

Re: enphase envoy with (HTTP) interface

Post by Mat2Vence »

I am not the initiator of the topic so I can't edit it.
TurboX
Posts: 40
Joined: Wednesday 07 September 2022 9:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: enphase envoy with (HTTP) interface

Post by TurboX »

Hi,

Regarding this official support, it seems not working with new firmware 7.x.
Someone can confirm this?
In my side with firmware D7.0.88.220117, it doesn't work (Error getting http data) and a direct access require the Enphase login.
(tried with @waaren Dzevent without success too)
User avatar
FireWizard
Posts: 1771
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: enphase envoy with (HTTP) interface

Post by FireWizard »

Hi @TurboX,

See https://support.enphase.com/s/question/ ... -to-envoys

See also the Home Assistant forum:
https://community.home-assistant.io/t/e ... 8ea/314452

I do not have version 7 (yet), so I cannot test. If someone can test.

Regards
TurboX
Posts: 40
Joined: Wednesday 07 September 2022 9:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: enphase envoy with (HTTP) interface

Post by TurboX »

Hi @FireWizard

Yes and it seems that some solutions are found for HA (curl authentification / MQTT integration) if I understand well.
By example: https://community.home-assistant.io/t/e ... 328668/577
TurboX
Posts: 40
Joined: Wednesday 07 September 2022 9:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: enphase envoy with (HTTP) interface

Post by TurboX »

If a developper is motivated and own an Envoy with 7.X firmware, I think these link could help:
https://github.com/dlmcpaul/EnphaseColl ... -973656321
https://github.com/edasque/enphaseLocal ... ation-flow
TurboX
Posts: 40
Joined: Wednesday 07 September 2022 9:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: enphase envoy with (HTTP) interface

Post by TurboX »

Hello,

I have install Home Assistant for testing purpose and I confirm that it is possible in firmware V7 to have a local acces to production (and for each solar panel).
The pluging which works: https://github.com/briancmpbll/home_ass ... stom_envoy
User avatar
gizmocuz
Posts: 2394
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: enphase envoy with (HTTP) interface

Post by gizmocuz »

There have been made some changes recently and it is now also possible to use V7 with the native Enphase implementation in Domoticz
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests