Get local Enphase data from individual solar panels in domoticz

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

vwstepha
Posts: 23
Joined: Saturday 17 March 2018 12:18
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Marseille
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by vwstepha »

Hello friends. :D
Indeed, shame on me.... :roll:
I didn't clear the cache. :oops:
Of course, now it's better :lol:

This morning it appeared my 9 micro inverters!
as well as other counters but I have trouble understanding which is my production of the day in Wh, my instantaneous production in W.....

At the same time I left the script I started with the token, but I couldn't get anything.
That's a shame. So I disabled it.
Anyway thank you :mrgreen:


:geek: :geek: :geek: :geek: :?: :?: :?: :geek: :geek: :geek:
Little question:
Micro inverter polling continues even after sunset?
Couldn't we put a twilight condition?
Rpi Master 2022.2 Beta 14905 (Broadlink ok.....)
Rpi slave 2020.2 (since 10days but with error...) with 2 rflink(rts 433 + 833)
HAMZAARIF
Posts: 1
Joined: Wednesday 04 January 2023 17:35
Target OS: -
Domoticz version:
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by HAMZAARIF »

To get local Enphase data from individual solar panels in Domoticz, you will need to have a compatible Enphase system and an Enphase Enlighten account.

Once you have both of these, you can follow these steps to get the data into Domoticz:

In the Domoticz web interface, go to the "Setup -> Hardware" page.
Add a new hardware device and select "Enphase Enlighten" as the type.
Enter your Enphase Enlighten login credentials and click "Add".
The hardware device should now appear in the list of devices on the "Setup -> Hardware" page.
To view the data from your individual solar panels, go to the "Setup -> Devices" page and click on the Enphase device you just added.
You should see a list of all of your solar panels and their current data.
You may also be able to use a plugin or script to pull the data directly from the Enphase system rather than using the Enphase Enlighten web service. This would allow you to get more detailed data and potentially update it more frequently. You can find more information about these options by searching online or consulting the documentation for your Enphase system and Domoticz.
vwstepha
Posts: 23
Joined: Saturday 17 March 2018 12:18
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Marseille
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by vwstepha »

HAMZAARIF wrote: Wednesday 04 January 2023 17:42 To get local Enphase data from individual solar panels in Domoticz, you will need to have a compatible Enphase system and an Enphase Enlighten account.

Once you have both of these, you can follow these steps to get the data into Domoticz:

In the Domoticz web interface, go to the "Setup -> Hardware" page.
Add a new hardware device and select "Enphase Enlighten" as the type.
Enter your Enphase Enlighten login credentials and click "Add".
The hardware device should now appear in the list of devices on the "Setup -> Hardware" page.
To view the data from your individual solar panels, go to the "Setup -> Devices" page and click on the Enphase device you just added.
You should see a list of all of your solar panels and their current data.
Hello.
Thanks to the advice of the 2 previous poster, I was able to achieve this result last night.

The connection to the Enphase system via the script did not work because I must have made a mistake.
Rpi Master 2022.2 Beta 14905 (Broadlink ok.....)
Rpi slave 2020.2 (since 10days but with error...) with 2 rflink(rts 433 + 833)
User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by FireWizard »

Hello @vwstepha,

You asked:
Little question:
Micro inverter polling continues even after sunset?
Couldn't we put a twilight condition?
It is included.

Enphase Envoy (or Gateway) is polled from 60 minutes before Sunrise until 60 minutes after Sunset.
So today it polled from 07:46h until 17:39h
This morning it appeared my 9 micro inverters!
as well as other counters but I have trouble understanding which is my production of the day in Wh, my instantaneous production in W.....
They appeared as soon as you received the first data.

The production of the day is the number in the middle of the widget followed by kWh. If you multiply this with 1000, you have it in Wh.
The current produced power, you will find in the right top corner of the widget, expressed in Watt.

@HAMZAARIF

You said:
To get local Enphase data from individual solar panels in Domoticz, you will need to have a compatible Enphase system and an Enphase Enlighten account.
This is not true. Domoticz communicates directly with the local installed Gateway or Envoy-S (standard or metered) and does not use the Enlighten cloud environment, There are no plans to do that in the future, as well.
Once you have both of these, you can follow these steps to get the data into Domoticz:

In the Domoticz web interface, go to the "Setup -> Hardware" page.
Add a new hardware device and select "Enphase Enlighten" as the type.
Nonsense! Hardware type "Enphase Enlighten" does not exist, so you cannot select it.
Enter your Enphase Enlighten login credentials and click "Add".
The hardware device should now appear in the list of devices on the "Setup -> Hardware" page.
To view the data from your individual solar panels, go to the "Setup -> Devices" page and click on the Enphase device you just added.
You should see a list of all of your solar panels and their current data.
All above is nonsense and misleading.

For those who need a manual for adding an Enphase system into Domoticz, either with firmware D5 or D7, see the WIKI at: https://www.domoticz.com/wiki/Enphase

Regards
Gingerpale
Posts: 10
Joined: Wednesday 13 January 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by Gingerpale »

