MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. looolz
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 35
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Display JSON data from an api

      The big elephant in the room here is that Panic’s StatusBoard did this and is now dead. They discontinued their iPad app in November, and users from all over the world are looking for something to replace it with. MagicMirror is the perfect replacement, but it lacks the most popular module: The Graph Module. When the Graph Module in Statusboard is fed just one number, it displays the number with a name, instead of the graph. I think a good solution would be to base further MMM development based on the same JSON structure that has already been established in the StatusBoard community. Examples:

      {
      
      "graph": {
      
      "title" : "IKKE BEHANDLET",
      
      "total" : true,
      
      "datasequences" : [
      
      {
      
      "title" : "Datasupport",
      
      "datapoints" : [
      
      { "title" : "Antall", "value" : 3 }
      
      ] } ] } }
      

      This will in StatusBoard look like this:
      0_1488397034636_datasupport-ikkebehandlet.jpg

      If however, the same module is used, and pointed to this JSON-file:

      {
      
      "graph" : {
      
      "title" : "Prod-Redigering : antall saker opprettet",
      
      "total" : true,
      
      "datasequences" : [
      
      {
      
      "title" : "Uke 29",
      
      "datapoints" : [
      
      {"title" : "Mandag", "value" : 0 },
      
      {"title" : "Tirsdag", "value" : 4 },
      
      {"title" : "Onsdag", "value" : 0 },
      
      {"title" : "Torsdag" , "value" : 3 },
      
      {"title" : "Fredag", "value" : 2 }
      
      ]
      
      }
      
      ]
      
      }
      
      }
      

      That will produce this nice Column Graph:

      0_1488397213531_produke.jpg

      The whitepaper still exists here: https://library.panic.com/statusboard/graph_tutorial/

      If someone needs motivation to look into this, please check the comments here:
      https://panic.com/blog/the-future-of-status-board/

      posted in Requests
      L
      looolz
    • RE: Display JSON data from an api

      @yawns Thanks for the reply!

      Well, the JSON-file would be hosted on a server, so a http-path to the file would do the job for sure. A common way to do this that I’ve seen is installing Dropbox on a server, and sharing out the JSON file via a public link.

      posted in Requests
      L
      looolz
    • RE: Display JSON data from an api

      @cowboysdude There is no API. In this case it’s just shell scripts that write out JSON files. I could modify the shell script to write out the files anyhow I want.

      posted in Requests
      L
      looolz
    • RE: Display JSON data from an api

      @cowboysdude

      Thanks, yes. Do you happen to know of a module that successfully loads data from a JSON file? Seems like such a simple thing to do.

      and @mortenbirkelund
      Thanks for the suggestion. I don’t have the skills to make this, yet.

      posted in Requests
      L
      looolz
    • RE: Display JSON data from an api

      Did you get any traction with this? I’m looking for similar solutions; Display fields from JSON formatted file.

      posted in Requests
      L
      looolz
    • Column graph to replace StatusBoard by Panic. (JSON data into graphs)

      We’ve been using Panics Statusboard for years. And love it. Panic decided last year to discontinue the product. So we’re switching to MM now. What StatusBoard did really nicely was having a “module” that you configure to a JSON file path. And it will render the graph data into nice column graphs, like this:

      0_1488202365486_statusboard.jpg

      If there’s only one value/digit, it displays it as a number. But if there is multiple datapoints, it will display that as a graph. And a simple flag setting lets you configure between columns graphs or regular graphs.

      The data input format looks like this:

      {
        "graph" : {
          "title" : "Soft Drink Sales",
          "datasequences" : [
            {
              "title" : "X-Cola",
              "datapoints" : [
                { "title" : "2008", "value" : 22 },
                { "title" : "2009", "value" : 24 },
                { "title" : "2010", "value" : 25.5 },
                { "title" : "2011", "value" : 27.9 },
                { "title" : "2012", "value" : 31 },
              ]
            },
            {
              "title" : "Y-Cola",
              "datapoints" : [
                { "title" : "2008", "value" : 18.4 },
                { "title" : "2009", "value" : 20.1 },
                { "title" : "2010", "value" : 24.8 },
                { "title" : "2011", "value" : 26.1 },
                { "title" : "2012", "value" : 29 },
              ]
            }
          ]
        }
      }
      

      Tonnes of more info here:
      https://library.panic.com/statusboard/graph_tutorial/

      posted in Requests
      L
      looolz
    • RE: Mirror supplier in Norway?

      @dakipro Lets just say that it would be inappropriate for NRK to endorse a specific vendor.

      posted in Hardware
      L
      looolz
    • RE: Mirror supplier in Norway?

      Ref NRKbeta.no artikkelen, da ble denne brukt:

      Speil fra Glassmester Furulund.
      http://www.furulund.no/

      10404 MirrorView 6mm bredde 900 høyde 160
      5830,-

      posted in Hardware
      L
      looolz
    • RE: Buy acrylic mirror in Spain

      Looking for a solution in Norway. I contacted prodisplay.co.uk in the UK.

      The price is way outside a DIY scope:

      550x900mm Mirror Vision Overlay (highly reflective, include black backed non-active areas – no polished edges + no toughening) £690

      Crating £125

      Delivery Norway £240

      posted in General Discussion
      L
      looolz
    • RE: ipWhitelist HowTo

      @mochman

      Thanks, I do see a inet6 address with the command ifconfig.

      I tried to add 10.0.0.95 to the config with no success :-(

      But @xer0design’s tip worked!

      posted in Tutorials
      L
      looolz
    • RE: ipWhitelist HowTo

      @xer0design

      Thanks! That worked for me!

      posted in Tutorials
      L
      looolz
    • RE: ipWhitelist HowTo

      Thank you for posting this! However, I still haven’t got it working yet. Access via VNC works fine, but not via a remote web browser.

      1: When I ran the command tail -f ~/MagicMirror/nohup.out I got this:

      Loading module helpers …
      Initializing new module helper …
      No helper found for module: helloworld.
      All module helpers loaded.
      Starting server op port 8080 …
      Server started …
      Connecting socket for: updatenotification
      Sockets connected & modules started …
      Fontconfig warning: ignoring UTF-8: not a valid region tag
      Launching application.

      Nothing more happens. I’ve tried to access the mirror both via Chrome and Safari. Both before and after I run the command. Nothing shows up in the log.

      My desktops IP is 10.0.0.95, so I added the ipWhitelist line:

          ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:10.0.0.95"],
      

      Still, I get the same error:

      This device is not allowed to access your mirror.
      Please check your config.js or config.js.sample to change this.

      I experimented with various writings, such as: “::fff:10.0.0.1/120” No dice.

      Is there a way to disable the whitelist function completely?

      posted in Tutorials
      L
      looolz
    • Panic's StatusBoard is dead. Anyone want to port graph modules?

      Panic Software recently announced that they are discontinuing StatusBoard, a simple but popular iOS app for iPads connected to a large display:

      Blog post:
      https://panic.com/blog/the-future-of-status-board/

      It’s pretty similar to MagicMirror2 in many respects. If you point StatusBoard to .json sources, it will format the data in nice ways. I hope someone out there looks into porting the graphs module. It would be really cool to have on MagicMirror2.

      posted in General Discussion
      L
      looolz
    • RE: AM/PM times shown even with timeFormat: 24,

      Figured it out. In the config.js file, I had to put

          language: 'nb',
      

      I had:

          language: 'en',
      

      and tried, (but didn’t work) with:

          language: 'no',
      
      posted in Troubleshooting
      L
      looolz
    • AM/PM times shown even with timeFormat: 24,

      Fresh install of Raspbian, with MagicMirror working. The default clock module shows a 24 hour clock, but the calendar module, and other third party modules (MMM-Ruter) that show times for public transport show times with AM/PM (which I don’t want).

      -I’ve set the locale and timezone on Raspbian to Norwegian.

      -I’ve checked that I can make the default clock change to a 12 hour AM/PM clock with the config.js file.

      Is there a separate secret spot I can choose 24 hour times to affect all other modules?

      posted in Troubleshooting
      L
      looolz
    • 1
    • 2
    • 2 / 2