Skip to content

AndrewCaylor/ASmartLamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome!

Smart Lamp from scratch in here!

General "architecture":
ESP32 (lamp) <- websocket -> config server (ras pi) <- websocket -> web client

How I set up DNS:

Using my router to have a nice url resolve to the ip for the ras pi server!

  1. setup dnsmasq
  2. Add raspi host 192.168.1.19 to hosts as smart.home
  3. 192.168.1.8 to hosts as dev.me
  4. sudo service dnsmasq restart
  5. start server on port 80

How I set up start-up on boot:

crontab reboot setup

Now: dew@raspberrypi:~/server $ crontab -l @reboot /home/dew/Lamp/boot/onboot.sh

TODO: kicad PCB design

TODO: add stl file and Fusion360 files for holder

TODO: pics

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published