start/stop mini pc
This commit is contained in:
parent
9b6eb8e2c2
commit
3813ace166
|
|
@ -118,32 +118,38 @@
|
||||||
- id: '1725182808963'
|
- id: '1725182808963'
|
||||||
alias: Flurlampe an
|
alias: Flurlampe an
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
triggers:
|
||||||
- platform: sun
|
- event: sunset
|
||||||
event: sunset
|
|
||||||
offset: 0
|
offset: 0
|
||||||
condition: []
|
trigger: sun
|
||||||
action:
|
- trigger: time
|
||||||
|
at: 06:30:00
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
- action: light.turn_on
|
- action: light.turn_on
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
brightness_pct: 60
|
brightness_pct: 90
|
||||||
target:
|
target:
|
||||||
device_id: 31458ee6ea6b3cae1015375c243efffb
|
device_id:
|
||||||
|
- da8053e3c99c43fa802f32627d9ec42e
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1725182915207'
|
- id: '1725182915207'
|
||||||
alias: Flurlampe aus
|
alias: Flurlampe aus
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
triggers:
|
||||||
- platform: time
|
- at: 01:00:00
|
||||||
at: 01:00:00
|
trigger: time
|
||||||
condition: []
|
- trigger: time
|
||||||
action:
|
at: 08:15:00
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
- action: light.turn_off
|
- action: light.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
device_id: 31458ee6ea6b3cae1015375c243efffb
|
device_id:
|
||||||
|
- da8053e3c99c43fa802f32627d9ec42e
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1732045729333'
|
- id: '1732045729333'
|
||||||
alias: Wasser Spüle
|
alias: Wasser Spüle
|
||||||
|
|
@ -251,8 +257,8 @@
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- type: toggle
|
- type: toggle
|
||||||
device_id: aa992894922dfd99d4de351691fddbeb
|
device_id: 0477c12763b17a6f8e00e457e2241c65
|
||||||
entity_id: c9e060ed610aaa859483ed162741f6b8
|
entity_id: 47503c95c474e4f8bfba5f00c725a1d4
|
||||||
domain: light
|
domain: light
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1733523711057'
|
- id: '1733523711057'
|
||||||
|
|
@ -297,3 +303,153 @@
|
||||||
target:
|
target:
|
||||||
device_id: aa992894922dfd99d4de351691fddbeb
|
device_id: aa992894922dfd99d4de351691fddbeb
|
||||||
mode: single
|
mode: single
|
||||||
|
- id: '1733558486213'
|
||||||
|
alias: Küche Theke und Tisch aus
|
||||||
|
description: ''
|
||||||
|
triggers:
|
||||||
|
- device_id: f9bd33dde8040b0c80b8ef35f0eff174
|
||||||
|
domain: shelly
|
||||||
|
type: single_push
|
||||||
|
subtype: button1
|
||||||
|
trigger: device
|
||||||
|
conditions:
|
||||||
|
- condition: device
|
||||||
|
type: is_on
|
||||||
|
device_id: a09f77bde7ba5098df0c3ec599ca7377
|
||||||
|
entity_id: 2a315e13dac7a4d0e3a5331216e79a5b
|
||||||
|
domain: switch
|
||||||
|
actions:
|
||||||
|
- action: light.turn_off
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
device_id:
|
||||||
|
- 0477c12763b17a6f8e00e457e2241c65
|
||||||
|
- type: turn_off
|
||||||
|
device_id: a09f77bde7ba5098df0c3ec599ca7377
|
||||||
|
entity_id: 2a315e13dac7a4d0e3a5331216e79a5b
|
||||||
|
domain: switch
|
||||||
|
mode: single
|
||||||
|
- id: '1733558619917'
|
||||||
|
alias: Küche Theke und Tisch an
|
||||||
|
description: ''
|
||||||
|
triggers:
|
||||||
|
- device_id: f9bd33dde8040b0c80b8ef35f0eff174
|
||||||
|
domain: shelly
|
||||||
|
type: single_push
|
||||||
|
subtype: button1
|
||||||
|
trigger: device
|
||||||
|
conditions:
|
||||||
|
- condition: device
|
||||||
|
type: is_off
|
||||||
|
device_id: a09f77bde7ba5098df0c3ec599ca7377
|
||||||
|
entity_id: 2a315e13dac7a4d0e3a5331216e79a5b
|
||||||
|
domain: switch
|
||||||
|
actions:
|
||||||
|
- action: light.turn_on
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
device_id: 0477c12763b17a6f8e00e457e2241c65
|
||||||
|
- type: turn_on
|
||||||
|
device_id: a09f77bde7ba5098df0c3ec599ca7377
|
||||||
|
entity_id: 2a315e13dac7a4d0e3a5331216e79a5b
|
||||||
|
domain: switch
|
||||||
|
mode: single
|
||||||
|
- id: '1733861633781'
|
||||||
|
alias: Fernbedienung wieder hell
|
||||||
|
description: ''
|
||||||
|
triggers:
|
||||||
|
- domain: mqtt
|
||||||
|
device_id: 7ee7af674fef326af8b7d7f20d1d00d6
|
||||||
|
type: action
|
||||||
|
subtype: color_temperature_move
|
||||||
|
trigger: device
|
||||||
|
conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: light.kuchentisch
|
||||||
|
state: 'off'
|
||||||
|
actions:
|
||||||
|
- action: scene.turn_on
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- scene.maximales_licht
|
||||||
|
mode: single
|
||||||
|
- id: '1733861763897'
|
||||||
|
alias: Fernbedienung abdunkeln
|
||||||
|
description: ''
|
||||||
|
triggers:
|
||||||
|
- domain: mqtt
|
||||||
|
device_id: 7ee7af674fef326af8b7d7f20d1d00d6
|
||||||
|
type: action
|
||||||
|
subtype: color_temperature_move
|
||||||
|
trigger: device
|
||||||
|
conditions:
|
||||||
|
- condition: device
|
||||||
|
type: is_on
|
||||||
|
device_id: 0477c12763b17a6f8e00e457e2241c65
|
||||||
|
entity_id: 47503c95c474e4f8bfba5f00c725a1d4
|
||||||
|
domain: light
|
||||||
|
actions:
|
||||||
|
- action: scene.turn_on
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id: scene.hanna_schlafmodus
|
||||||
|
mode: single
|
||||||
|
- id: '1733862634974'
|
||||||
|
alias: Küche Wohnzimmer an
|
||||||
|
description: ''
|
||||||
|
triggers:
|
||||||
|
- domain: mqtt
|
||||||
|
device_id: ece48086d0eb3844ccba5f333ee59ceb
|
||||||
|
type: action
|
||||||
|
subtype: 'on'
|
||||||
|
trigger: device
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- action: light.turn_on
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
area_id:
|
||||||
|
- wohnzimmer
|
||||||
|
- kuche
|
||||||
|
- type: turn_on
|
||||||
|
device_id: a09f77bde7ba5098df0c3ec599ca7377
|
||||||
|
entity_id: 2a315e13dac7a4d0e3a5331216e79a5b
|
||||||
|
domain: switch
|
||||||
|
- type: turn_on
|
||||||
|
device_id: 1c7100c71320f1603884443c7fd2092d
|
||||||
|
entity_id: 276285d3b1143417515620cef9615128
|
||||||
|
domain: switch
|
||||||
|
mode: single
|
||||||
|
- id: '1733862691860'
|
||||||
|
alias: Küche Wohnzimmer aus
|
||||||
|
description: ''
|
||||||
|
triggers:
|
||||||
|
- domain: mqtt
|
||||||
|
device_id: ece48086d0eb3844ccba5f333ee59ceb
|
||||||
|
type: action
|
||||||
|
subtype: 'off'
|
||||||
|
trigger: device
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- action: light.turn_off
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
area_id:
|
||||||
|
- kuche
|
||||||
|
- wohnzimmer
|
||||||
|
- type: turn_off
|
||||||
|
device_id: a09f77bde7ba5098df0c3ec599ca7377
|
||||||
|
entity_id: 2a315e13dac7a4d0e3a5331216e79a5b
|
||||||
|
domain: switch
|
||||||
|
- type: turn_off
|
||||||
|
device_id: 1c7100c71320f1603884443c7fd2092d
|
||||||
|
entity_id: 276285d3b1143417515620cef9615128
|
||||||
|
domain: switch
|
||||||
|
mode: single
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,15 @@ group: !include groups.yaml
|
||||||
automation: !include automations.yaml
|
automation: !include automations.yaml
|
||||||
script: !include scripts.yaml
|
script: !include scripts.yaml
|
||||||
scene: !include scenes.yaml
|
scene: !include scenes.yaml
|
||||||
|
shell_command: !include shell_commands.yaml
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: wake_on_lan
|
||||||
|
name: RemotePC
|
||||||
|
host: 192.168.178.87
|
||||||
|
mac: 58:47:ca:78:4e:59
|
||||||
|
turn_off:
|
||||||
|
service: shell_command.turn_off_remote_pc
|
||||||
|
|
||||||
|
|
||||||
#MQTT Broker for milight hub:
|
#MQTT Broker for milight hub:
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
turn_off_remote_pc: "ssh -i /config/ssh_keys/id_rsa_homeassistant -o 'StrictHostKeyChecking=no' homeassistant@mini sudo shutdown -h now"
|
||||||
Loading…
Reference in New Issue