Hi,
After adding the "Enphase Envoy with LAN (HTTP) interface" hardware gateway in Domoticz I can't find the "Enphase kWh Production" device anywhere. I presume it should show up in Utility?
Any idea what I do wrong?
I use an Enphase Envoy-S Standard gateway.
I have followed the instructions at https://www.domoticz.com/wiki/Enphase and also token authentication works as well.
I'm using latest Domoticz (beta) version 2022.2 build 14922.
Also, testing stuff like https://<local IP address>/api/v1/production/inverters works in browser.
Any suggestions?
Rpi4B,RFX433e,PiFace2, LCD, Hue bridge, Alexa (+TTS), HA-Bridge, Sonoff NSPanel, Sonoff RF (+IR) bridge, Nefit CV, Tasmota/MQTT, Enphase Solar, Smartmeter, Alarm I/F, H13726B Weather Station, CM180 Energy meter, Sonoff, KaKu, Tuya, Gledopto, AriLux,...
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by waltervl »

Did you check in the device list if it is enabled? Menu setup devices.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Gingerpale
Posts: 10
Joined: Wednesday 13 January 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by Gingerpale »

Solved!
Yesterday I tried several times and with “Accept new HW devices” turned on but I couldn’t find the new devices in the list. Even with clearing the cache of the browser.
This morning they suddenly where in the list!?
So problem solved.
Many thanks for the swift reply.
Rpi4B,RFX433e,PiFace2, LCD, Hue bridge, Alexa (+TTS), HA-Bridge, Sonoff NSPanel, Sonoff RF (+IR) bridge, Nefit CV, Tasmota/MQTT, Enphase Solar, Smartmeter, Alarm I/F, H13726B Weather Station, CM180 Energy meter, Sonoff, KaKu, Tuya, Gledopto, AriLux,...
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by waltervl »

I think it only works from sunrise to sunset, that could be the issue?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Gingerpale
Posts: 10
Joined: Wednesday 13 January 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by Gingerpale »

Yes I believe you are right that they don't show up after sunset as the microinverters go in standby if not enough voltage is produced by the panels.
Good to know that the devices in Utility are only created when the HW is actively communicating.
Thanks guys for all your help. Appreciated.
Rpi4B,RFX433e,PiFace2, LCD, Hue bridge, Alexa (+TTS), HA-Bridge, Sonoff NSPanel, Sonoff RF (+IR) bridge, Nefit CV, Tasmota/MQTT, Enphase Solar, Smartmeter, Alarm I/F, H13726B Weather Station, CM180 Energy meter, Sonoff, KaKu, Tuya, Gledopto, AriLux,...
Redbora
Posts: 5
Joined: Monday 23 January 2023 21:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by Redbora »

I am new to Raspberry and domoticz but I have several things working, various Fibaro components, Tado thermostats, and basic Enphase Envoy data. This week I upgraded my Envoy-S Metered from 4.* to D50062 (pushed by Enphase). According to Enphase this is the latest stable version for my system consisting of 24 Q7 micro’s. I also have access to envoy local using the envoy login and also the installer login. I am familiar with login and passwords for this device.

At this moment domoticz created 6 (working!) energy meters from the basic metering.

But now I get confused. According to the domoticz Enphase wiki, there should be fields for the envoy login and password and a switch to enable readout of the micro inverters and a parameter for the poll interval.

In my case the Enphase gateway setup in domoticz only mentions the remote ip adres and port and nothing more. There are no fields for login, passwords, enabling micro’s and pollinterval.

Is that normal and should I start scripting, or is there something I have forgotten?
User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by FireWizard »

Hi,

This is all available in approx. version 14780 and above.
So you need the beta channel.

If that is the case, clear your browser cache.

Regards
User avatar
Eddiever
Posts: 105
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands (Hoogeveen)
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by Eddiever »

FireWizard wrote: Tuesday 03 January 2023 14:23
This isn't true either. Of course, if you install the brand new IQ8+ inverter, you need D7 but in that case you also have to use a new Enphase Gateway (the new name for Envoy). Unfortunately Enphase Envoy-S (Standard or metered) cannot be used with the new IQ8 series of microinverters.
This is not true, you can use the Envoy/Gateway Standard/Metered perfectly fine with the IQ8 series. But you can't combine the IQ7 and IQ8 series. It should be one or the other.
User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by FireWizard »

Hello @Eddiever,

Agree with you.

IQ7 and IQ8 cannot be combined in one system and the IQ8 is not the successor of the IQ7. Both types will continue to exist beside each other.
An IQ8 will require software version D7 in the Envoy-S (standard or metered).

Enphase is changing the equipment names. So different names may be used for the same equipment

I'm not able the modify the faulty text with a "strike-trough", except deleting it.
This is not desirable, however.

Regards
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by waltervl »

FireWizard wrote: Thursday 13 April 2023 22:45 I'm not able the modify the faulty text with a "strike-trough", except deleting it.
This is not desirable, however.

Regards
You can place faulty text with a "strike-trough" on this forum: use [ s ] [ /s ] (without spaces)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Get local Enphase data from individual solar panels in domoticz

Post by FireWizard »

Hello @waltervl,

Thank you very much for the information.
I could have and should have googled for it myself, but it was already quite late.

Regards
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest