Daily statistics post | Testing

in #techtek5 years ago (edited)


Statistics:


Board Model: Raspberry Pi 3 Model B Plus Rev 1.3

Uptime:"up 5 days, 21 hours, 34 minutes
"


Temperature:"temp=55.8'C
"


Nodeinfo:
" 5251 pts/3 00:00:00 getnodeinfointo
31911 pts/0 00:25:16 node-steemtrail
"


Memory usage:
" total used free shared buff/cache available
Mem: 927M 517M 67M 52M 341M 313M
Swap: 99M 97M 3.0M
"


Testing testing

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Sort:  

So are you generating these posts with a Raspberry Pi and if Yes, what code are you using?

Hi, thanks for your reply and interest, these statistics posts where indeed generated and posted with a PI, i used JS , PHP, and a few bash scripts to get the statistics: temperature, uptime etc, most is working but want to include more statistics, information and give it a clean look n feel.

(Spent a lot of time trying to remove the double quotes so far without success, have something to do with the way of getting the local data with json encoded, this adds the double quotes and somehow the last quote is also displayed on a new line in the post, would look much better without them, will look into it again.)

At the moment this post is manually triggered to test and improve results, later a cron task will trigger it and daily push the statistics posts out on a set time. it is part of a new project i'm working on involving PI's, it still needs more work and in parallel to the technical development also am working on the design, and concept / project development.

Later there will most likely be two options to run it

  • Image file, everything installed and ready to go
  • Manual installation of each segment, with the use of documentation