Did you want to get the first day’s weather information only? Did you declare the variable this.desc
in the start function first? If not, that may be your problem.
Read the statement by Michael Teeuw here.
Posts
-
RE: Unable to display weather description
-
RE: npm install - electron fails to install
What’s in that logfile that was created?
-
RE: npm install - electron fails to install
Are you running it through an SSH connection? If so, try running
DISPLAY=:0 nohup npm start &
If that works, I recommend using pm2 to automatically start your mirror. You can find the guide to get pm2 to work with here. -
RE: API requests stop firing after a couple hours for custom module
@NateDee I tried the same thing. The weird thing is that all the other modules update normally, just the one weather one. Nay luck with your issue?
-
RE: API requests stop firing after a couple hours for custom module
I have a similar issue with forecast-io. Sometimes it updates for days, sometimes it stops updating after an hour or so. I wish I could help fix your problem, but the only thing I did was add a small piece of text that shows when it was last updated so I can restart the mirror.
-
RE: Project overview - 09.02.2018 - revisited
Looks nice! What does the hat you have on your pi do?
-
RE: How to update the master branch?
Seems like you’ve changed some of the files in the MagicMirror directory. If you want to upgrade you’ll have to stash the changes. run
git stash
in your MagicMirror directory, then rungit pull
. Stashing wont affect your config.js or any modules you’ve installed into your modules directory.Edit
@ninjabreadman’s has a better fix for you than I do. -
RE: Updating to v2.2.0...
okay, try running
rm -f ~/MagicMirror/.git/index.lock
then trygit pull
again. Hopefully you’ll see more than:
Updating b799609..20823bf
-
RE: Updating to v2.2.0...
Just trying to cover all the bases here, but are you on the master branch? You can run
git branch
to see. It should say something like:pi@Magic-Mirror:~/ $ cd MagicMirror pi@Magic-Mirror:~/MagicMirror $ git branch * master
The asterisk denotes which branch is your current one.
If for some reason you’re not on the master branch usegit checkout master
to switch back to the master branch.
Then try runninggit pull
and see if anything happens. Hopefully you get a list of files that have been changed. If not, and you don’t see an error messages trygit pull -v
to see what errors (if any) you are getting.
Hopefully that all works out, then you can just runnpm install
and you should be all set.Good luck.
-
RE: MMM-Nest
@pyrosmiley No, sorry. You’re doing it the way I would have recommended. If you want to throw a feature request on the githuib page, I’d be more than happy to try and figure something out.