Read the statement by Michael Teeuw here.
http request
-
I did that,
Now it’s solved, I copied the .json in the right folder
-
Awesome. @KirAsh4 is correct - The README has all the instructions so be sure to take a look.
Please let me know how it works cause you’ll be the first person to use it
-
As a further explanation,
'npm install'
is only required if the module you are installing requires other node modules to also be installed. When you first install MagicMirror you have to run'npm install'
to install all the dependencies for it to work, however generally, modules don’t need that. The exception is if someone writes a module that requires another node module that isn’t already installed. So there was no need to run that, nor to copy any'.json'
package files anywhere. -
is that correct ?
{ module: 'MMM-HTTPRequestDisplay', position: 'bottom_bar', // This can be any of the regions. Best results in left or right regions. header: 'MMM-HTTPRequestDisplay', // This is optional config: { accessToken: 'http://api.openweathermap.org/data/2.5/weather?q=London,uk&mode=xml', // See 'Configuration options' for more information. } },
Note from Moderator: Please use Markdown on code snippets for easier reading.
-
Sorry, I made a lot of mistakes on the README it seems.
Instead of
accessToken : "http://etc"
use
httpRequestURL: "http://etc"
apologies
-
no problemo,
with this config, black screen
modules: [ { module: 'MMM-HTTPRequestDisplay', position: 'bottom_bar', // This can be any of the regions. Best results in left or right regions. header: 'MMM-HTTPRequestDisplay', // This is optional config: { httpRequestURL: 'http://192.168.1.248:8889/status.xml', // See 'Configuration options' for more information. } },
-
Make sure that you’re not just copy and pasting blindly into your config file.
After each
modules: [ { etc },
Note the comma
,
after the module. That comma should only be there if there are more modules.Likewise, if you’re pasting it last, you need to make sure the module before it has one, to let the script know there are more modules after the previous one.
So the pattern is
modules: [ { module: ‘firstModule’, config: { option : "" } }, <<< COMMA HERE modules: [ { module: ‘middleModule’, config: { option : "" } }, <<< COMMA HERE modules: [ { module: ‘last module’, config: { option : "" } } <<<<< NO COMMA
hope that makes sense. hopefully that’s the problem.
-
This post is deleted! -
This post is deleted! -
Can you Zip up and upload your config file somewhere I can download it and I’ll take a look? Somewhere like pastebin.