Read the statement by Michael Teeuw here.
Module to Display JSON data from a FILE
-
@mhr320 yes , the arrayName has to be set. had the same problem
sharing
well that gets a bit more complicated . this module doesnt support multiple instances w different urls.
if it did, then you could make three files or use different arrayName settings
then you could also use mmm-pages and display 1 each per child
i can add that support later tonight, pretty easy but. have grandson duty for a while
-
Enjoy the grandson, i am of no importance! Thank you!
-
@mhr320 rename the MMM-JsonTable folder out of the way
andcd ~/MagicMirror/modules git clone https://github.com/sdetweil/MMM-JsonTable.git cd MMM-JsonTable git checkout multiinstance npm install
then in config.js
you can have multiple instances with the same url
and different arrayName (even the same,…)then if you use MMM-Pages
{ module: "MMM-pages", config: { rotationTime: 1000 * 20, // rotate every 20 seconds modules: [ ["family"], // page 1 ["kid1 name"], // page 2 ["kid2 name"], // page 3 ["kid3 name"], // page 4 ], fixed: [ // modules that are always shown "fixed" ], } },
then on each other module
add, after the module: line
classes:“xxxx”
xxxx one of the names above, family, kid1, kid2, kid3
for modules on every page use classes:“fixed”above config has 20 seconds on each page… you can change that
-
Absolutely Brilliant! Since I downloaded the multi-instance version of MMM-JsonTable from you, I assume it will not be available when updating. I will diff the original from yours and learn what you did to make it multi-instance and send that off to the author of MMM-JsonTable as a feature request. I really appreciate your help. It was nice to have a pleasant experience in a forum for a change, does not always go that way.
-
-
-
@mhr320 I submitted pull request
https://github.com/timdows/MMM-JsonTable/pull/98 -
@mhr320 said in Module to Display JSON data from a FILE:
It was nice to have a pleasant experience in a forum for a change, does not always go that way.
I am glad to hear that it worked out, and sad to hear the other.
as the moderator here, I am interested in feedback on how to make it better most of the time… -
@sdetweil Hard to say how to improve things from our interaction. 5/5 Stars. I am new-ish to actively using this forum and wanted to give you props for your efforts, not sure if I did through any formal process, I tried to show the answer as the solution and attempted to upvote, but not sure if I did. But if you are the mod and jumped in to help me, that is a great way to make the forum better. Take care and enjoy the grandchild!
-
@mhr320 no… you said in " a " forum for a change, does not always go that way.
I wanted to know what that was… was that HERE?
we try hard to make sure everyone gets supported in some way
-
@mhr320 said in Module to Display JSON data from a FILE:
and attempted to upvote, but not sure if I did
upvote/downvote are restricted to user that have reputation 2 or above (means someone liked/upvoted your contribution twice)
this was we know reputation is not tainted with transient (mostly down) voters…same as having all posts reviewed before live posting, til you rep is 2 or above.
-
@sdetweil Oh, in “a forum” was relative to another forum, this is the first time, in a long time, i’ve used this forum. HERE has been great every time so far, sorry for the misunderstanding.