Read the statement by Michael Teeuw here.
Take in the weather and write.
-
I want to use the weather as api.
I’d like to mark the weather with compliments and use the right words.
For example, take your coat with a temperature of 3 degrees. Like
Help me what to do. TT -
@yeonju the default compliments module has already the possibility to show compliments based on weather https://github.com/MichMich/MagicMirror/tree/master/modules/default/compliments#compliment-configuration
However, it doesn’t support the temperature, only the weather type.
If you want to create your own module take a look on this parts of the code:
- Weather module sending the weather data to other modules https://github.com/MichMich/MagicMirror/blob/master/modules/default/currentweather/currentweather.js#L492
- Compliments module processing the information https://github.com/MichMich/MagicMirror/blob/master/modules/default/compliments/compliments.js#L168-L198
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login