initial push

This commit is contained in:
CeeWeasel
2024-04-14 14:08:56 -04:00
commit 53bf393d14
1111 changed files with 71730 additions and 0 deletions
@@ -0,0 +1,19 @@
platform: bayesian
unique_id: bayesianbinarysensor.back_yard_occupied
name: Back Yard Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.75
observations:
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
- entity_id: group.back_yard_motion
prob_given_true: .9
prob_given_false: 0.01
platform: state
to_state: 'on'
@@ -0,0 +1,25 @@
platform: bayesian
unique_id: bayesianbinarysensor.blue_room_occupied
name: Blue Room Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.7
observations:
- entity_id: group.blue_room_motion
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
- entity_id: binary_sensor.blue_room_person_occupancy
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'
@@ -0,0 +1,31 @@
platform: bayesian
unique_id: bayesianbinarysensor.computer_area_occupied
name: Computer Area Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.7
observations:
- entity_id: group.computer_area_motion
prob_given_true: .99
prob_given_false: 0.97
platform: state
to_state: 'on'
- entity_id: binary_sensor.computer_chair_contact_occupied
prob_given_true: .99
prob_given_false: 0.97
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'
- entity_id: binary_sensor.computer_area_person_occupancy
prob_given_true: .99
prob_given_false: 0.97
platform: state
to_state: 'on'
@@ -0,0 +1,25 @@
platform: bayesian
unique_id: bayesianbinarysensor.dining_room_occupied
name: Dining Room Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.7
observations:
- entity_id: group.dining_room_motion
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
- entity_id: binary_sensor.dining_room_person_occupancy
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'
@@ -0,0 +1,36 @@
platform: bayesian
unique_id: bayesianbinarysensor.entryway_occupied
name: Entryway Occupied
device_class: occupancy
prior: 0.02
probability_threshold: 0.65
observations:
- entity_id: group.entryway_motion
prob_given_true: 0.9
prob_given_false: 0.01
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .98
prob_given_false: 0.85
to_state: 'on'
- entity_id: binary_sensor.entryway_person_occupancy
prob_given_true: .02
prob_given_false: 0.0
platform: state
to_state: 'on'
- entity_id: binary_sensor.inner_garage_door
prob_given_true: 0.02
prob_given_false: 0.0
platform: state
to_state: 'on'
- entity_id: binary_sensor.front_door_contact
prob_given_true: 0.02
prob_given_false: 0.0
platform: state
to_state: 'on'
@@ -0,0 +1,37 @@
platform: bayesian
unique_id: bayesianbinarysensor.front_room_occupied
name: Front Room Occupied
device_class: occupancy
prior: 0.5
probability_threshold: 0.75
observations:
- entity_id: group.front_room_motion
prob_given_true: .75
prob_given_false: 0.01
platform: state
to_state: 'on'
- entity_id: media_player.front_room_tv
prob_given_true: .9
prob_given_false: 0.01
platform: state
to_state: 'playing'
- entity_id: media_player.front_room_tv
prob_given_true: .5
prob_given_false: 0.01
platform: state
to_state: 'home'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
- entity_id: binary_sensor.front_room_person_occupancy
prob_given_true: .99
prob_given_false: 0.01
platform: state
to_state: 'on'
@@ -0,0 +1,19 @@
platform: bayesian
unique_id: bayesianbinarysensor.front_yard_occupied
name: Front Yard Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.75
observations:
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
- entity_id: group.front_yard_motion
prob_given_true: .9
prob_given_false: 0.01
platform: state
to_state: 'on'
@@ -0,0 +1,13 @@
platform: bayesian
unique_id: bayesianbinarysensor.furnace_room_occupied
name: Furnace Room Occupied
device_class: occupancy
prior: 0.2
probability_threshold: 0.75
observations:
- entity_id: group.furnace_room_motion
prob_given_true: .99
prob_given_false: 0.01
platform: state
to_state: 'on'
@@ -0,0 +1,67 @@
platform: bayesian
unique_id: bayesianbinarysensor.garage_occupied
name: Garage Occupied
device_class: occupancy
prior: 0.4
probability_threshold: 0.6
observations:
- entity_id: group.garage_motion
prob_given_true: .8
prob_given_false: 0.01
platform: state
to_state: 'on'
- entity_id: group.garage_motion
prob_given_true: .5
prob_given_false: 0.5
platform: state
to_state: 'off'
- entity_id: cover.garage_door
prob_given_true: .60
prob_given_false: 0.5
platform: state
to_state: 'open'
- entity_id: cover.garage_door
prob_given_true: .50
prob_given_false: 0.5
platform: state
to_state: 'closed'
- entity_id: binary_sensor.inner_garage_door
prob_given_true: .75
prob_given_false: 0.01
platform: state
to_state: 'on'
- entity_id: binary_sensor.inner_garage_door
prob_given_true: .5
prob_given_false: 0.5
platform: state
to_state: 'off'
- entity_id: binary_sensor.outer_garage_door
prob_given_true: .75
prob_given_false: 0.5
platform: state
to_state: 'on'
- entity_id: binary_sensor.outer_garage_door
prob_given_true: 0.5
prob_given_false: 0.5
platform: state
to_state: 'off'
- entity_id: binary_sensor.workshop_person_occupancy
prob_given_true: .99
prob_given_false: 0.5
platform: state
to_state: 'on'
- entity_id: binary_sensor.workshop_person_occupancy
prob_given_true: 0.5
prob_given_false: 0.5
platform: state
to_state: 'off'
@@ -0,0 +1,43 @@
platform: bayesian
unique_id: bayesianbinarysensor.great_room_occupied
name: Great Room Occupied
device_class: occupancy
prior: 0.5
probability_threshold: 0.75
observations:
- entity_id: group.great_room_motion
platform: state
prob_given_true: .9
prob_given_false: 0.01
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
- entity_id: media_player.downstairs_roku
platform: state
prob_given_true: .9
prob_given_false: 0.01
to_state: 'playing'
- entity_id: media_player.downstairs_roku
platform: state
prob_given_true: .9
prob_given_false: 0.01
to_state: 'paused'
- entity_id: media_player.downstairs_roku
platform: state
prob_given_true: .5
prob_given_false: 0.01
to_state: 'idle'
- entity_id: binary_sensor.great_room_person_occupancy
prob_given_true: .99
prob_given_false: 0.01
platform: state
to_state: 'on'
@@ -0,0 +1,25 @@
platform: bayesian
unique_id: bayesianbinarysensor.kitchen_occupied
name: Kitchen Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.7
observations:
- entity_id: group.kitchen_motion
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
- entity_id: binary_sensor.kitchen_person_occupancy
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'
@@ -0,0 +1,19 @@
platform: bayesian
unique_id: bayesianbinarysensor.mancave_occupied
name: Mancave Occupied
device_class: occupancy
prior: 0.5
probability_threshold: 0.75
observations:
- entity_id: group.mancave_motion
prob_given_true: .9
prob_given_false: 0.01
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
@@ -0,0 +1,43 @@
platform: bayesian
unique_id: bayesianbinarysensor.master_bathroom_occupied
name: Master Bathroom Occupied
device_class: occupancy
prior: 0.2
probability_threshold: 0.75
observations:
- entity_id: group.master_bathroom_motion
prob_given_true: .99
prob_given_false: 0.05
platform: state
to_state: 'on'
# - entity_id: binary_sensor.bathroom_getting_humid
# prob_given_true: .75
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.master_bathroom_hygrostat
prob_given_true: .99
prob_given_false: 0.05
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'
# - platform: template
# value_template: >
# {{ states('sensor.master_bathroom_thermostat_humidity') | float(default=0) - states('sensor.master_bedroom_multisensor_humidity') | float(default=0) > 30 }}
# prob_given_true: 0.99
# prob_given_false: 0.01
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .01
# prob_given_false: 0.5
# to_state: 'off'
@@ -0,0 +1,31 @@
platform: bayesian
unique_id: bayesianbinarysensor.master_bedroom_occupied
name: Master Bedroom Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.75
observations:
- entity_id: binary_sensor.master_bed_occupied
platform: state
prob_given_true: .83
prob_given_false: 0.0
to_state: 'on'
- entity_id: binary_sensor.master_bedroom_person_occupancy
prob_given_true: .4
prob_given_false: 0.0
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.67
to_state: 'on'
- entity_id: group.master_bedroom_motion
platform: state
prob_given_true: .5
prob_given_false: 0.0
to_state: 'on'
@@ -0,0 +1,37 @@
platform: bayesian
unique_id: bayesianbinarysensor.nursery_occupied
name: Nursery Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.90
observations:
- platform: state
entity_id: group.nursery_motion
to_state: 'on'
prob_given_true: .33
prob_given_false: 0.0
- entity_id: binary_sensor.nursery_person_occupancy
prob_given_true: .33
prob_given_false: 0.0
platform: state
to_state: 'on'
- platform: state
entity_id: binary_sensor.black_bed_occupied
to_state: 'on'
prob_given_true: .67
prob_given_false: 0.0
- platform: state
entity_id: binary_sensor.white_bed_occupied
to_state: 'on'
prob_given_true: .67
prob_given_false: 0.0
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .92
prob_given_false: 0.5
to_state: 'on'
@@ -0,0 +1,13 @@
platform: bayesian
unique_id: bayesianbinarysensor.storage_room_occupied
name: Storage Room Occupied
device_class: occupancy
prior: 0.5
probability_threshold: 0.75
observations:
- entity_id: binary_sensor.storage_room_door_contact
prob_given_true: .4
prob_given_false: 0.01
platform: state
to_state: 'on'
@@ -0,0 +1,31 @@
platform: bayesian
unique_id: bayesianbinarysensor.utility_room_occupied
name: Utility Room Occupied
device_class: occupancy
prior: 0.2
probability_threshold: 0.75
observations:
- entity_id: group.utility_room_motion
prob_given_true: .99
prob_given_false: 0.05
platform: state
to_state: 'on'
# - entity_id: binary_sensor.utility_room_getting_humid
# prob_given_true: .75
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.utility_room_hygrostat
prob_given_true: .99
prob_given_false: 0.05
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'