58 lines
1.5 KiB
Markdown
58 lines
1.5 KiB
Markdown
# 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
|
|
|
|
- Daylight Adjustment
|
|
- No ceiling lights during daytime
|
|
- Color Temperature match to outside
|
|
- 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
|
|
- Only close blinds completely if window is closed
|
|
- Door-bell implemented with people counter and clock as indicator
|
|
- Wardrobe light based on contact sensor
|
|
- Reminder to close window after lüften for a while/to open with bad CO2 values
|
|
- Implement climate reminders on clock
|
|
- Reminder/Notifications on clock in general
|
|
- Bettwaage
|
|
- Trigger sleep mode
|
|
- Log weight
|
|
- Log calmness of sleep
|
|
|
|
## Architecture
|
|
|
|
Example Hue Light:
|
|
```
|
|
[HueLight]
|
|
- implementes [LightEntity]
|
|
- uses [HueBridge]
|
|
```
|
|
|
|
Example with ZigBee2Mqtt Temperature and Matrix Clock Temperature:
|
|
```
|
|
[Z2mClimate]
|
|
- implements [ClimateEntity]
|
|
- uses [Z2mBridge]
|
|
|
|
[MatrixClock]
|
|
- implements [ClimateEntity]
|
|
- uses no bridge, works on a per-device connection
|
|
```
|
|
|
|
### Device types
|
|
|
|
G: Get
|
|
S: Set
|
|
|
|
- Hue [GS]
|
|
- Brightness [GS]
|
|
- Saturation [GS]
|
|
- Temperature [G]
|
|
- Humidity [G]
|
|
- Message [S]
|
|
- Contact [G]
|