Home + Control – setup pland
Hi
I use https://api.developer.legrand.com/hc/api/v1.0/plants to retrive at first my plants
I receive an correct HTTP/1.1 200 OK response but plants lists are empty
{“plants”:[]}
How to config plandid and moduleId ?
Hello,
The main reason for this error is that you are not using your Home + Control end-user account linked to your installation
You can verify which account’s mail address you use by going in H+C app > My account
Then, log in to Works with Legrand with your developer account. In the Try It of the call, authenticate with your end-user account credentials (https://portal.developer.legrand.com/docs/services/59e9ad7f8bda9e0b3caea28c/operations/getusersplants/console)
Have a good day,
Leslie – Community Manager
It’s the credentials of the user account you created into Legrand Home + Control application
Have a good day,
Leslie – Community Manager
Hello,
No issue to use the same credentials, it’s on 2 different databases
It seems to work on my side. Can you please test your request via the “Try It” as I mentioned in my first message ?
If you still receive a 200 OK response with an empty JSON, please send me your email address and client_id (application_id) via the contact form. I’ll then be able to investigate
Have a good day,
Leslie – Community Manager
Hello THTM_Ping,
You can find this in your application’s detail : https://mysettings.developer.legrand.com/Application
But I don’t need this anymore. I saw you asked for an application creation that I validated 2 weeks ago. After checking, I saw that there are no devices linked to your end-user account. Please refer to the first answer I sent you to verify if you authenticate with the correct Home + Control application’s account. Then try to get your data via the “Try It” in order to see if you receive them
Have a good day,
Leslie – Community Manager
You must be logged in to reply to this topic.