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.
Read the statement by Michael Teeuw here.
Best posts made by logen563
-
RE: MMM-Chart - View your graphs on your Mirror
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.
-
RE: MMM-AssistantMk2 problems when using electron-rebuild
Thanks for the replay, I will try that and will let you know :)
-
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. -
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 -
RE: [Remote-Control] Shutdown, Configure and Update your MagicMirror
@Jopyth Thanks for the update!
-
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.
-
RE: MMM-Chart - View your graphs on your Mirror
@Snille Thanks! Will try this ! I will let you know the results :)
-
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
-
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?