This commit is contained in:
2026-02-16 19:21:03 -05:00
parent 5dcb436063
commit ed7deb6cb8
4 changed files with 149 additions and 90 deletions

View File

@@ -1031,11 +1031,11 @@
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: The Deuce is full of deuces
message: The Deuce is full of deuces (laundry room)
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: The Deuce is full of deuces
message: The Deuce is full of deuces (laundry room)
- action: notify.mailgun_smtp
metadata: {}
data:
@@ -1043,6 +1043,10 @@
title: Too many dueces have been dropped!
target: joshua@cnjmail.com
enabled: false
- action: notify.mobile_app_chloes_iphone
metadata: {}
data:
message: The Deuce is full of deuces (laundry room)
mode: single
- id: '1742842372471'
alias: The Poop Box has runneth over Notification
@@ -1058,11 +1062,15 @@
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: The Poop Box has runneth over
message: The Poop Box has runneth over (basement, left side)
- action: notify.mobile_app_pollys_iphone
metadata: {}
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
metadata: {}
data:
@@ -1085,11 +1093,15 @@
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
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
metadata: {}
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
metadata: {}
data:
@@ -1900,44 +1912,6 @@
entity_id: 84d24335edc946153ed4f81ac7906f3c
domain: switch
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'
alias: Turn off Kitchen Sink at Sunrise
description: ''
@@ -1960,6 +1934,10 @@
domain: bambu_lab
type: event_print_started
trigger: device
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_error_cleared
trigger: device
conditions: []
actions:
- action: light.turn_on
@@ -1969,7 +1947,7 @@
data: {}
- type: turn_on
device_id: d174bbc498cde1d02e455cb133c04675
entity_id: c1781c1af12384eeafe080e11876b286
entity_id: 0736793ae0d143db76ea7c64d86f4268
domain: switch
- action: light.turn_on
metadata: {}
@@ -1987,13 +1965,25 @@
domain: bambu_lab
type: event_print_started
trigger: device
- device_id: 299743e9ce66334a0f3bac10eb24cf31
domain: bambu_lab
type: event_print_error_cleared
trigger: device
conditions: []
actions:
- action: light.turn_on
metadata: {}
target:
entity_id: light.a1_03919d540806387_chamber_light
data: {}
entity_id:
- 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
- id: '1770938855253'
alias: Jordyn-a1-light-off-print-send
@@ -2003,6 +1993,10 @@
domain: bambu_lab
type: event_print_finished
trigger: device
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_canceled
trigger: device
conditions: []
actions:
- action: light.turn_off
@@ -2015,7 +2009,7 @@
transition: 60
- type: turn_off
device_id: d174bbc498cde1d02e455cb133c04675
entity_id: c1781c1af12384eeafe080e11876b286
entity_id: 0736793ae0d143db76ea7c64d86f4268
domain: switch
mode: single
- id: '1770943298493'
@@ -2024,15 +2018,25 @@
triggers:
- device_id: 299743e9ce66334a0f3bac10eb24cf31
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
conditions: []
actions:
- action: light.turn_off
metadata: {}
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: {}
- type: turn_off
device_id: c63f4513655bdd5b44b998f45b491136
entity_id: fe6d0eee24eb1b397d37b7389137b5b5
domain: switch
mode: single
- id: '1770943760193'
alias: Jordyn-A1-Flash-Red-When-Print-Error
@@ -2042,6 +2046,10 @@
domain: bambu_lab
type: event_print_error
trigger: device
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_failed
trigger: device
conditions: []
actions:
- action: light.turn_on
@@ -2055,24 +2063,15 @@
- 0
effect: Flash
brightness_pct: 100
mode: single
- id: '1770943916864'
alias: Jordyn-A1-LED-White-When-Error-Cleared
description: ''
triggers:
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_error_cleared
trigger: device
conditions: []
actions:
- action: light.turn_on
- type: turn_off
device_id: d174bbc498cde1d02e455cb133c04675
entity_id: 0736793ae0d143db76ea7c64d86f4268
domain: switch
- action: light.turn_off
metadata: {}
target:
entity_id: light.jordyn_s_led_controller_jordyn_s_led_controller
data:
color_temp_kelvin: 6500
brightness_pct: 100
entity_id: light.jordyns_layer_slayer_chamber_light
data: {}
mode: single
- id: '1770944104889'
alias: Pints-Charming-Lights-On-Print-Started
@@ -2134,9 +2133,9 @@
actions:
- action: light.turn_off
metadata: {}
target:
entity_id: light.constipation_orion_chamber_light
data: {}
target:
entity_id: light.p1s_01p09c470102673_chamber_light
mode: single
- id: '1771090372998'
alias: Declans Closet Door Battery Low Notification
@@ -2157,3 +2156,53 @@
data:
message: Declan's closet sensor battery is low.
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

