Giter Club home page Giter Club logo

sense-project's Introduction

sense-project

Long-term Goal

Have N Feather Sense boards all reporting environmental sensor data to the cloud.

Current Status

Uses Adafruit's Broadcastnet library to have an RPi4 hub bridge between the Feather Sense boards and Adafruit IO. Basically just trying to implement this tutorial.

  • Feather Sense runs code.py.
  • RPi4 runs rpi_hub.py.

This works out-of-the-box, except that after 5-10 minutes python crashes with an

OSError: [Errno 24] Too many open files

when trying to start a scan. Scanning is apparently done with file objects under the hood, and there's some memory leak type issue whereby the file objects aren't properly cleaned up when scanning is done. To get things working long-term, the fix is apparently to put the hicitool.off file in this repo (named hcitool) somewhere in your PATH before /usr/bin/hcitool (e.g, in ~/bin/hcitool. The hcitool.off file just returns an error, which causes the bluetooth library to switch to some sort of backup utility instead of hcitool, which doesn't have this memory leak issue.

sense-project's People

Contributors

john-klingner avatar

Watchers

 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.