@lucallmon How about you complain on their site instead of here? Quote from https://newsapi.org/sources:
Can’t see the one you want? Send us an email request (support@newsapi.org) and we can probably add it.
@lucallmon How about you complain on their site instead of here? Quote from https://newsapi.org/sources:
Can’t see the one you want? Send us an email request (support@newsapi.org) and we can probably add it.
@Steff Seems like you need to push your changes. They are local only unless you use git push
to send them to the github server.
TLDR: You need to enable listening to all addresses (see the comment on the Github issue) in addition to the usual adaptation of the ipWhitelist
. Add this line to your config.js
:
address: "0.0.0.0",
Since MagicMirror 2.1.3, the webserver only listens to the loopback interface be default. This removes any possible attack on the webserver for most users (not that their are any known attacks right now, but in times of mirai it is a good thing!), but unfortunately also effectively stops accessing the MagicMirror through HTTP and how the remote module currently works. If any developer has a good idea how to combine the best of both worlds, please let me know.
@saifkazi I suggest you update again and try it out.
@kerijn @fox I think I fixed this issue before, it comes from the changes the Magic Mirror version 2.1.0
introduced. I am not sure, but I think the changes neccessary are almost as simple as here. Will have to test this at home though. Maybe there was something else needed.
I offer to help as a moderator.
In the last weeks since Christmas I didn’t have as much time for the project and the forum, I had to do a lot of stuff for university and work, but things have calmed down a bit now. In the next days I will start dealing with all the issues on my modules, since v2.1.0
came out, and hopefully also soon help with moderating the forum.
@Mar said in [MMM-PIR-Sensor] Install failing:
I’ve tried following the instruction above of removing and reinstalling but I keep getting the below errors. I’m not even sure what they are unfortunately, wondering if anyone is able to help.
pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $ npm install npm WARN engine electron-rebuild@1.5.7: wanted: {"node":">=6.0.0"} (current: {"node":"4.2.1","npm":"2.14.7"})
This is an old node version. Please update your node
and npm
. (If you need help check the answers to this SO question.)
New update:
@Mykle1 Thanks for mentioning. :)
@Baxer If you do not have a button, you could use a custom URL together with the Remote-Control (you need to install and configure the module though, do not forget to adapt your IP whitelist). Then you can send a notification request via an URL by accessing a custom URL.
In your case the URL would probably look like this:
http://192.168.xxx.xxx:8080/remote?notification=UPDATE_SL&action=NOTIFICATION
Or you could change the module to use a timer, but I assume the author of the module had a good reason for not doing that.
If anyone is interested in helping to test the next major (and future) versions of the module, I am searching for beta testers. Please note that the version may still contain bugs, and thus involves an (unlikely) risk of your Raspberry Pi explo… I mean you having to fix some stuff from the command line and your config.js
by yourself.
@Mitchfarino This could be an option, however it only visually looks the same.
If for example a module temporarily does not work for some reason (blocks the start of the mirror), hiding it with the Remote-Control would not help.
What you probably wanted to say is: This should also be added to the Remote Control module. ;) And I would like to include this option in the GUI for the config there. And there is a big advantage in a config option to disable a module (versus commenting out), since this leaves the values readable from other JS code, i.e. the Remote Control module.