Page 1 of 8
enphase envoy with (HTTP) interface
Posted: Tuesday 31 March 2020 14:18
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
Re: enphase envoy with (HTTP) interface
Posted: Tuesday 31 March 2020 16:30
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 (271.27 KiB) Viewed 25814 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 (14.64 KiB) Viewed 25814 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
Re: enphase envoy with (HTTP) interface
Posted: Wednesday 01 April 2020 11:31
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 (139.58 KiB) Viewed 25801 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
Re: enphase envoy with (HTTP) interface
Posted: Wednesday 01 April 2020 17:02
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
Re: enphase envoy with (HTTP) interface
Posted: Tuesday 07 April 2020 22:36
by smaus
Oke
Thanks for the info
Re: enphase envoy with (HTTP) interface
Posted: Monday 09 May 2022 19:48
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.
Re: enphase envoy with (HTTP) interface
Posted: Tuesday 10 May 2022 22:51
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
Re: enphase envoy with (HTTP) interface
Posted: Tuesday 10 May 2022 22:55
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.
Re: enphase envoy with (HTTP) interface
Posted: Tuesday 10 May 2022 23:01
by FireWizard
@Mat2Vence,
What is your Domoticz version? 3.7449?
Regards
Re: enphase envoy with (HTTP) interface
Posted: Tuesday 10 May 2022 23:11
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.
Re: enphase envoy with (HTTP) interface
Posted: Tuesday 10 May 2022 23:39
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
Re: enphase envoy with (HTTP) interface
Posted: Wednesday 11 May 2022 8:38
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
Re: enphase envoy with (HTTP) interface
Posted: Wednesday 11 May 2022 9:37
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
Re: enphase envoy with (HTTP) interface
Posted: Wednesday 11 May 2022 9:39
by Mat2Vence
I am not the initiator of the topic so I can't edit it.
Re: enphase envoy with (HTTP) interface
Posted: Wednesday 07 September 2022 9:22
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)
Re: enphase envoy with (HTTP) interface
Posted: Wednesday 07 September 2022 22:00
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
Re: enphase envoy with (HTTP) interface
Posted: Thursday 08 September 2022 10:48
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
Re: enphase envoy with (HTTP) interface
Posted: Friday 09 September 2022 13:41
by TurboX
Re: enphase envoy with (HTTP) interface
Posted: Tuesday 20 September 2022 15:01
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
Re: enphase envoy with (HTTP) interface
Posted: Saturday 26 November 2022 7:51
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