That is strange, I’ve written the code to support multiple devices. I only have one myself though so it’s quite hard to debug what might be happening. You don’t see anything interesting in the logs?
I sent an IM with the log entries. ('Config entry has already been setup!' for all but the first point. Is the email used as identifier? Haven’t checked the code but perhaps a typo is omitting the differentiation of the subsequent registrations?)
The fixes for multiple Points reached 0.84 unfortunatly it introduced another issue (a stupid typo) so the sensors does not load correctly. I’ve submitted a fix for this and will keep you posted when the new version reaches the stable branch.
First of all thanks for integrating Minut Point into Home Assistant.
I’ve just configured my Point, and I struggled a bit, just like Sam_Van_Herzele did, so I thought I’ll post exactly what I did to get i working for future reference and aiding other Point users. All credit goes to fredrike, Sam_Van_Herzele, gaffe, and who else posted in this thread.
Step 3: After the reboot, Home Assistant has discovered your point, start configuring it by following the instructions. Leave the window with Home Assistant open.
Step 4: At some point you’ll be redirected to localhost:8000/point?code=RANDOM_TEXT&state=LONGER_RANDOM_TEXT which fails. BTW, it is by no means random Do not edit the anything after “code=”, instead replace “localhost:8000/point?” with "https://hassurl:8123/api/minut?". If succeeding, a file is downloaded. Note, it didn’t work in Firefox, I tried in MS Edge which worked perfectly fine.
Step 5: Back in Home Assistant, press “submit” and you are now good to go.
Are you sure you gave the right URL to Minut when creating the API-keys (you should have given them the url https://hassurl:8123/api/minut, as I tried to explain in the documentation:
To connect Point, you will have to sign up for a developer account and get a client_id and client_secret using the callback url as base_url + /api/minut eg. http://localhost:8123/api/minut . The client_id and client_secret should be used as below.
I really hope that we can get Cloud Authentication but according to @balloob it will take some time.
If the documentation can be made clearer please help and update it.
You’re welcome, I’m just glad I now have Point integrated in HA.
And yes you are right, I didn’t give Minut the correct URL. In fact, I didn’t give Minut any URL, as I just asked for the client_id and client_secret. When they replied the client_id and client_secret back, I was told they could also configure the callback URL. Thus, Step 0 in this guide should be:
Step 0:
Ask Minut for your client_id and client_secret and ask them to configure the callback URL to https://hassurl:8123
Instead of waiting for Minut to update the callback URL, I just went ahead and tried integrating Point ASAP. I’ll see if I can help with documentation.