Open Enrica-r opened 1 year ago
If you add the products you want to the app, it should show up also in the HA integration. Please try and let us know if it helps.
To add a user is possible for a charger. For the equalizer I can't find an option to add a user. Anyway, I'm sure if I can read the current main amps from equalizer.
It sounds like you misunderstood me. Open the Easee app on your phone, make sure you are logged in as the same user you are using in the HA integration.
Click the to the hamburger menu / Products / Clicking the add button then the "Locate site" button at the bottom of the page. That should list out the sites you have access to and below that level the products. You should then be able to add any charger and/or equalizer to the app.
The API api.easee.cloud/api/accounts/products should list all the products you have added in the app, which means they should show up in the Easee integration too.
@Enrica-r I am assuming your issue was solved by this (due to over a month of silence)? I think this issue serves as a good information to others, so I think it can stay open, but would be good to get confirmation that it helped you.
Yes, it helped me. Thank you very much.
Feature request
The controller of easee_hass calls the information from Easee API "api.easee.cloud/api/accounts/products". This API call brings my charger and the site id/name only even if I have the role "Admin" (but not owner). Not the other chargers nor the equalizer.
Same is on Easee Portal. Under "Products" I can see one charger. Under site I have full access to the equalizer plus 3 circuits with their chargers.
The controller of easee_hass checks the product list. The controller should be extended as following. If users role is 2 and the equalizer id is null then call API "api.easee.cloud/api/sites/{siteId}". With this api call you get all authorized components for a site. This this information to fill the equalizer chargers arrays.
Why do I need this? We have an equalizer to control 3 circuits. The main circuit (200A) provides power for 16 houses with their own circuits (25A each). The main is secured by the equalizer but the houses once not. I am building a controller on HA which gets the current per house. The controller limits the 3 circuits via dynamic circuit limit indivudally. For this a need access to the complete infrastructure. This I can see on "api/sites/{siteId}".
Thank you for your great work.
What version of the integration are you using?
0.9.48
Anything in the logs that might be useful for us?
No response
Additional information
No response