Code Monkey home page Code Monkey logo

pinetgraph's Introduction

pi net graph

Pings google to show current response time on a 2.13inch e-Paper HAT attached to a raspberry pi zero w

alt text alt text

Setup

  • download and install https://www.raspberrypi.org/downloads/raspbian/ on a raspberry pi with 2.13inch e-Paper HAT attached
  • Ensure your Raspberry pi is connected to the network you wish to monitor
  • Follow this to install the required drivers and enable appropriate settings in raspbian
  • clone the repository with
git clone https://github.com/ssaraswati/pinetgraph.git
  • copy the code to your pi via scp if you have ssh enabled or usb/sd card otherwise
scp -r [email protected]:~/pynet ./
  • edit /etc/rc.local to add app.py to startup
sudo nano /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

python /home/pi/pynet/app.py > /home/pi/pynet/log.txt &
exit 0

pinetgraph's People

Contributors

ssaraswati avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.