maxbbraun / mirror

Smart Mirror
https://medium.com/@maxbraun/my-bathroom-mirror-is-smarter-than-yours-94b21c6671ba#.81sljnn80
MIT License
580 stars 138 forks source link

Weather #26

Closed tempdj closed 6 years ago

tempdj commented 6 years ago

Hi Currently struggling to get the weather part working so any tips would be greatly appreciated. Maybe some examples or idea on how to get this working. I have entered under keys XML dark_sky_api_key">https://api.darksky.net/forecast/[my darksky key]/[longitude],[latitude]</string Longitude and latitude are filled in on my version. Is there anything else I have to do or I am missing something somewhere. Thanks

parsons-owen commented 6 years ago

Okay. So the API once you've got the API key from dark sky. Don't use that link it should just be a long string of numbers and letters. For example mine says

here there's loads of numbers and letters
parsons-owen commented 6 years ago

And if you want it in celcius i can help you do that if you like

parsons-owen commented 6 years ago

Oh and to find it go to darksky.net/dev/account and it will say your secret key just copy and paste that

tempdj commented 6 years ago

Cool. Will have a play tomorrow.

guicrepin commented 6 years ago

I'm only getting the 0 or 1 value for precipitation, no percentages. I can't seem to find what's happening, would you have an idea? image