Activate desktop on arrival
This commit is contained in:
parent
4de3b9a5ea
commit
31a49d6b63
|
@ -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.
|
||||
|
|
|
@ -6,6 +6,9 @@ default_config:
|
|||
tts:
|
||||
- platform: google_translate
|
||||
|
||||
# Wake on lan
|
||||
wake_on_lan:
|
||||
|
||||
# Google maps
|
||||
device_tracker:
|
||||
- platform: google_maps
|
||||
|
@ -69,6 +72,17 @@ media_player:
|
|||
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