1
0
Fork 0

Compare commits

...

3 commits

Author SHA1 Message Date
89845b7687 Add tasmota rules 2023-11-16 18:57:31 +01:00
268b44228b Fix mk3.9 automations 2023-11-16 18:38:10 +01:00
9703ebd7e3 Update configuration folder 2023-11-11 18:09:40 +01:00
3 changed files with 16 additions and 7 deletions

View file

@ -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

View file

@ -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
View 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