Read the statement by Michael Teeuw here.
Darksky weather module not loading
-
@kaviish said in Darksky weather module not loading:
What does that mean the latitude on my config file is 19.0760
Not according to the console error message you posted.
-
here is mine lat and long . you need the ’ at the start and at the end of the number .it works great
‘43.xxxx’,
‘-88.xxxx’ -
@buzzman said in Darksky weather module not loading:
you need the ’ at the start and at the end of the number
No sir, you do not need the quotes, nor are they called for in the readme. However, it does work with the quotes but that is not his issue at this point.
-
@mykle1 so should I delete the module and download it again?
-
then can yall suggest me some weather module other than this?
-
@kaviish said in Darksky weather module not loading:
so should I delete the module and download it again?
then can yall suggest me some weather module other than this?First things first, in this order, if you are willing.
- Try this config entry. (copy and paste it into your config, replacing your current entry and entering your APi key precisely.
{ disabled: false, module: 'MMM-darksky-hourly', position: 'top_right', config: { apiKey: 'Your API key goes here inside the quotes', latitude: 19.0760, longitude: 72.8777, } },
Save your config and run MM.
-
If that doesn’t work. Start MM with the command
npm start dev
and click on the console tab at the top and post any errors that appear. You may have to scroll a bit. -
You CAN delete and reinstall but I suspect something else is amiss. This module should work for you.
-
There are quite a few weather modules. You can find them here. https://github.com/MichMich/MagicMirror/wiki/3rd-Party-Modules
NOAA3 seems to be the most popular weather module to date and it is well maintained and supported by the author. Otherwise, you can take a look at all that are available and choose from them.
-
-
Thnx a lot @Mykle1 and everyone. it turned out that darksky wasn’t working for my location. I changed my site and the modules started working
-
That’s odd because I entered your original lat and lon and it fired right up for me.
Glad you got it sorted. :thumbsup: