@dmd Just add remoteFile: “compliments.json” to the compliments module configuration
Read the statement by Michael Teeuw here.
Posts
-
RE: Need more compliments? compliments.json
-
RE: MMM-AQI
@E3V3A Yes, that’s a good idea, I’ll try to implement it as soon as I have some spare time!
-
Need more compliments? compliments.json
I always like to expand the default compliments a little bit (using an external json file), so I guess I can share it as well:
https://gist.github.com/ryck/e28a69665b8839f6e9a7acd6b4acc97d
-
RE: MMM-AQI
@Fonfon I added more info in the README, but is basically enter the URL above in your browser (using your token and your city, of course) an then just look for your city in the response and write down the “uid” value, that’s the id you are looking for.
-
RE: MMM-AQI
@E3V3A Yep, but you can use the same token you are using for the module, ie:
https://api.waqi.info/search/?token=TOKEN&keyword=croydon
(you can just type that URL in your browser)
-
RE: MMM-AQI
To find the city id you can search for it using the API itself: http://aqicn.org/json-api/doc/#api-Search-SearchByName
The API is quite picky with the names, so in my experience is always better to use the id or just the keyword here -
RE: MMM-DHT22 Humidity and Temperature Module
@DocVooDoo I guess that depends on how you installed magicmirror… did you use sudo?
-
RE: MMM-DHT22 Humidity and Temperature Module
@DocVooDoo well, no idea then… Have you tried to run the normal version (instead of the serveronly)?
-
RE: MMM-DHT22 Humidity and Temperature Module
@DocVooDoo No idea then… Can you paste here the error you get?