I´m newbie, I´m trying to get running Netatmo module. What I´ve did:
- installed latest Magic Mirror
- installed latest upates and upgrades
- customized default modules
Until now everything OK
- get from github
- registered new app on Netatmi API, get ClientID and Client secret
- sent POST request to Hurl.it, got valid response with “access_token” and “refresh_token”
- CTRL+C & CTRL+V entered Module section to .js including ID, Secret and Refresh_token
After run Magic mirror I´ve got black screen with yellow sign in top-right corner.
any idea, what´s wrong? or how to verify, settings?
thanks for help
I know the readme does not state it, but usually a black screen after installing a new module means dependencies are missing.
Please open a terminal
cd ~/MagicMirror/modules/MagicMirror-Netatmo-Module npm install
Then try to re run your magic mirror.
I did, thanks. In my case the path is different
the command took about a 2 mins, I did restart Raspberry, run Magic - still the same. There is no error during starting Magic, last row is Launching application
disabling module in configure.js (by //) make Magic working properly
@zdenek you have to install modules in the path
~/MagicMirror/modulesas yawns mentioned, otherwise the system cant find the module
Yes, my mistake, folder
netatmois correct, but it needs to be in
Could you please start your mirror with
npm start dev, open the console in your browser by pressing F12 and check for any errors there?
zdenek last edited by zdenek
may I simply copy/paste to modules folder? Or have tu run again from github? and the command will be:
git clone https://github.com/CFenner/MagicMirror-Netatmo-Module.git modules/netatmo
P.S.: simple copy/paste works. Thanks guys
Kai-Christoph last edited by Kai-Christoph
I just installed the Netatmo-Module, but I can’t get the “refresh_token” vial Hurl-it.
I always get an “400 Bad Request”.
Where ist the trick?
Maybe it’s because I don’t know what the “gant_type” “password” is supposed to be?
Thank you for your help.
@Kai-Christoph To be honest, I´m newbie. I just followed the instructions. 1st - registered app and get appID and appSecret. Than insert URL to Hurl-It and add all mentioned parameters.
“gant_type” - it´s I guess typo - should be ““grant_type””
And it´s not a variable. The name of the parameter is ““grant_type”” and the Value is “password” - I guess, it´s a definition, that authentication will be done via username+password (probably there are other way - certificate? PIN? don´t know)
Kai-Christoph last edited by
@zdenek Hihihihihi! The missing “r” was the key! Thanks for your hint!