Updates
This commit is contained in:
185
automations.yaml
185
automations.yaml
@@ -1031,11 +1031,11 @@
|
|||||||
- action: notify.mobile_app_joshuas_iphone_of_pain
|
- action: notify.mobile_app_joshuas_iphone_of_pain
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
message: The Deuce is full of deuces
|
message: The Deuce is full of deuces (laundry room)
|
||||||
- action: notify.mobile_app_pollys_iphone
|
- action: notify.mobile_app_pollys_iphone
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
message: The Deuce is full of deuces
|
message: The Deuce is full of deuces (laundry room)
|
||||||
- action: notify.mailgun_smtp
|
- action: notify.mailgun_smtp
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
@@ -1043,6 +1043,10 @@
|
|||||||
title: Too many dueces have been dropped!
|
title: Too many dueces have been dropped!
|
||||||
target: joshua@cnjmail.com
|
target: joshua@cnjmail.com
|
||||||
enabled: false
|
enabled: false
|
||||||
|
- action: notify.mobile_app_chloes_iphone
|
||||||
|
metadata: {}
|
||||||
|
data:
|
||||||
|
message: The Deuce is full of deuces (laundry room)
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1742842372471'
|
- id: '1742842372471'
|
||||||
alias: The Poop Box has runneth over Notification
|
alias: The Poop Box has runneth over Notification
|
||||||
@@ -1058,11 +1062,15 @@
|
|||||||
- action: notify.mobile_app_joshuas_iphone_of_pain
|
- action: notify.mobile_app_joshuas_iphone_of_pain
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
message: The Poop Box has runneth over
|
message: The Poop Box has runneth over (basement, left side)
|
||||||
- action: notify.mobile_app_pollys_iphone
|
- action: notify.mobile_app_pollys_iphone
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
message: The Poop Box has runneth over
|
message: The Poop Box has runneth over (basement, left side)
|
||||||
|
- action: notify.mobile_app_chloes_iphone
|
||||||
|
metadata: {}
|
||||||
|
data:
|
||||||
|
message: The Poop Box has runneth over (basement, left side)
|
||||||
- action: notify.mailgun_smtp
|
- action: notify.mailgun_smtp
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
@@ -1085,11 +1093,15 @@
|
|||||||
- action: notify.mobile_app_joshuas_iphone_of_pain
|
- action: notify.mobile_app_joshuas_iphone_of_pain
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
message: Triple Threat can't take no more!
|
message: Triple Threat can't take no more! (Basement, right side)
|
||||||
- action: notify.mobile_app_pollys_iphone
|
- action: notify.mobile_app_pollys_iphone
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
message: Triple Threat can't take no more!
|
message: Triple Threat can't take no more! (Basement, right side)
|
||||||
|
- action: notify.mobile_app_chloes_iphone
|
||||||
|
metadata: {}
|
||||||
|
data:
|
||||||
|
message: Triple Threat can't take no more! (Basement, right side)
|
||||||
- action: notify.mailgun_smtp
|
- action: notify.mailgun_smtp
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
@@ -1900,44 +1912,6 @@
|
|||||||
entity_id: 84d24335edc946153ed4f81ac7906f3c
|
entity_id: 84d24335edc946153ed4f81ac7906f3c
|
||||||
domain: switch
|
domain: switch
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1770043717316'
|
|
||||||
alias: turn on jordyn a1 cam light
|
|
||||||
description: ''
|
|
||||||
triggers:
|
|
||||||
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
|
||||||
domain: bambu_lab
|
|
||||||
type: event_print_started
|
|
||||||
trigger: device
|
|
||||||
conditions: []
|
|
||||||
actions:
|
|
||||||
- type: turn_on
|
|
||||||
device_id: d174bbc498cde1d02e455cb133c04675
|
|
||||||
entity_id: 0736793ae0d143db76ea7c64d86f4268
|
|
||||||
domain: switch
|
|
||||||
mode: single
|
|
||||||
- id: '1770045082546'
|
|
||||||
alias: Turn off Jordyn a1 camera
|
|
||||||
description: ''
|
|
||||||
triggers:
|
|
||||||
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
|
||||||
domain: bambu_lab
|
|
||||||
type: event_print_finished
|
|
||||||
trigger: device
|
|
||||||
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
|
||||||
domain: bambu_lab
|
|
||||||
type: event_print_failed
|
|
||||||
trigger: device
|
|
||||||
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
|
||||||
domain: bambu_lab
|
|
||||||
type: event_print_canceled
|
|
||||||
trigger: device
|
|
||||||
conditions: []
|
|
||||||
actions:
|
|
||||||
- type: turn_off
|
|
||||||
device_id: d174bbc498cde1d02e455cb133c04675
|
|
||||||
entity_id: 0736793ae0d143db76ea7c64d86f4268
|
|
||||||
domain: switch
|
|
||||||
mode: single
|
|
||||||
- id: '1770433866161'
|
- id: '1770433866161'
|
||||||
alias: Turn off Kitchen Sink at Sunrise
|
alias: Turn off Kitchen Sink at Sunrise
|
||||||
description: ''
|
description: ''
|
||||||
@@ -1960,6 +1934,10 @@
|
|||||||
domain: bambu_lab
|
domain: bambu_lab
|
||||||
type: event_print_started
|
type: event_print_started
|
||||||
trigger: device
|
trigger: device
|
||||||
|
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
||||||
|
domain: bambu_lab
|
||||||
|
type: event_print_error_cleared
|
||||||
|
trigger: device
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: light.turn_on
|
- action: light.turn_on
|
||||||
@@ -1969,7 +1947,7 @@
|
|||||||
data: {}
|
data: {}
|
||||||
- type: turn_on
|
- type: turn_on
|
||||||
device_id: d174bbc498cde1d02e455cb133c04675
|
device_id: d174bbc498cde1d02e455cb133c04675
|
||||||
entity_id: c1781c1af12384eeafe080e11876b286
|
entity_id: 0736793ae0d143db76ea7c64d86f4268
|
||||||
domain: switch
|
domain: switch
|
||||||
- action: light.turn_on
|
- action: light.turn_on
|
||||||
metadata: {}
|
metadata: {}
|
||||||
@@ -1987,13 +1965,25 @@
|
|||||||
domain: bambu_lab
|
domain: bambu_lab
|
||||||
type: event_print_started
|
type: event_print_started
|
||||||
trigger: device
|
trigger: device
|
||||||
|
- device_id: 299743e9ce66334a0f3bac10eb24cf31
|
||||||
|
domain: bambu_lab
|
||||||
|
type: event_print_error_cleared
|
||||||
|
trigger: device
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: light.turn_on
|
- action: light.turn_on
|
||||||
metadata: {}
|
metadata: {}
|
||||||
target:
|
target:
|
||||||
entity_id: light.a1_03919d540806387_chamber_light
|
entity_id:
|
||||||
data: {}
|
- light.a1_03919d540806387_chamber_light
|
||||||
|
- light.led_controller_polly_pocket_declan_s_led_controller
|
||||||
|
data:
|
||||||
|
color_temp_kelvin: 6500
|
||||||
|
brightness_pct: 100
|
||||||
|
- type: turn_on
|
||||||
|
device_id: c63f4513655bdd5b44b998f45b491136
|
||||||
|
entity_id: fe6d0eee24eb1b397d37b7389137b5b5
|
||||||
|
domain: switch
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1770938855253'
|
- id: '1770938855253'
|
||||||
alias: Jordyn-a1-light-off-print-send
|
alias: Jordyn-a1-light-off-print-send
|
||||||
@@ -2003,6 +1993,10 @@
|
|||||||
domain: bambu_lab
|
domain: bambu_lab
|
||||||
type: event_print_finished
|
type: event_print_finished
|
||||||
trigger: device
|
trigger: device
|
||||||
|
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
||||||
|
domain: bambu_lab
|
||||||
|
type: event_print_canceled
|
||||||
|
trigger: device
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: light.turn_off
|
- action: light.turn_off
|
||||||
@@ -2015,7 +2009,7 @@
|
|||||||
transition: 60
|
transition: 60
|
||||||
- type: turn_off
|
- type: turn_off
|
||||||
device_id: d174bbc498cde1d02e455cb133c04675
|
device_id: d174bbc498cde1d02e455cb133c04675
|
||||||
entity_id: c1781c1af12384eeafe080e11876b286
|
entity_id: 0736793ae0d143db76ea7c64d86f4268
|
||||||
domain: switch
|
domain: switch
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1770943298493'
|
- id: '1770943298493'
|
||||||
@@ -2024,15 +2018,25 @@
|
|||||||
triggers:
|
triggers:
|
||||||
- device_id: 299743e9ce66334a0f3bac10eb24cf31
|
- device_id: 299743e9ce66334a0f3bac10eb24cf31
|
||||||
domain: bambu_lab
|
domain: bambu_lab
|
||||||
type: event_print_started
|
type: event_print_finished
|
||||||
|
trigger: device
|
||||||
|
- device_id: 299743e9ce66334a0f3bac10eb24cf31
|
||||||
|
domain: bambu_lab
|
||||||
|
type: event_print_canceled
|
||||||
trigger: device
|
trigger: device
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: light.turn_off
|
- action: light.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
target:
|
target:
|
||||||
entity_id: light.a1_03919d540806387_chamber_light
|
entity_id:
|
||||||
|
- light.a1_03919d540806387_chamber_light
|
||||||
|
- light.led_controller_polly_pocket_declan_s_led_controller
|
||||||
data: {}
|
data: {}
|
||||||
|
- type: turn_off
|
||||||
|
device_id: c63f4513655bdd5b44b998f45b491136
|
||||||
|
entity_id: fe6d0eee24eb1b397d37b7389137b5b5
|
||||||
|
domain: switch
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1770943760193'
|
- id: '1770943760193'
|
||||||
alias: Jordyn-A1-Flash-Red-When-Print-Error
|
alias: Jordyn-A1-Flash-Red-When-Print-Error
|
||||||
@@ -2042,6 +2046,10 @@
|
|||||||
domain: bambu_lab
|
domain: bambu_lab
|
||||||
type: event_print_error
|
type: event_print_error
|
||||||
trigger: device
|
trigger: device
|
||||||
|
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
||||||
|
domain: bambu_lab
|
||||||
|
type: event_print_failed
|
||||||
|
trigger: device
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: light.turn_on
|
- action: light.turn_on
|
||||||
@@ -2055,24 +2063,15 @@
|
|||||||
- 0
|
- 0
|
||||||
effect: Flash
|
effect: Flash
|
||||||
brightness_pct: 100
|
brightness_pct: 100
|
||||||
mode: single
|
- type: turn_off
|
||||||
- id: '1770943916864'
|
device_id: d174bbc498cde1d02e455cb133c04675
|
||||||
alias: Jordyn-A1-LED-White-When-Error-Cleared
|
entity_id: 0736793ae0d143db76ea7c64d86f4268
|
||||||
description: ''
|
domain: switch
|
||||||
triggers:
|
- action: light.turn_off
|
||||||
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
|
||||||
domain: bambu_lab
|
|
||||||
type: event_print_error_cleared
|
|
||||||
trigger: device
|
|
||||||
conditions: []
|
|
||||||
actions:
|
|
||||||
- action: light.turn_on
|
|
||||||
metadata: {}
|
metadata: {}
|
||||||
target:
|
target:
|
||||||
entity_id: light.jordyn_s_led_controller_jordyn_s_led_controller
|
entity_id: light.jordyns_layer_slayer_chamber_light
|
||||||
data:
|
data: {}
|
||||||
color_temp_kelvin: 6500
|
|
||||||
brightness_pct: 100
|
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1770944104889'
|
- id: '1770944104889'
|
||||||
alias: Pints-Charming-Lights-On-Print-Started
|
alias: Pints-Charming-Lights-On-Print-Started
|
||||||
@@ -2134,9 +2133,9 @@
|
|||||||
actions:
|
actions:
|
||||||
- action: light.turn_off
|
- action: light.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
target:
|
|
||||||
entity_id: light.constipation_orion_chamber_light
|
|
||||||
data: {}
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id: light.p1s_01p09c470102673_chamber_light
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1771090372998'
|
- id: '1771090372998'
|
||||||
alias: Declans Closet Door Battery Low Notification
|
alias: Declans Closet Door Battery Low Notification
|
||||||
@@ -2157,3 +2156,53 @@
|
|||||||
data:
|
data:
|
||||||
message: Declan's closet sensor battery is low.
|
message: Declan's closet sensor battery is low.
|
||||||
mode: single
|
mode: single
|
||||||
|
- id: '1771272500745'
|
||||||
|
alias: polly-pocket-a1-mini-lights-on-during-print
|
||||||
|
description: ''
|
||||||
|
triggers:
|
||||||
|
- device_id: 1cf63ab34db5ac50291c1477cddf2b9a
|
||||||
|
domain: bambu_lab
|
||||||
|
type: event_print_started
|
||||||
|
trigger: device
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- action: light.turn_on
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- light.a1mini_0309ca580403653_chamber_light
|
||||||
|
- light.polly_s_led_controller_polly_s_led_controller
|
||||||
|
data:
|
||||||
|
color_temp_kelvin: 6500
|
||||||
|
brightness_pct: 100
|
||||||
|
- type: turn_on
|
||||||
|
device_id: a78c9554b983d1e2459194cc0fee22d3
|
||||||
|
entity_id: d430d19aa2f118038cb01a3157865ed0
|
||||||
|
domain: switch
|
||||||
|
mode: single
|
||||||
|
- id: '1771272773906'
|
||||||
|
alias: polly-pocket-a1-mini-lights-off-during-print
|
||||||
|
description: ''
|
||||||
|
triggers:
|
||||||
|
- device_id: 1cf63ab34db5ac50291c1477cddf2b9a
|
||||||
|
domain: bambu_lab
|
||||||
|
type: event_print_finished
|
||||||
|
trigger: device
|
||||||
|
- device_id: 1cf63ab34db5ac50291c1477cddf2b9a
|
||||||
|
domain: bambu_lab
|
||||||
|
type: event_print_canceled
|
||||||
|
trigger: device
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- action: light.turn_off
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- light.a1mini_0309ca580403653_chamber_light
|
||||||
|
- light.polly_s_led_controller_polly_s_led_controller
|
||||||
|
data: {}
|
||||||
|
- type: turn_off
|
||||||
|
device_id: a78c9554b983d1e2459194cc0fee22d3
|
||||||
|
entity_id: d430d19aa2f118038cb01a3157865ed0
|
||||||
|
domain: switch
|
||||||
|
mode: single
|
||||||
|
|||||||
@@ -55,12 +55,12 @@ esp32_camera:
|
|||||||
href_pin: GPIO23
|
href_pin: GPIO23
|
||||||
pixel_clock_pin: GPIO22
|
pixel_clock_pin: GPIO22
|
||||||
power_down_pin: GPIO32
|
power_down_pin: GPIO32
|
||||||
resolution: 640x480
|
resolution: 640X480
|
||||||
jpeg_quality: 20
|
jpeg_quality: 20
|
||||||
vertical_flip: False
|
vertical_flip: False
|
||||||
horizontal_mirror: False
|
horizontal_mirror: False
|
||||||
max_framerate: 22 fps
|
max_framerate: 20 fps
|
||||||
idle_framerate: 0.1 fps
|
idle_framerate: 0.05 fps
|
||||||
|
|
||||||
# Image settings
|
# Image settings
|
||||||
name: ${device_name}
|
name: ${device_name}
|
||||||
|
|||||||
@@ -50,20 +50,20 @@ esp32_camera:
|
|||||||
href_pin: GPIO23
|
href_pin: GPIO23
|
||||||
pixel_clock_pin: GPIO22
|
pixel_clock_pin: GPIO22
|
||||||
power_down_pin: GPIO32
|
power_down_pin: GPIO32
|
||||||
resolution: 800x600
|
resolution: 1024x768
|
||||||
jpeg_quality: 15
|
jpeg_quality: 20
|
||||||
vertical_flip: False
|
vertical_flip: False
|
||||||
horizontal_mirror: False
|
horizontal_mirror: False
|
||||||
max_framerate: 20 fps
|
max_framerate: 40 fps
|
||||||
idle_framerate: 0.05 fps
|
idle_framerate: 0.05 fps
|
||||||
|
|
||||||
# Image settings
|
# Image settings
|
||||||
name: esp32-jordyn-a1-cam
|
name: esp32-jordyn-a1-cam
|
||||||
brightness: 1
|
# brightness: 1
|
||||||
#contrast: 0
|
# #contrast: 0
|
||||||
agc_gain_ceiling: 2X
|
# agc_gain_ceiling: 2X
|
||||||
agc_mode: MANUAL
|
# agc_mode: MANUAL
|
||||||
agc_value: 5
|
# agc_value: 5
|
||||||
# ...
|
# ...
|
||||||
|
|
||||||
esp32_camera_web_server:
|
esp32_camera_web_server:
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
|
substitutions:
|
||||||
|
device_name: polly-a1-mini-camera
|
||||||
|
friendly_name: "Polly's A1 Camera"
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: polly-a1-mini-camera
|
name: ${device_name}
|
||||||
friendly_name: polly-a1-mini-camera
|
friendly_name: ${friendly_name}
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
board: esp32dev
|
board: esp32dev
|
||||||
@@ -10,6 +14,7 @@ esp32:
|
|||||||
|
|
||||||
# Enable logging
|
# Enable logging
|
||||||
logger:
|
logger:
|
||||||
|
level: INFO
|
||||||
|
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
@@ -21,16 +26,20 @@ ota:
|
|||||||
password: "58f86a5e60abe60886cec2f65a1d3da5"
|
password: "58f86a5e60abe60886cec2f65a1d3da5"
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: !secret wifi_ssid
|
ssid: !secret wifi_iot_ssid
|
||||||
password: !secret wifi_password
|
password: !secret wifi_password
|
||||||
|
|
||||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
ap:
|
ap:
|
||||||
ssid: "Polly-A1-Mini-Camera"
|
ssid: "${friendly_name} Fallback"
|
||||||
password: "7so1xpjNMIMr"
|
password: !secret wifi_password
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
|
|
||||||
|
# Web server for standalone control (optional, but useful)
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
|
||||||
i2c:
|
i2c:
|
||||||
- id: camera_i2c
|
- id: camera_i2c
|
||||||
sda: GPIO26
|
sda: GPIO26
|
||||||
@@ -50,14 +59,15 @@ esp32_camera:
|
|||||||
href_pin: GPIO23
|
href_pin: GPIO23
|
||||||
pixel_clock_pin: GPIO22
|
pixel_clock_pin: GPIO22
|
||||||
power_down_pin: GPIO32
|
power_down_pin: GPIO32
|
||||||
resolution: 800x600
|
resolution: 1024X768
|
||||||
jpeg_quality: 20
|
jpeg_quality: 20
|
||||||
#horizontal_mirror: False
|
vertical_flip: False
|
||||||
|
horizontal_mirror: True
|
||||||
max_framerate: 20 fps
|
max_framerate: 20 fps
|
||||||
idle_framerate: 0.05 fps
|
idle_framerate: 0.05 fps
|
||||||
|
|
||||||
# Image settings
|
# Image settings
|
||||||
name: esp32-polly-a1-mini-cam
|
name: ${device_name}
|
||||||
# brightness: 1
|
# brightness: 1
|
||||||
# contrast: 0
|
# contrast: 0
|
||||||
# agc_gain_ceiling: 2X
|
# agc_gain_ceiling: 2X
|
||||||
@@ -66,13 +76,13 @@ esp32_camera:
|
|||||||
# ...
|
# ...
|
||||||
|
|
||||||
esp32_camera_web_server:
|
esp32_camera_web_server:
|
||||||
- port: 80
|
|
||||||
mode: STREAM
|
|
||||||
- port: 8080
|
- port: 8080
|
||||||
|
mode: STREAM
|
||||||
|
- port: 8081
|
||||||
mode: SNAPSHOT
|
mode: SNAPSHOT
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: "polly-a1-mini-cam-flash"
|
name: "${device_name}-flash"
|
||||||
pin: 4
|
pin: 4
|
||||||
|
|
||||||
Reference in New Issue
Block a user