Søk i nettsamfunnet
Viser resultater for emneknaggene 'oppskrift'.
Fant 1 resultat
-
Vaskemaskin og tørketrommel er koblet i hver sin Fibaro Plug. I tillegg har jeg en Sonos og bruker html5 notifications for å varsle om start/stop. Utfordringene med vaskemaskiner og tørketromler er at det kan være stor forskjell i strømforbruk under forskjellige programmer og at anti-rynke programmer som kjører etter vask/tørk kan føre til at automasjonen kan trigges på nytt. Legg spesielt merke til binary sensorene som jeg lager som har delay på hvorvidt switchen er av eller på, og et threshold på strømforbruket. Følgende oppskrift fungerer for meg, YMMV. binary_sensor: platform: template washing_machine_activity: friendly_name: "Washing machine running state" delay_on: minutes: 1 delay_off: minutes: 5 value_template: > {{ states.sensor.washing_machine_power.state | float > 45 }} dryer_activity: friendly_name: "Dryer running state" delay_on: minutes: 1 delay_off: minutes: 2 value_template: > {{ states.sensor.dryer_power.state | float > 45 }} automation: - id: '1' alias: 'Washing machine started' trigger: platform: state entity_id: binary_sensor.washing_machine_activity from: "off" to: "on" action: - service: media_player.volume_set data: entity_id: media_player.changing_room volume_level: 0.55 - service: script.turn_on entity_id: script.say_sonos data: variables: where: 'changing_room' what: 'The washing machine has started' - id: '2' alias: 'Washing machine stopped' trigger: platform: state entity_id: binary_sensor.washing_machine_activity from: "on" to: "off" action: - service: media_player.volume_set data: entity_id: media_player.changing_room volume_level: 0.55 - service: script.turn_on entity_id: script.say_sonos data: variables: where: 'changing_room' what: 'The washing machine has finished' - service: notify.html5_phone data: title: 'Washing machine' message: 'Washing machine has finished' - id: '3' alias: 'Dryer started' trigger: platform: state entity_id: binary_sensor.dryer_activity from: "off" to: "on" action: - service: media_player.volume_set data: entity_id: media_player.changing_room volume_level: 0.55 - service: script.turn_on entity_id: script.say_sonos data: variables: where: 'changing_room' what: 'The dryer has started' - id: '4' alias: 'Dryer stopped' trigger: platform: state entity_id: binary_sensor.dryer_activity from: "on" to: "off" action: - service: media_player.volume_set data: entity_id: media_player.changing_room volume_level: 0.55 - service: script.turn_on entity_id: script.say_sonos data: variables: where: 'changing_room' what: 'The dryer has finished' - service: notify.html5_phone data: title: 'Dryer' message: 'Dryer has finished'