If you meant setTimeout(function(){socketNotificationReceived(notification, payload)},2000); on the other hand, this should not work at all! What is this supposed to do?
Read the statement by Michael Teeuw here.
Posts
-
RE: Podcast
-
RE: Podcast
@witschi87 it should indeed be correct as it is right now since you are overwriting a function adding
selfshould break that especially since self is not even defined at that point. -
RE: Weatherunderground - currently - hourly - daily - configurable
@pugsly you should not let users add stuff to the vendor folder! Plugin should be self containing :)
-
RE: OwnCloud integration
Doesn’t Owncloud provide a ical url? You could use that without any problem in the calendar module :)
-
RE: MagicPlugins - Snow Module by Nicholas Hubbard
Would be great if you could create a separate repo for every module :)
-
RE: Weatherunderground - currently - hourly - daily - configurable
Have you checked your config file with jslint.com?
-
RE: PIR-Sensor - put your mirror to sleep if not used
@joerod also do
npm installon the mm folder or install the whole thing from scratch :) -
RE: PIR-Sensor - put your mirror to sleep if not used
-
RE: Weatherunderground - currently - hourly - daily - configurable
This looks beautiful!
-
RE: PIR-Sensor - put your mirror to sleep if not used
@joerod That’s all? Not a failure of my plugin. Any more logs?
-
RE: How to Troubleshoot
You could also use
pm2 logs mmto get the logs! A bit easier than remembering the file path :)If you have any problems regarding a
black screen, always make sure to use jslint.com to validate yourconfig.js(just paste its content into the website). You can of course also usefirebugas stated above. -
RE: Local host only shows NGINX server page.
Why exactly are you using chromium anyway? There is no need for that (if you do not use a Pi 1)
-
RE: PIR-Sensor - put your mirror to sleep if not used
Feel free to send a pull request! :)
-
RE: PIR-Sensor - put your mirror to sleep if not used
Ha, ha :laughing:
Will change my dependencies when I have some spare time. -
RE: PIR-Sensor - put your mirror to sleep if not used
First Google result when searching for
downgrade node to v5:)
Also do not forget to executenpm installand if that does not work reinstall the module from GitHub after you downgraded. -
RE: Auto on/off of the TV (not the Pi)?
@zombi27 Yes might consider changing this to ten minutes or so :)
-
RE: PIR-Sensor - put your mirror to sleep if not used
Please use Node v5 not v6 one of the dependencies is not yet ready for v6.