@sdetweil Thanks for the tip, I’ll check
Read the statement by Michael Teeuw here.
Posts made by JeanMichelC
-
RE: 27" Kitchen Dashboard
This is really cool, great work. Any chance you can post the code. I can’t get AlexaControl to work for some reason.
-
RE: [MMM-OpenWeatherMapForecast] ** ERROR ** null
I have the same issue and I spent some time debugging it. It turns out that the API call reference the onecall API which is not free. It requires a subscription https://openweathermap.org/api/one-call-3#error401
The call is using 2.5 but the documentation online only reference 3.0
https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&exclude={part}&appid={API key}I tried changing the API call to use hte free one but the layout is probably diffrent and therefore fails.
I think this module won’t work unless you have the OneCall subscription. -
RE: MMM-AI
Hi,
How do you use this module? Do you need Alexa?
What changes are required to make it work?Thank you,
JM -
RE: MMM-EveryNews is not loading anything
Thanks Sam for pointing me to issue#6, I applied the changed and now it’s working! I really appreciate your help.
-
RE: MMM-EveryNews is not loading anything
@sdetweil said in MMM-EveryNews is not loading anything:
if (!error) { if(response.statusCode == 200) { var result = JSON.parse(body).articles; this.sendSocketNotification('NATGEO_RESULT', result); } else { console.error(this.name+" status failed=",response.statusCode) } } else { console.error(this.name+" error=",error) }
I get a Bad Request 400 response code, any idea?
This is the entry in the config.js file
{
disabled: false,
module: ‘MMM-EveryNews’,
position: ‘top right’,
config: {
source: “msnbc”, // any source from https://newsapi.org/sources. // Up to 10 at once
scroll: true, // description scroll or static
scrollSpeed: “3”, // if scroll is true
apiKey: “xxxxxxxxxxxxxxxxxxxxxxxx”, // free API key from https://newsapi.org/register
useHeader: true, // False if you don’t want a header
header: “Over 30,000 News Sources!”, // Any text you want. useHeader must be true
maxWidth: “350px”,
animationSpeed: 3000, // fade speed
rotateInterval: 5 * 60 * 1000,
}
},I tested the API key on NewsAPI site and it worked fine
-
RE: MMM-EveryNews is not loading anything
I was looking in the wrong folder, I found it in the MMM-EveryNews folder, making changes now
-
RE: MMM-EveryNews is not loading anything
I edtited node_helper.js in this folder MagicMirror/js and could not find the code you asked me to change. The only reference I found that checking the response return code 200 is
NodeHelper.checkFetchStatus = function (response) {
// response.status >= 200 && response.status < 300
if (response.ok) {
return response;
} else {
throw Error(response.statusText);
}
}; -
MMM-EveryNews is not loading anything
Re: MMM-EveryNews is not loading anything
I disabled all modules to try to debug this issue but still could not get any news loaded and no errors using rpm start dev.
It says “Anyone’s presents…”
I don’t have any Google modules loaded.