I have updated my EmonPi to the May preview image successfully. All appears to be working but for the kWh output in both the My Electric and My Solar apps. The real time power usage displays fine just the kWh is not updating although the associated feeds in the feed view are working. Any ideas?
To work with the My Electric App the feed type needs to be PHPFINA. Could you post a screen grab showing your input processors. The power input should be logged to a kWh feed using power to kWh process . See Home Energy - Guide | OpenEnergyMonitor
The processing and feeds do not look correctly configured to me. Where do you have CT1 installed?
āuseā and āuse_kwhā can only ever be positive unless your appliances can generate power.
It looks like at least the solar CT, but probably both CTās are inverted
Are you confusing āgridā and āuseā? The āuseā should be the sum of āgridā (pos when importing) and āsolarā (pos when generating). You could try something like
input1 (grid CT)
log to feed āgridā
allow positive
log to feed āimportā
power to kWh āimport_kwhā
input2 (solar CT)
log to feed āsolarā
power to kwh āsolar_kwhā
input āgridā
log to feed āuseā
power to kwh āuse_kwhā
However on a emonPi you can use the 3rd input to process āuseā, which I believe is provided to give āgridā plus"solar" combined to circumvent the potential hazard of the mqtt values arriving in a different order and out of date ālastā values being assumed current. In your current setup when input1 does itās processing it uses input2 which has not yet been updated, my example puts the use of input1 in the processing of input2 which should be ok but not 100% reliable.
so you could remove the +input and the 2 āuseā feed processes from the other input and have just
log to feed āuseā
power to kwh āuse_kwhā
in input 3, this would be simpler and more reliable/accurate,
I could have been cleared, I should have said the 3rd input FROM the emonPi, referring to the 3rd input of the emonpi node at the emoncms inputs page.
The emonPi has a variety of physical āinputsā of which there are just 2 current āinputā or CT channels, yes you are right. But despite there only being 2 CTās there are 3 āpowersā in the payload creating 3 inputs (in emoncms) from those 2 CTās.
Why ? I am running MYSQL feeds and have no idea why support for MYSQL does not exist in latest My Electric version.
Can someone here explain end of MYSQL support within emoncms code ?
Thank you in advance.
Thanks @pb66 you have solved another issue I was having in terms of the Solar app and defining grid, solar and use. I have updated my inputs according to your detailed instructions which make sense. The third input on the emonPI is referenced by default as power1pluspower2 for anyone trying to follow the thread, it now looks likes this for Inputs
@pb66 thank you for your help. The instructions you provided sorted out my setup for me. I can now report that both Emoncms apps for reporting Electric and Solar are both now working as they should. I think I got confused with the polarity in combination with trying to work out if my setup was type 1 or type 2 (it is type 2).
Can you please elaborate a bit more regarding āgridā and āuseā. If for example, I have 2 phases A and B coming out of the meter, so the power consumed by the house is A+B=grid or use?
āsolarā - when PV is producing energy, the feed should be logged as positive values?
the reason that I am asking is, I am trying to fix My Electric all that never worked right on my shared hosted linux server.
Our usual definition is:
āUseā is the power/energy consumed by the house. It is positive by definition.
āGeneration ( / Solar)ā (usually PV but it could be wind or hydro) is the power/energy from the PV etc infeed. Usually positive during daylight, it can be negative at night because the inverter does consume a small amount of ākeep-aliveā power.
āGridā is the power/energy that flows in the connection from the supply authority. We define it as positive when power/energy is imported (Use > PV) and negative when power/energy is exported (PV > Use).
In your case, we would regard āGridā as the nett sum over both legs of the supply - but bearing in mind what Bill Thomson wrote elsewhere, your meter might charge you for importing on one leg and charge you for exporting on the other leg.
Thanks Robert. Use and Generation does make sense.
So is grid a sort of virtual feed, calculated grid = use - generation?
In my case I would calculate grid = (Phase B - Generaton) + Phase A
You can calculate it that way (and so would I), and so would a meter that works according to the official guidelines (in the UK at least). But as Bill warned, your meter might not. So it you get a different answer to what your bill says, the reason probably lies in that area.
My meter most likely calculates it the same way as well. I know it is old style meter with the rotating disk. However, now when I am thinking, in my case I am not sure why I would need grid feed, since I never will be exporting power to the grid.
My Phase A will always be drawing some power. Phase B during sunny periods hopefully be around 0. So my āuseā feed is essentially the same as would be a āgridā feed. am I right or I missed something here? Also looking at My Electric, My Solar amd Solar with Divert apps, I do not see them using āgrid feedā.
You might well be correct there, but only because you have a very low power dump load. Had your PV capacity been much greater and you were heating water, it might have been possible that your water had reached maximum temperature before the sun went down, in which case you would need to switch to a different load or export.
āUseā and āGridā are the same overnight, they are not the same when you are generating (unless you are not counting the diverted power as āUseā.)
In my feeds, once SOLAR starts to produce energy, my USE feed goes down in value, and get negative at times. Is that a normal behavior? Or should I be calculating USE some how differently? At the moment my USE feed is just addition of Phase A + Phase B.
From that, I think what you call āUseā is what we would normally call āGridā - it is the power into or out of your premises.
If your Phase A & Phase B c.tās are on the supply side of the point where the PV infeed joins, that is definitely the case and [Phase A + Phase B] = Grid (in our terminology).
So yes, that is normal behaviour for the āgridā connection. In your case, Use will be PV generation (āSolarā) + the quantity you are presently calling Use.
And what youāre calling Phase A and Phase B are referred to by the
US electrical trade as Leg 1 and Leg 2 of a Split-phase system.
i.e thereās only one phase, not two.