Compare commits

..

No commits in common. "31a49d6b63274e144314c2989b54b3b9340c1f98" and "634c5cd78f73924555f909e33a7f9bfdf24c59d5" have entirely different histories.

3 changed files with 9 additions and 54 deletions

View File

@ -14,7 +14,7 @@
domain: switch
mode: single
- id: '1627952464320'
alias: Activate lab when Joe arrives.
alias: Turn on lab lights when Joe arrives.
description: ''
trigger:
- platform: zone
@ -27,9 +27,6 @@
device_id: d03b2a6c6faf5921d77b4145ffe3afa8
entity_id: switch.lab_lights
domain: switch
- service: wake_on_lan.send_magic_packet
data:
mac: 0c:9d:92:8a:3d:21
mode: single
- id: '1627953076015'
alias: Turn on lab lights after sunset if Joe is home.
@ -49,19 +46,10 @@
domain: switch
mode: single
- id: '1627954003317'
alias: Setup media viewing when chromecast is in use
description: Turns off/dims the bedroom lights, dims the projector, etc etc
alias: Dim the lab lights
description: This one is a lil silly, it just turns the lights off whenever the
chrome cast is active
trigger:
- platform: device
device_id: f6097a01c7e3e31bb394018e6a8be3e7
domain: media_player
entity_id: media_player.joe_s_lab
type: idle
- platform: device
device_id: f6097a01c7e3e31bb394018e6a8be3e7
domain: media_player
entity_id: media_player.joe_s_lab
type: turned_on
- platform: device
device_id: f6097a01c7e3e31bb394018e6a8be3e7
domain: media_player
@ -73,9 +61,6 @@
device_id: d03b2a6c6faf5921d77b4145ffe3afa8
entity_id: switch.lab_lights
domain: switch
- service: media_player.turn_on
target:
entity_id: media_player.lab_projector
mode: single
- id: '1628264103743'
alias: Send welcome home message when Joe arrives home.
@ -170,18 +155,3 @@
target:
entity_id: group.basement
mode: single
- id: '1629133005916'
alias: Turn off lab projector when lab chromecast is off
description: No need to run the projector when the chromecast is off
trigger:
- platform: device
device_id: f6097a01c7e3e31bb394018e6a8be3e7
domain: media_player
entity_id: media_player.joe_s_lab
type: turned_off
condition: []
action:
- service: media_player.turn_off
target:
entity_id: media_player.lab_projector
mode: single

View File

@ -4,6 +4,11 @@
verify_ssl: false
mjpeg_url: !secret server_room_camera_url
still_image_url: !secret server_room_still_image_url
- platform: mjpeg
name: Lab Camera
verify_ssl: false
mjpeg_url: !secret lab_camera_url
still_image_url: !secret lab_camera_still_image_url
- platform: mjpeg
name: Front Porch
verify_ssl: false

View File

@ -6,9 +6,6 @@ default_config:
tts:
- platform: google_translate
# Wake on lan
wake_on_lan:
# Google maps
device_tracker:
- platform: google_maps
@ -66,23 +63,6 @@ octoprint:
host: 10.85.5.31
api_key: !secret octoprint_api_key
# Projectors and media players
media_player:
- platform: pjlink
name: Lab Projector
host: 10.85.5.33
# Poe switch!
switch:
- platform: telnet
switches:
lab_camera_power:
resource: 10.85.3.96
port: 22
command_on: "\n5\nconfig\ninterface 2 power"
command_off: "no interface 2 power"
timeout: 2
group: !include groups.yaml
automation: !include automations.yaml