Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
alias: Log_DSL
description: DSL Log Datei aktualisieren bei Reconnect
trigger:
- type: connected
platform: device
device_id: xxx
entity_id: binary_sensor.fritz_box_7590_connection
domain: binary_sensor
condition:
- condition: state
entity_id: binary_sensor.fritz_box_7590_connection
state: "on"
action:
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- service: notify.telekom_log
data:
message: >
{{as_timestamp(states('sensor.fritz_box_7590_connection_uptime')) |
timestamp_custom("%d.%m.%Y %H:%M Uhr") }} Downstream:
{{states('sensor.dsl_download')}} Mbit/s, Upstream:
{{states('sensor.dsl_upload')}} Mbit/s
- service: notify.mobile_app_andreas
data:
title: DSL Reconnect
message: >
{{as_timestamp(states('sensor.fritz_box_7590_connection_uptime')) |
timestamp_custom("%d.%m.%Y %H:%M Uhr") }}{{"\n"}}Downstream:
{{states('sensor.dsl_download')}} Mbit/s{{"\n"}}Upstream:
{{states('sensor.dsl_upload')}} Mbit/s
mode: single
# Notify für Dateierstellung/Log für DSL z.B.
- platform: file
name: telekom_log
filename: /config/www/telekom.csv
timestamp: false