Hello, yes it’s not that easy, but not as difficult as you first suspect;)
It is important that you have time and always makes smaller optimizations … I have to publish my general configuration anyway on my ToDo list anyway but for this I have to optimize some things and document well.
Put simply, it is a mixture of motion detectors, device trackers, door sensors, light sensors, sun.
Example:
When there is movement in the bathroom, the light goes on. If there is no movement for 2 minutes, it will go off. But when the door is closed, the light does not go off automatically (our bathroom door is always open - unless someone is inside).
In the living room, individual spots automatically go on with sunset (or go on when someone comes home and the sun goes down).
In the hall pure motion detector for 2 minutes (a total of three motion detectors) and in addition a door sensor on the front door to make the first light the same a little brighter.
In the hobby room no motion detectors but coupled to different devices and calendar entries. When the TV is switched on, the TV lighting goes on. When certain football games are on and the TV is on, certain spots are on.
In the bedroom only on movement but only at certain times. The bed lighting (yeelight LED strip) is activated by pressing a button in the candlelight mode.
The wardrobe lighting with Xiaomi door sensors.
etc. etc.
In general, there are always different brightness levels, dimming levels, etc. depending on the current brightness, movement, time, sun, etc. The optimization of the logics never stops. There are always little things to improve or the woman has different requirements;)
Sorry for google translation