mini home automation
✓ Published0🌍 Public
TTBD
Last edited Feb 15, 2022
Created on Feb 15, 2022
This animation demonstrates a minimalist home automation simulation where a temperature sensor, two lights, and a central brain device communicate through a custom event bus. The code uses Node.js’s `readline` interface for command-line interaction, while device classes and the `miniBus` event emitter manage message passing and state updates. The scene is rendered purely via console status logs triggered by typed commands, showing sensor readings updating the brain’s temperature and a light toggling on or off.
AI-generated description