Skip to content

Variation of 'oh-my-cv' a people tracker, now turned capacitive sensing supervisor included in the up-coming exhibition from Museums Victoria, Gut Feelings.

Notifications You must be signed in to change notification settings

scroix/oh-my-guts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example_oh-my-guts

oh-my-guts

Variation of now defunct 'oh-my-cv' people tracker, now turned capacitive sensing supervisor included in the up-coming exhibition from Museums Victoria, Gut Feelings.

Setup

pip install -r requirements.txt

Run

python oh-my-guts.py

Optionally include -p or --print flag to display output from serial device.

Guide

Starts to read serial data from the first available USB Serial Device.

Is expecting a stream of Strings representing the state of the sensors, 0=Off, 1=On.

  • 1110000
  • 0001100
  • 0100100
  • 1110000

The socket server is accessible on 6789.

In addition there is a Flask server launched on start-up on port 5000 indicating sensor status.

A subscription to the websocket will provide updates on state changes in the following JSON form.

{
  "state": [
    false,
    true,
    false,
    false,
    true,
    false,
    false
  ],
  "count": 2
}

About

Variation of 'oh-my-cv' a people tracker, now turned capacitive sensing supervisor included in the up-coming exhibition from Museums Victoria, Gut Feelings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published