# Max' Smart Home - MaSH Should be a (very simple?) **server** implementation of what is required in Max's smart home. Trying not to overcomplicate things and thereby ruin motivation to work on this. ## Sensors - [ToF People Counter](https://github.com/mgfcf/mash-sensor-tof-pc) ## ToDo - Energy-saving/Off mode (Only one light slighty on to deal with the state) (How should power plugs be handled?) - Daylight Adjustment (E.g. No ceiling lights during daytime) - Save scene when turning off, to reapply same scene when turning on - Detect fast flickering of light state, indicating an issue, and disable the system for a few minutes ## Structure - `src/` - All code - `main.py` - Entry point for execution - `new_syntax_example.py` - Not in use, just noting some ideas about a potential syntax - `core/` - Contains more abstract framework definitions - `bridges/` - Contains latest code that manages connections to other services/devices - `endpoints/` - Contains API routes and older handlers/bridges