Compare commits
3 commits
5d1360c59f
...
89845b7687
Author | SHA1 | Date | |
---|---|---|---|
89845b7687 | |||
268b44228b | |||
9703ebd7e3 |
3 changed files with 16 additions and 7 deletions
|
@ -9,7 +9,7 @@
|
|||
condition:
|
||||
- condition: state
|
||||
entity_id: sensor.prusa_mk39
|
||||
state: 'Idle'
|
||||
state: idle
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
|
@ -25,8 +25,8 @@
|
|||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.prusa_mk39
|
||||
from: 'Printing'
|
||||
to: 'Idle'
|
||||
from: printing
|
||||
to: idle
|
||||
action:
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
|
@ -74,7 +74,7 @@
|
|||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: sensor.prusa_mk39
|
||||
state: 'Idle'
|
||||
state: idle
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.3d_printer_electric_consumption_w
|
||||
below: '30'
|
||||
|
@ -93,8 +93,8 @@
|
|||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.prusa_mk39
|
||||
from: 'Idle'
|
||||
to: 'Printing'
|
||||
from: idle
|
||||
to: printing
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.prusa_mk39_heatbed_target_temperature
|
||||
|
|
|
@ -5,4 +5,4 @@ all:
|
|||
gather_facts: False
|
||||
ansible_user: root
|
||||
ansible_port: 2222
|
||||
pwd_config: /config
|
||||
pwd_config: /homeassistant
|
||||
|
|
9
tasmota/rack-pwr.txt
Normal file
9
tasmota/rack-pwr.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
Rule1
|
||||
ON Power1#state=0 DO RuleTimer1 30 ENDON
|
||||
ON Rules#Timer=1 DO Power1 on ENDON
|
||||
ON Power2#state=0 DO RuleTimer2 30 ENDON
|
||||
ON Rules#Timer=2 DO Power2 on ENDON
|
||||
ON Power3#state=0 DO RuleTimer3 30 ENDON
|
||||
ON Rules#Timer=3 DO Power3 on ENDON
|
||||
ON Power4#state=0 DO RuleTimer4 30 ENDON
|
||||
ON Rules#Timer=4 DO Power4 on ENDON
|
Loading…
Reference in a new issue