Background
I've been spending considerable time making prototypes for a small, Arduino "candle" that fits inside a mug. A bunch of variations, like some with neopixels, some with straight up LEDs... I'm really into color temperature, lighting, and in general being OCD about trying to make a thing that gives a flicker just like a candle would. I'm doing several spins on this idea.
Idea
One idea is to have maybe 3-5 "candles" throughout the room that light up when you enter the room.
They'd be in mugs or old Yankee jars and completely inconspicuous. But, the PIR motion sensor must be separate...because a PIR sensor sticking out of a coffee mug just totally screams "I'm just a wannabe!" So, a PIR sensor nested below the TV would be great.
Initial implementation idea
- 1 Master Esp8266 (or NodeMCU 12e (I have tons of those)) w/ PIR sensor
- 3-5 Slave NodeMCU 12e in jars w/ pixels/leds on top.
The only data to share is 1 bit. Either 1 or 0. Do people exist? Yes or no?
The big question
How should I network these?
- All ESPs on same wifi network. Master == web server. Slaves send HTTP get to Master.
- Set up a web server on my home network with a php page.
- (I don't think 1 ESP AP can handle several clients, so that probably isn't a good option.)
I currently don't have an always-on computer to use, so #2 is currently not very enticing. (But, perhaps that would be a good rationalization for a Raspberry Pi)
Future Considerations
More than one bit. I can, later on, program these to serve as notifications. Like, if it's going to rain today, make the one on the Walnut shelf light up blue.
Do you have any particular advice?