@bramtops I created a flow with a “Start” trigger, and then Enphase should generate a maximum of 68 watts.
Flow saved. The Homey web app crashed. After creating a flow, only the “Turn On,” “Turn Off,” “Turn On or Off” cards are still available.
The card for selecting the power output or the card for selecting the generation type is no longer available.
b5eb9c64-66b6-452c-9172-0bd39e3e0e3a
Restarting the app didn’t help.
Then I restarted Homey.
The cards still haven’t returned.
Version 1.5.1.
Gotcha. For some reason your gateway is reporting a Metered production of about 0.026kwh. My check wasn’t robust enough and took that as a “Yep, Metered is omni-present!”, while it isn’t.
I’m not taking into account properly that gateways can have ct-clamps on pv-production, home-consumption, or both – or had those things and not anymore.
Next version will have a more robust detection and fallbacks.
Thanks for diagnostic! Couldn’t have figured it out (this fast) without it.
For some reason many (all?) users are experiencing 400-errors when trying to set DPEL directly on the gateway. This is an undocumented feature and has been reverse-engineered in the past by other people. I have no way of testing this myself (I don’t have CT-clamps), so I’m working purely based on documentation and code I can find on the internet.
As far as I can tell I’m doing things correctly. But I might be missing something; or it might be that this undocumented/unsupported feature has been disabled by Enphase in a recent firmware.
I assumed having Controller-access and having CT-clamps were the only requirements. This is clearly not the case. Version 1.5.1 contains an additional check: if you have Control access and CT-clamps, it will then try to see if the gateway is actually accepting control-commands. This will then be displayed as an additional “Production limiting” YES/NO value on the device status page.
If that value is NO, the associated flow-cards will not be available, and the device ON/OFF toggle will gracefully fall back to the previous “production YES/NO” capability.
Basically I need to figure out IF and HOW this (undocumented/unsupported) feature is still available. I really wish Enphase would give some more official external control to their customers regarding this kind of stuff, but in the end it’s up to them.
@bramtops Thank you fo explaining how it works.
I just want to let[ you know what i have experienced with the app when i tried to make a flow to limit the power and want to make a flow to let Enphase work normal again.
Take your time to see if you can find a fix for this. Yo< can help a lot of people with this app an€ functions.
No stress.
Did you already have a paypal thing so (we) i can donate some money?
Just tested it with almost no sun.
Production set to 84W and the production in the original Enphase app dropped to 0 and 100W to 0 to 100W and so on. So i think that worked.
Then set it with a flow to normal operation, Produktion went back to 300W. There is almost no sun.
Both settings took about 30 seconds to show in the Enphase app, live.
For now it worked.
Just bumped into this app, and this seems most appropriate for my home setup. So thumbs up for bramtops!
Installation was no issue, and also creating the devices (Enphase Solar and Enphase Solar Inverters) was simple. Then I wanted to see whether I could use the functionality I was looking for, but there was no Then card to control the power (only to “Turn on”, “Turn off”, and “Toggle on or off”). I created the Enphase Solar before I switched from 1.4.0 to 1.5.2, so I re-created it, but to no avail: still no “Set the target power” or “Set the target power mode to” cards.
Then I read that my system, an Envoy Metered without CTs, is classified as not being a Metered gateway . While I can understand that, this is somewhat frustrating as my entire set-up does have a PV-meter and a grid-meter, that are also coupled to the Homey (through the Victron app). Any chance that I could link that with this app, one way or another? I would understand that would be challenging, true.
I have the exact same setup as you. My installers put in a Metered gateway, but didn’t install any ct-clamps. I also have connected powermeters everywhere else in my home setup that are also connected to Homey.
But all that doesn’t matter: the Enphase Gateway can only do what you (we) want it to do if is has the ct-clamps installed. No app or outside system will be able to change that – barring some vey unlikely and difficult hardware modifications. At that point just get a metered gateway.
This app started as a way for people like us (with unmetered gateways) to still be able to turn of the PV-system.
Just now I’ve added the option for metered-users to control through Homey what before was only possible in the app. So now it can be part of an automation. If you really need/want that ability, getting ct-clamps is your only option.
That’s a pity, but not something you can change, of course.
Would you say that this is a commercial choice? With my (limited) knowledge of electrical systems I do not see a technical reason for not allowing this. Would you agree, or is the story less clear …
If it would indeed not be a technical reason, a feature request is always possible. You never know …
In theory, they could make a gateway that also supported other meters as inputs. But they’d need to add more hardware/software to the gateway which adds extra cost. Just putting ct-clamps is easier/cheaper.
Did write this also on Tweakers but now it will keep testing also in this topic.
Today, while on the go, I used a flow to set the target to 845W (I couldn’t get it to 800 using the slider on my phone). In the Enphase app, the output in the live view dropped to 0.8 kW in about 20 seconds.
Then I used a flow to switch back to “normal mode,” and after about 20 seconds, the output was back up to 2.7 kW.
So that worked for me.
This app works very good! I was wondering if there will be a option to add the battery aswell? Im currently also using the old cloud based enphase app to add the battery but it is not recognized by the enrgy tab. This means when it is being discharged my homey thinks it is pulling from the grid instead of the battery
@bramtops
Hi Bram,
when i set my solar production to “only own use” no problem and i can put it back to normal production, but when i set it to a adjustable pv production i get the dpel error.
or i do something wrong?
Ok tnx so far.
So u first adjust target power and then set normal production?
i want a negative production so my meter still delevering about a 800w to grid.
@SpikeHome I only made this flow to test if this version is working. I still have “salderen” so i have no problem with returning energie to the grid.
I think you can try to make a tag that calculates the value of used power and solar power
and use that tag in “doelvermogen” and start that flow every 5 minutes or so.
Or 2 minutes.
Used power 600W, solar power 3000W = 2400 to grid.
Tag1 is 2400
Tag2 is 800-Tag1 = (Tag2)1600
Doelvermogen =Tag2
Just a idea how i think to make 800W to grid.
Not tested.