Skip to content

Home Events: Monitor Home Network

Home Events: Monitor Home Network

pim33

Published January 27, 2022

Home Events: Monitor Home Network

Components

Software Apps and online services

x 1


Project description

Home Events
Home Events process packets, and detect events in the local network,.
Consider the following scenarios (which could be very common in most households):
1. Parents go to the work in the morning
2. Parents take kids to school
3. Someone turn on the TV in the afternoon
For each of these scenarios, we can define conditions (pre and post) and actions to be executed.
For example, when everybody left home, turn off the TV and activate monitoring cameras automatically.
Home Assistant automation is a powerful, well-designed feature for these tasks, however, creating the states and triggers is a bit cumbersome.
In this project, we try to decouple the events and leave the action for systems like Home Assistant to handle.
Home Events: Monitor Home Network  

It consists of three main components:

  1. Sniffer: collect ethernet packets from the local network
  2. InferenceEngine: detect patterns in packets and generate events
  3. Notifier: publish messages to configured channels
  Home Events: Monitor Home Network  

Quickstart

  1. Install CircuitPython on your device: Download the https://circuitpython.org/board/raspberry_pi_pico/, disconnect PICO, hold the BOOT button down, connect and copy the UF2 file to the PICO and release the BOOT button.
  2. Copy libraries to `lib` folder on the device. These are tested and working: https://github.com/home-events/w5100s-circuit-python-libs
  3. Create your `config.json` in `src/` folder. See `config-sample.json` for an example.
  4. Copy `src/` folder to the root of your device.
  5. Type `http://<your-configured-ip-address>` in your browser.
  Home Events: Monitor Home Network, Quickstart  

Source

Check https://github.com/home-events/home-events

Documents

Comments

Comments