View File

@@ -55,12 +55,12 @@ esp32_camera:
href_pin: GPIO23
pixel_clock_pin: GPIO22
power_down_pin: GPIO32
resolution: 640x480
resolution: 640X480
jpeg_quality: 20
vertical_flip: False
horizontal_mirror: False
max_framerate: 22 fps
idle_framerate: 0.1 fps
max_framerate: 20 fps
idle_framerate: 0.05 fps
# Image settings
name: ${device_name}

View File

@@ -50,20 +50,20 @@ esp32_camera:
href_pin: GPIO23
pixel_clock_pin: GPIO22
power_down_pin: GPIO32
resolution: 800x600
jpeg_quality: 15
resolution: 1024x768
jpeg_quality: 20
vertical_flip: False
horizontal_mirror: False
max_framerate: 20 fps
max_framerate: 40 fps
idle_framerate: 0.05 fps
# Image settings
name: esp32-jordyn-a1-cam
brightness: 1
#contrast: 0
agc_gain_ceiling: 2X
agc_mode: MANUAL
agc_value: 5
# brightness: 1
# #contrast: 0
# agc_gain_ceiling: 2X
# agc_mode: MANUAL
# agc_value: 5
# ...
esp32_camera_web_server:

View File

@@ -1,6 +1,10 @@
substitutions:
device_name: polly-a1-mini-camera
friendly_name: "Polly's A1 Camera"
esphome:
name: polly-a1-mini-camera
friendly_name: polly-a1-mini-camera
name: ${device_name}
friendly_name: ${friendly_name}
esp32:
board: esp32dev
@@ -10,6 +14,7 @@ esp32:
# Enable logging
logger:
level: INFO
# Enable Home Assistant API
api:
@@ -21,16 +26,20 @@ ota:
password: "58f86a5e60abe60886cec2f65a1d3da5"
wifi:
ssid: !secret wifi_ssid
ssid: !secret wifi_iot_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Polly-A1-Mini-Camera"
password: "7so1xpjNMIMr"
ssid: "${friendly_name} Fallback"
password: !secret wifi_password
captive_portal:
# Web server for standalone control (optional, but useful)
web_server:
port: 80
i2c:
- id: camera_i2c
sda: GPIO26
@@ -50,14 +59,15 @@ esp32_camera:
href_pin: GPIO23
pixel_clock_pin: GPIO22
power_down_pin: GPIO32
resolution: 800x600
resolution: 1024X768
jpeg_quality: 20
#horizontal_mirror: False
vertical_flip: False
horizontal_mirror: True
max_framerate: 20 fps
idle_framerate: 0.05 fps
# Image settings
name: esp32-polly-a1-mini-cam
name: ${device_name}
# brightness: 1
# contrast: 0
# agc_gain_ceiling: 2X
@@ -66,13 +76,13 @@ esp32_camera:
# ...
esp32_camera_web_server:
- port: 80
mode: STREAM
- port: 8080
mode: STREAM
- port: 8081
mode: SNAPSHOT
switch:
- platform: gpio
name: "polly-a1-mini-cam-flash"
name: "${device_name}-flash"
pin: 4