Integrating Home Assistant
Hi all,
i’m integrating Legrand Home+Control into HA via api.I’ll explain exactly what I did so you understand what I did and if I’m missing a step.
I created the app on the legrand website by entering the web address https://my.home-assistant.io in the “First Reply Url”
Integration installed, successful authentication on the legrand site started via web pages.
however the integration does not detect any entity and I have this error:
Error fetching home_plus_control_module data: Error communicating with API: Error retrieving plant information [<class ‘homepluscontrol.homeplusapi.HomePlusControlApiError’>]
it’s like the app is not communicating with the HA.
Hello,
I’ve found several similar errors after a google search. Most of them talk about a bad copy/paste or a problem in HA .yaml file configuration : https://github.com/home-assistant/core/issues/49055
I advise you to check
Have a good day,
Leslie – Community Manager
Hello Leslie,
I had already checked the configuration and I confirm that they are correct.
To be sure, I indicate the exact parameters:
home_plus_control:
client_id: “received by mail”
client_secret: “received by mail”
subscription_key: “my Legrand portal registration email”
is this one correct?
I would like more information.
When creating the app on the legrand site, what should I indicate in the “First Reply Url” field?
do I have to enter the generic data “https://my.home-assistant.io/” or enter the external address of the home assistant (example: https://addresscreateddame.duckdns.org:portnumber)?
Now I have entered https://my.home-assistant.io/ and I download the integration in home assistant it starts the authorization procedure, if I change the address with the external one the integration does not start at all as it generates a page web with this code
{
"error": "invalid_request",
"error_description": "The reply url host my.home-assistant.io doesn't match with the ones configured on the application"
}
Hello,
Home Assistant is a third-party service and we are not linked to their development. The best is to ask their community in case of problem
What I can tell you on my side :
- we send all needed information via email, it can also be checked in your application’s detail (except for client_secret)
- your reply_url must exactly match the one set in your application (and the app must be validated). It’s a redirection so any endpoint should do the job. Some users use the IP of their local installation + the port
Have a good day,
Leslie – Community Manager
The Home + Control integration for home assistant is no longer supported.
it is being replaced by the Netatmo integration
I have the same problem, but i follow everything says netatmo or legrand, but somenthing doesn’t work anymore. For example i use netatmo integration on home assistant and the integration discover my valve and my smarther thermostat but i can’t modify the state, like a boost for 30 minute. i recive the error like this “invocazione del servizio climate/set_preset_mode non riuscita. 500 – internal server error – device.setThermPoint is not a function (11) when accessing http://api.netatmo.com/api/setroomthermpoint.
i don’t know what are, but i can see the tempertture but i can’t control a device.
someone have some solution?
tell me…
Hello,
Indeed it seems that HA started switching from the deprecated API on Works with Legrand to the Netatmo Connect API. As they are a third-party integrator, we are not linked to their developments and I think it’s still a “beta” version, so with remaining bugs
You should ask directly to their community
Have a good day,
Leslie – Community Manager
intégration dans home assistant me donne une réponse “erreur”
pouvez vous me dire mon inscription ne comporte pas d’erreurs .
merci
Hello Eric,
No problem with your account, but we will remove at the end of the year the Home + Control API on Works with Legrand. You must use the Netatmo integration to use your devices with Home Assistant : https://www.home-assistant.io/integrations/netatmo/
As HA is a third-party service, we are not linked to them or their developments. In case of a problem using their services, you must ask the question to their community : https://www.home-assistant.io/help/
Have a good day,
Leslie – Community Manager
You must be logged in to reply to this topic.