MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. logen563
    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 0
    • Posts 10
    • Groups 0

    logen563

    @logen563

    1
    Reputation
    650
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    logen563 Unfollow Follow

    Best posts made by logen563

    • RE: MMM-Chart - View your graphs on your Mirror

      Finally it’s working :) Thanks for the help. I use googlespread sheet, csv export, and php to convert it to json. If some somebody interested I can give some help.

      posted in Utilities
      L
      logen563

    Latest posts made by logen563

    • RE: MMM-AssistantMk2 problems when using electron-rebuild

      Thanks for the link! After updating with the stretch gcc-5, its working:) but I see I have to move on to the Stretch distro.

      posted in Troubleshooting
      L
      logen563
    • RE: MMM-AssistantMk2 problems when using electron-rebuild

      Thanks for the replay, I will try that and will let you know :)

      posted in Troubleshooting
      L
      logen563
    • RE: MMM-AssistantMk2 problems when using electron-rebuild

      Thanks for the quick replay!
      Will try the reinstall, the update/upgrade didn’t solved the issue.
      I’m using rpi3, with raspbian jessie light.

      posted in Troubleshooting
      L
      logen563
    • RE: MMM-AssistantMk2 problems when using electron-rebuild

      Hello!

      I have this error, when trying to run the node_auth_test.js

      Error: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21’ not found (required by /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/node-v48-linux-arm-glibc/grpc_node.node)

      Can you give some advise how to solve this?
      Thanks

      posted in Troubleshooting
      L
      logen563
    • RE: [Remote-Control] Shutdown, Configure and Update your MagicMirror

      @Jopyth Thanks for the update!

      posted in System
      L
      logen563
    • RE: MMM-Chart - View your graphs on your Mirror

      Finally it’s working :) Thanks for the help. I use googlespread sheet, csv export, and php to convert it to json. If some somebody interested I can give some help.

      posted in Utilities
      L
      logen563
    • RE: MMM-ip

      Hello!
      Is it possible to update the IP periodically?

      posted in System
      L
      logen563
    • RE: MMM-Chart - View your graphs on your Mirror

      @Snille Thanks! Will try this ! I will let you know the results :)

      posted in Utilities
      L
      logen563
    • RE: MMM-Chart - View your graphs on your Mirror

      @Snille :) thanks! How do I add them? Can you send me the php script you are using? It will be a big help for me ! Thx

      posted in Utilities
      L
      logen563
    • RE: MMM-Chart - View your graphs on your Mirror

      Hello!
      I’m using dht22 modul wich is working fine, and tough will give a try with this module. I used this how-to ( http://www.instructables.com/id/Raspberry-PI-and-DHT22-temperature-and-humidity-lo/ ) to log the temps, and this php script to generate the json: ( http://www.kodingmadesimple.com/2015/01/convert-mysql-to-json-using-php.html )

      php
          //open connection to mysql db
          $connection = mysqli_connect("localhost","logger","password","temperatures") or die("Error " . mysqli_error($connection));
        //fetch table rows from mysql db
          $sql = "select * from temperaturedata";
          $result = mysqli_query($connection, $sql) or die("Error in Selecting " . mysqli_error($connection));
       //create an array
          $emparray = array();
          while($row =mysqli_fetch_assoc($result))
          {
              $emparray[] = $row['dateandtime'];
              $emparray[] = $row['temperature'];
              $emparray[] = $row['humidity'];
            }
           echo json_encode($emparray);
      //close the db connection
          mysqli_close($connection);
      
      ?>
      

      This give me this result:
      [“2017-07-06 11:37:59”,“26.3”,“46.9”,“2017-07-06 11:45:02”,“26.3”,“46.1”,“2017-07-06 11:50:01”,“26.4”,“45.7”,… and so on ]

      I set the correct url in the config, but I cant get it to work :( Maybe the result is not right?

      posted in Utilities
      L
      logen563