Behaviour » Historie » Version 4
Maximilian Seesslen, 08.02.2024 17:52
1 | 1 | Maximilian Seesslen | h1. Behaviour |
---|---|---|---|
2 | |||
3 | * Mainswitch only listens to -ambient light changes, Media-Switch- keepAwake-Events |
||
4 | ** This makes sense. If the light automatically fades out, someone can switch it on again and does not need to care about mainswitch. |
||
5 | ** Multiple mainswitches are no problem |
||
6 | ** CANSwitch timeout has to be shorter than MainSwitch, otherwise you get hard-off, meaning an short flash |
||
7 | ** timeouts gets reset at 1/2 of the configured time, except target value is "0" |
||
8 | ** CANSwitch default timeout: 4h. When you enable light at 18:00, timout is at 22:00. Waking it up on 22:00 extends to 0:00. |
||
9 | ** fading must be done before other switches are switched off, or TV gets shut off before user can reset via light |
||
10 | ** CANSwitch must send the value "0" target ambient light, so CANDis shows right value. But only when fading down finished. |
||
11 | ** When watching TV at day, it will switch off after 4 hours without warning. It can be switched on again. |
||
12 | ** Warning can be shown on CANDis; Quite silent beep. "Keep awake" "OK" |
||
13 | ** CANSwitch has to remember amibent light value on timeout fade-out. When an wakeup occurs, the previously set ambient light can be restored. |
||
14 | ** Devices need areals in EEPROM. Bus could be routed in complete house. Kitchen already has different context. |
||
15 | 2 | Maximilian Seesslen | ** Regional events. 'wannaSleep', 'keepAwake', 'overTemperature', 'underTemperature'; |
16 | ** CANSwitch sends 'keepAwake' when media is switched on or light is set to value > 0 |
||
17 | 3 | Maximilian Seesslen | ** CANDis does usually not send regionalEvents, only in the Sleep-warning |
18 | 4 | Maximilian Seesslen | |
19 | h1. Problems / Open points |
||
20 | |||
21 | * Regional events look super specific. Shoould this better be an object? |
||
22 | * Can existing events be used for this |