Skip to content

The Pi runs a webserver on your Local Wireless Network, and you can control a multicolored LED array from a mobile optimized web app. I even added a motion sensor to the system to turn the Nite Lite on when you enter the room.

Notifications You must be signed in to change notification settings

tbrianjones/rpi-nitelite

Repository files navigation

Raspberry-Pi Nitelite ( codename: Natalia )

build

setup pi

hardware

  • install raspian on memory card
  • install wireless network device

software

  • install apache
  • install php
  • install python
    • python utilities

operating the nitelite

  • boot the pi
  • sudo python the_brain.py
    • this runs continuously and manages Natalia's inputs
    • this must be run as root ( using sudo ) so that the GPIO library can access the GPIO pins

config file notes

  • add notes about pulse widths
    • what are the current limits ( currently 0 to 500, 0 is off, 500 is max )
    • how are the limits determined

config ( booleans, 0 or 1 )

  • leds_off turn leds on or off
  • is_default use default settings
  • is_fire use fire mode ( flickering fire effect )

config_colors

  • custom_red_pw custom red pulse width
  • custom_green_pw custom green pulse width
  • custom_blue_pw custom blue pulse width
  • custom_white_pw custom white pulse width

utilities used

RPIO ( in use by Natalia )

wiringPi ( not uing this )

viewport sensing in the web app

potential ios homescreen icon images

About

The Pi runs a webserver on your Local Wireless Network, and you can control a multicolored LED array from a mobile optimized web app. I even added a motion sensor to the system to turn the Nite Lite on when you enter the room.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published