maxi1134 / Home-Assistant-Config

This is my Smart-home Installation repository
https://www.buymeacoffee.com/maxi1134
695 stars 42 forks source link

Add a"What is maxi doing" sensor #9

Open maxi1134 opened 1 year ago

maxi1134 commented 1 year ago

It should look for anything possible, Music, TVs, Games, sTEamdeck, Xbox, Phone activity

maxi1134 commented 1 year ago

More improvements in https://github.com/maxi1134/Home-Assistant-Config/commit/e88cff2123fb838193b6885ac5c94afc8ff703ab

It now takes in account if I am with partner vs guests. And try to locate where we are chilling.

I also took the "Which is the last sensor" block out of the if condition. To be able to pull that data in further improvements

maxi1134 commented 1 year ago

I should try to add the "sensor.pc_maxi_desktop_lastactive" sensor for this. To further pin down my current activity

maxi1134 commented 1 year ago

Lacks granularity

maxi1134 commented 1 year ago

Add fallback to the Phone location if the B7 bracelet is not_home in 0b36ce9cd97eeb561e9783fa695c10bbca89cfa3

maxi1134 commented 1 year ago

This spawned a secondary quest: 483442500b957958d592b54018b7dcd66b287b97

maxi1134 commented 1 year ago

The sensor currently decides what I am doing before putting me in a room.

Instead, it should:

1- Detect in which room I am with certitude. 2- Detect what is happening in that room 3- Then decide what I am doing

maxi1134 commented 1 year ago

Broke the sensor down into sub-sensors with: ab65b4a6963d31438bc8e7d15b3555efc1271061 ba831ae6edbc96d066a0afb64c07b35875c4ea72 fa42f514e9d6cc7c542b4f64766be14245354517 dab2578d128e5032e0c6b52ebf78b2e9f45bf276 58a8f3a9aff9ed9fe6c636a546e26bc69d078a62

maxi1134 commented 1 year ago

Sensor remains at chilling even if I am in an actively sleeping room

Edit: Fixed

maxi1134 commented 1 year ago

The sensor is not useful in its current form. It is at times too granular and at time not enough.

It now should be broader with attributes giving more information such as; Location People involved Activity details

The activities listed should be at the least; Sleeping Gaming Working Chilling Watching TV Listening to Music Cleaning the House