how to connect beds24 Channel Manager via API and Make (Integromat) ?
beds24 Channel Manager told me that if Netatmo has an API connection, than via Make (Integromat) beds24 can automaticaly programme the thermostats when guests arrive and depart. Would be great if somebody will help with the matter. Thanks.
Von mein beds24 Channel Manager habe die folgende Info erhalten: wenn die Netatmo Thermostate eine API Verbindung haben, dann kann beds25 durch Make (früher Integromat) an die Netatmo Thermostate die Zeiten wann die Wohnung leer steht oder wann es vermietet wird und die Netatmo Thermostate entsprechend programmieren. Bitte dafür um Info wie ich es einrichten kann. Danke.
Comments
14 comments
Hello,
Do you look to this documentation ?
https://dev.netatmo.com/apidocumentation/energy
Phil
I just read it and emailed the same questions at contact-api@netatmo.com. Thanks.
Hello again,
My view (I am only a user right :-) ) of the project :
- create an application on https://dev.netatmo.com/apps/
- use the client_id and client_secret with scope (thermostat ....)
to create a URL like: https://api.netatmo.com/oauth2/authorize?client_id and so on
to get a code
- create a script which uses the code to interact with the thermostats of the home
- in // manage the token because the access_token expire 10800s (so 3hours) after you get it
so the tokens (access and refresh) must be refresh at least every 3hours to the the script hereunder can make the job.
- interconnect beds24 and the script to realize the goal you want
I created a php script to manage the tokens, it works very well, (thanks to @Leslie for her eyes!) I will publish shortly on github if you are interested by.
Best regards
Phil
Yes, I am interested. Thanks Phil.
Hello,
To complete the information given by Phil (thanks ;)) :
The APIs are free to use but must comply with our rate limits : https://dev.netatmo.com/guideline#rate-limits
I advise you to forward these information to beds24 as it's up to the 3rd party developer to integrate our APIs
Have a good day,
Leslie - Community Manager
Hello,
@myberlinstyle
I'm really happy to help, and giveback following what I received. (thanks @leslie)
Please find here: https://github.com/Phil353556/netatmo-manage-token
I have some work to do on cosmetic for the README.md / sorry
I tried the script on unbuntu (x86) and rasperrrby pi (pi3), it works perfectly
If you any question, please don't hesitate to ask here or on github
Best regards
Phil
Thanks Leslie, Thanks Phil.
Phil,
when I try to access the link I got the
Message: 404 This is not the webpage you are looking for.
I tried on Chrome and Brave.
Hi myberlinstyle,
oups, I'm sorry for you, for that.
I tried using a private windows, and yes 404 is there
You need a login to github, so click on sign up,
email, password, username,
and it should be ok, I hope.
Tell me
Phil
Registered but still the same
Hello again,

I'm really sorry,
The repository is "public"
I just rename it (now) because the word "tokens" is better than "token" without a s, in the name, but still "public"
So the right link is now: https://github.com/Phil353556/netatmo-manage-tokens
see screenshot, the two on the first row are mine
Phil
Sorry, but the problem is the same. Also searched on github for netamo-manage-tokens but could not find it.
Hello myberlinstyle,
I really apologize for this issue.
I searched since yesterday as the repository is in "public" mode.
I discovered that my account has been flagged.
That's crazy, and I don't know why, I don't know since when.
I raised a ticket and now I have to wait, It is not at my hand.
Sorry again for that, I will keep you informed.
Phil
Hello myberlinstyle,
The github support was fast. My account is now ok.
You should be able to access using the link already shared.
I look forward to hear from you.
Kind regards / Phil
I can access it, but will have to try it after I decide which Channel Manager I will use. Thanks.
Please sign in to leave a comment.