Coder Social home page Coder Social logo

meowmeowahr / autolight Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.2 MB

VL53L0X controlled automatic lighting system

Home Page: https://meowmeowahr.github.io/AutoLight/

License: GNU General Public License v3.0

Python 100.00%
hass home-assistant lighting lighting-controller lighting-effects mqtt mqtt-auto-discovery pca9685 raspberry-pi gpio paho-mqtt python vl53l0x autolight

autolight's Introduction

Auto-Light

Raspberry Pi controlled VL53L0X activated lights via PCA9685

Hardware Requirements

  • A Raspberry Pi (Original Pi Zero and Original Pi A/B are not supported)
  • PCA9685
  • Up to 16 VL53L0X sensors
  • As many leds as there are sensors

Installation

Software requirements

Raspberry Pi OS Bookworm (Older OSes may work with pyenv and building lgpio from source)

System Dependencies

Install these before Python dependencies

sudo apt install python3-dev

Python Dependencies

  • Change directory into AutoLight

    cd AutoLight

  • Setting virtual environment

    python3 -m venv .venv

  • Source environment

    source .venv/bin/activate

  • Install dependencies

    pip install -r requirements.txt

๐Ÿš€ AutoLight is now installed

Configuration

All configuration is done through a config.yaml file. An example to get started is included and used by default in the source. Either directly edit the file, or use the --config or -c command line argument to define a custom location.

autolight's People

Contributors

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