mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
various updates and fixes
This commit is contained in:
@@ -9,6 +9,10 @@ www/Default Profile.properties
|
|||||||
.watchman_report.txt
|
.watchman_report.txt
|
||||||
watchman_report.txt
|
watchman_report.txt
|
||||||
.vacuum
|
.vacuum
|
||||||
|
.exports
|
||||||
|
.jwt_secret
|
||||||
|
.version
|
||||||
|
backup_config.yaml
|
||||||
|
|
||||||
.storage/
|
.storage/
|
||||||
.cloud/
|
.cloud/
|
||||||
|
|||||||
@@ -31,8 +31,9 @@ condition:
|
|||||||
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.inner_garage_door
|
# Disabled these top two while I work on fixing the door sensors
|
||||||
- binary_sensor.outer_garage_door
|
# - binary_sensor.inner_garage_door
|
||||||
|
# - binary_sensor.outer_garage_door
|
||||||
#- binary_sensor.garage_door
|
#- binary_sensor.garage_door
|
||||||
- input_boolean.garage_occupied
|
- input_boolean.garage_occupied
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ observations:
|
|||||||
prob_given_false: 0.01
|
prob_given_false: 0.01
|
||||||
to_state: 'off'
|
to_state: 'off'
|
||||||
|
|
||||||
- entity_id: binary_sensor.front_room_person_occupancy
|
# - entity_id: binary_sensor.front_room_person_occupancy
|
||||||
prob_given_true: .99
|
# prob_given_true: .99
|
||||||
prob_given_false: 0.01
|
# prob_given_false: 0.01
|
||||||
platform: state
|
# platform: state
|
||||||
to_state: 'on'
|
# to_state: 'on'
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
name: MindsDB Responses
|
# name: MindsDB Responses
|
||||||
platform: file
|
# platform: file
|
||||||
filename: /config/custom_logs/mindsdb_responses.log
|
# filename: /config/custom_logs/mindsdb_responses.log
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Precipitation
|
# name: Precipitation
|
||||||
platform: file
|
# platform: file
|
||||||
filename: /config/custom_logs/precipitation.csv
|
# filename: /config/custom_logs/precipitation.csv
|
||||||
timestamp: false
|
# timestamp: false
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Soil Moisture
|
# name: Soil Moisture
|
||||||
platform: file
|
# platform: file
|
||||||
filename: /config/custom_logs/soil_moisture.csv
|
# filename: /config/custom_logs/soil_moisture.csv
|
||||||
timestamp: false
|
# timestamp: false
|
||||||
@@ -438,7 +438,9 @@ automation:
|
|||||||
entity_id: input_boolean.log_precipitation
|
entity_id: input_boolean.log_precipitation
|
||||||
state: "on"
|
state: "on"
|
||||||
action:
|
action:
|
||||||
- service: notify.precipitation
|
- service: notify.send_message
|
||||||
|
target:
|
||||||
|
entity_id: notify.precipitation
|
||||||
data:
|
data:
|
||||||
message: "{{now().strftime('%Y-%m-%d')}}T{{now().strftime('%H:%M:%S.%f')}},{{states('sensor.ecowitt_wh40_21917_precipitation')}},{{states('binary_sensor.is_raining')}},{{state_attr('binary_sensor.is_raining','sample_count')}},{{state_attr('binary_sensor.is_raining','sample_duration')}},{{state_attr('binary_sensor.is_raining','min_gradient')}},{{state_attr('binary_sensor.is_raining','gradient')}}"
|
message: "{{now().strftime('%Y-%m-%d')}}T{{now().strftime('%H:%M:%S.%f')}},{{states('sensor.ecowitt_wh40_21917_precipitation')}},{{states('binary_sensor.is_raining')}},{{state_attr('binary_sensor.is_raining','sample_count')}},{{state_attr('binary_sensor.is_raining','sample_duration')}},{{state_attr('binary_sensor.is_raining','min_gradient')}},{{state_attr('binary_sensor.is_raining','gradient')}}"
|
||||||
|
|
||||||
@@ -474,7 +476,9 @@ automation:
|
|||||||
entity_id: input_boolean.log_soil_moisture
|
entity_id: input_boolean.log_soil_moisture
|
||||||
state: "on"
|
state: "on"
|
||||||
action:
|
action:
|
||||||
- service: notify.soil_moisture
|
- service: notify.send_message
|
||||||
|
target:
|
||||||
|
entity_id: notify.soil_moisture
|
||||||
data:
|
data:
|
||||||
message: "{{now().strftime('%Y-%m-%d')}}T{{now().strftime('%H:%M:%S.%f')}},{{states('sensor.fineoffset_wh51_00f935_moisture')}},{{states('sensor.fineoffset_wh51_0ce593_moisture')}},{{states('sensor.fineoffset_wh51_0d1e11_moisture')}}"
|
message: "{{now().strftime('%Y-%m-%d')}}T{{now().strftime('%H:%M:%S.%f')}},{{states('sensor.fineoffset_wh51_00f935_moisture')}},{{states('sensor.fineoffset_wh51_0ce593_moisture')}},{{states('sensor.fineoffset_wh51_0d1e11_moisture')}}"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
counter:
|
counter:
|
||||||
system_health:
|
system_health:
|
||||||
media_extractor:
|
#media_extractor:
|
||||||
media_source:
|
media_source:
|
||||||
mobile_app:
|
mobile_app:
|
||||||
my:
|
my:
|
||||||
|
|||||||
@@ -8,7 +8,9 @@ automation:
|
|||||||
attribute: response_text
|
attribute: response_text
|
||||||
condition: []
|
condition: []
|
||||||
action:
|
action:
|
||||||
- service: notify.mindsdb_responses
|
- service: notify.send_message
|
||||||
|
target:
|
||||||
|
entity_id: notify.mindsdb_responses
|
||||||
data:
|
data:
|
||||||
message: >
|
message: >
|
||||||
"input":"{{ states('input_text.gpt_prompt') }}","output":"{{ state_attr('sensor.hassio_mindsdb_response','response_text')}}"
|
"input":"{{ states('input_text.gpt_prompt') }}","output":"{{ state_attr('sensor.hassio_mindsdb_response','response_text')}}"
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ homeassistant:
|
|||||||
#- /config/image/
|
#- /config/image/
|
||||||
- /config/tmp/
|
- /config/tmp/
|
||||||
- /config/tmp/snapshots/
|
- /config/tmp/snapshots/
|
||||||
|
- /config/custom_logs/
|
||||||
#- /config/www/audio/
|
#- /config/www/audio/
|
||||||
|
|
||||||
customize: !include_dir_merge_named customizations/entities
|
customize: !include_dir_merge_named customizations/entities
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ api:
|
|||||||
reboot_timeout: 15min
|
reboot_timeout: 15min
|
||||||
|
|
||||||
ota:
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- <<: !include binary_sensor/status_sensor.config.yaml
|
- <<: !include binary_sensor/status_sensor.config.yaml
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ substitutions:
|
|||||||
|
|
||||||
packages:
|
packages:
|
||||||
#wifi: !include common/wifi.yaml
|
#wifi: !include common/wifi.yaml
|
||||||
ethernet: !include common/olimex-poe.yaml
|
ethernet: !include common/olimex-evb.yaml
|
||||||
device_base: !include common/device_base.yaml
|
device_base: !include common/device_base.yaml
|
||||||
ble_proxy: !include common/ble_proxy.yaml
|
ble_proxy: !include common/ble_proxy.yaml
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ front_room_motion:
|
|||||||
name: Front Room Motion
|
name: Front Room Motion
|
||||||
icon: mdi:motion-sensor
|
icon: mdi:motion-sensor
|
||||||
entities:
|
entities:
|
||||||
|
- binary_sensor.front_room_motion_switch_home_security_motion_detection
|
||||||
- binary_sensor.front_room_motion_sensor_home_security_motion_detection
|
- binary_sensor.front_room_motion_sensor_home_security_motion_detection
|
||||||
- binary_sensor.front_room_motion
|
- binary_sensor.front_room_motion
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user