homebridge-enphase-envoy
homebridge-enphase-envoy copied to clipboard
Is there a way to control the profile from an automation?
Hello, is there a way to control the charge profile from an automation?
I want full charge mode in the morning, then self-sufficient during peak, as an example.
Not now but can be integrated in feature.
Can you post some screenshots and profiles names how this looks in your app because I don't have battery in my system.
What do you want screenshots of? Enphase app or homebridge logs?
Enphase app with profiles
Sorry for the delay. Here's what the app screenshots look like:
A while ago I created a separate plugin to do this via the cloud api endpoints, but would rather do it via local endpoints using this plugin.
https://github.com/tylerbenson/homebridge-enphase-battery#readme
I'm not great at Javascript, but let me know if I can help.
I will start to add this possibility but I will need some one for test because I do not have encharges.
Can you post 3 debugs logs, one with Full Bakup enabled , one with Savings and Reserve 30% and one wit Self Consumption and Reserve 75%.
I think the best way to have this work with homebridge is to have a toggle that changes the profile to full backup when enabled and back to one of the other options when disabled. In my plugin I implemented it as changing the reserve, but I've run into problems where it doesn't seem to work reliably.
I ended up refactoring my plugin to switch profiles instead of adjusting the reserve amount. I think it's working better now. The main problem with my approach is I'm calling Enphase's web API, not communicating directly with the local hardware, so if you can implement it your solution would be superior.
Right now I don't see possibility to control encharge profile over local api, if I found solution then will be added in future release. Technically is possible to read and control this data from Web API but I don want to mix this in current app. I will look into this in future.
I ended up switching over to home assistant. The enphase integration there does allow for profile switching and I believe it is all local. Might be worth looking at their code for comparison.
testing in v9.0.0, please post result and problems here #144
Glad you were able to figure it out!
Thanks. I'll test it out when I get back from traveling.