Compare commits
3 Commits
634c5cd78f
...
31a49d6b63
Author | SHA1 | Date |
---|---|---|
|
31a49d6b63 | |
|
4de3b9a5ea | |
|
46c9adda52 |
|
@ -14,7 +14,7 @@
|
|||
domain: switch
|
||||
mode: single
|
||||
- id: '1627952464320'
|
||||
alias: Turn on lab lights when Joe arrives.
|
||||
alias: Activate lab when Joe arrives.
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: zone
|
||||
|
@ -27,6 +27,9 @@
|
|||
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.
|
||||
|
@ -46,10 +49,19 @@
|
|||
domain: switch
|
||||
mode: single
|
||||
- id: '1627954003317'
|
||||
alias: Dim the lab lights
|
||||
description: This one is a lil silly, it just turns the lights off whenever the
|
||||
chrome cast is active
|
||||
alias: Setup media viewing when chromecast is in use
|
||||
description: Turns off/dims the bedroom lights, dims the projector, etc etc
|
||||
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
|
||||
|
@ -61,6 +73,9 @@
|
|||
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.
|
||||
|
@ -155,3 +170,18 @@
|
|||
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
|
||||
|
|
|
@ -4,11 +4,6 @@
|
|||
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
|
||||
|
|
|
@ -6,6 +6,9 @@ default_config:
|
|||
tts:
|
||||
- platform: google_translate
|
||||
|
||||
# Wake on lan
|
||||
wake_on_lan:
|
||||
|
||||
# Google maps
|
||||
device_tracker:
|
||||
- platform: google_maps
|
||||
|
@ -63,6 +66,23 @@ 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
|
||||
|
|
Loading…
Reference in New Issue