Giter Site home page Giter Site logo

nerves_pinger's Introduction

Nerves Pinger

Tinkertime project to build a basic Pingu-like probe thing using Nerves. The current version consists of two separate applications (both in this repo): a Nerves application (pinger for the business logic and firmware for teh Nerves stuff) which runs on a Raspberry Pi and runs network checks, and a Phoenix web server (ui) which runs on a server and collates results (currently only fro mone probe and only persisted in memory). The Pi posts new results to the Phoenix app.

Everything is currently set up to run for test/demo with ui running on a Mac connected to Wifi, and the Pi connected to the Mac using Internet Sharing.

You should be able to ssh into the Pi and get an iex prompt (it should be on 192.168.2.2, which you can map to nerves.local or whatever in your hosts file). The pinger app is hard-coded to post results to 192.168.2.1, which should be the Mac's address on the shared network.

To escape the remote iex session, type ~. or run :c.q (the usual ^C^C or ^G won't work).

There's a Makefile at the top level to run common tasks (build firmware, burn to SD card, upload firmware update to Pi over ssh).

nerves_pinger's People

Contributors

kerryb avatar

Watchers

 avatar  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.