Looking for smart way to calculate solar production

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

Moderator: leecollings

Post Reply
hemant5400z
Posts: 114
Joined: Monday 05 November 2018 17:41
Target OS: Linux
Domoticz version:
Contact:

Looking for smart way to calculate solar production

Post by hemant5400z »

Hi all,

I have an enphase envoy-s currently using native plugin. However i would like to poll more frequent. I have checked the production url, but i notice that it sometimes updates after 5 minutes not sure if it powerfull enough ro do 5sec.

When checkinh the url in je browser en do a manual refresh it sometimes updates quickly but most of the time the Wnow is not updated.

So my idea was to calculate the production reverted based on instant power and delivery. Did anyone try this and could share.

Or is it just not possible?

Thanks,

Hemant
willemd
Posts: 741
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: Looking for smart way to calculate solar production

Post by willemd »

I am measuring solar production using a simple kWh meter on the AC output of the inverter. Would this work for you?

Or do you want to measure before the inverter (DC) ? Since the enphase envoy-s is a battery system?
User avatar
FireWizard
Posts: 1968
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Looking for smart way to calculate solar production

Post by FireWizard »

@hemant5400z,

See the discussion on github
https://github.com/domoticz/domoticz/issues/5377

In order to poll every 5 seconds, you need the beta, as mentioned earlier.

The solution in the proposal of @willemd will not work. To have multiple kWh meters, probably on the roof of your house, is not a good idea. Enphase (with the Envoy-S) is a system with micro inverters. So every single solarpanel has its own inverter. Of course you can connect batteries.
But you can do that also with other systems.

So, read the github discussion and you will get some ideas about possible issues and challenges.

Regards
Toulon7559
Posts: 859
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: <2025
Location: Hengelo(Ov)/NL
Contact:

Re: Looking for smart way to calculate solar production

Post by Toulon7559 »

If you are reading the Envoy-S, you get a collected picture of the production etc.
as presented from the inverters to the Envoy, and subsequently processed & compiled by the Envoy.
Why would you need that information with shorter interval than 5 minutes?
1. You may try to 'tease' the Envoy to send info faster, but untimately the software in the Envoy decides what you get.
2. If your intention is to use the info to switch-on a 'consumer', you should think twice:
passing a threshold-power level only means that AT THAT MOMENT the level is valid, without any assurance that the level will be kept.

If you want information 'when' over a longer period you might get sufficient power level for that 'consumer', than you are looking for something different called PV-forecast functionality.
That functionality also has been discussed in this forum, but IMHO still far from mature for switching, more for 'advise'.
If you aim to know the actual price of energy, then look at the websites (now popping up) with information for the dynamic-pricing of energy.
Last edited by Toulon7559 on Thursday 01 December 2022 8:50, edited 1 time in total.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
hemant5400z
Posts: 114
Joined: Monday 05 November 2018 17:41
Target OS: Linux
Domoticz version:
Contact:

Re: Looking for smart way to calculate solar production

Post by hemant5400z »

Thanks guys for your input.

I have 17 panels/inverters in a 3phase setup, so a seperate meter somewhere in the change is not the way I want to go.

I don't want to put too much load on the Envoy-s, i already habe the Domoticz plugin and running node-red for the inverters.
Just wanted to see if tthere is a smart way to get the prudction based on the P1 by decudcting/calculating to have the instant figures.
using Currently_returned and Currently_delivered but guess that not that easy do have a virtual General/kwh or a managed counter.

Justa nice to have on my dashboard gauge meters :)

I don't see a lot of changes +/- 10 watts durring tyhe current polling.

Cheers,
Hemant
Toulon7559
Posts: 859
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: <2025
Location: Hengelo(Ov)/NL
Contact:

Re: Looking for smart way to calculate solar production

Post by Toulon7559 »

P1-info tells you the flows over the interface with the public grid.
Envoy-S tells you the output of the PV-system.
By dynamic addition & subtraction you may deduct the inhouse total consumption.
Probably 'better, more accurate' view if you fit a number of one or more kWh-meters in the interface(s) with the consumption-groups and read those meters.
Trade-off between software solution vs. hardware+software.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
User avatar
gizmocuz
Posts: 2712
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Looking for smart way to calculate solar production

Post by gizmocuz »

With the beta version there is no need for a plugin/node-red anymore, you can also enable the settings to get information per individual panel
But wat Willem suggested is not a bad idea, but you can use a meter with 3 clamps, or for instance a shelly device

https://www.shelly.cloud/en/products/shop/shelly-3-em-1

Or a zigbee device
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest