Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Equalizer and "other" Chargers even if I am not owner but admin #282

Open
Enrica-r opened this issue Mar 8, 2023 · 5 comments
Open
Labels
feature Feature request support Support and questions

Comments

@Enrica-r
Copy link

Enrica-r commented Mar 8, 2023

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

@Enrica-r Enrica-r added the feature Feature request label Mar 8, 2023
@olalid
Copy link
Collaborator

olalid commented Mar 8, 2023

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.

@Enrica-r
Copy link
Author

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.

@olalid
Copy link
Collaborator

olalid commented Mar 11, 2023

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.

@olalid olalid added the support Support and questions label Apr 19, 2023
@olalid
Copy link
Collaborator

olalid commented Apr 19, 2023

@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.

@Enrica-r
Copy link
Author

Yes, it helped me. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request support Support and questions
Projects
None yet
Development

No branches or pull requests

2 participants