The lamp setup
You can see the full source here
Approach 1 - Crazy Spike Ideas
- NodeMCU registers itself in the Poorman’s Service Discovery(PSD).
- Orchestrator contacts all the nodes which are registered
Poorman’s Service Discovery(PSD)
- CGI server which stores the
ip
andupdatedAt
in ansqlite
db
Architecture
Approach 2 - Redis for the rescue
- Redis pub/sub for communicating with NodeMCU