diff --git a/source/_integrations/devolo_home_network.markdown b/source/_integrations/devolo_home_network.markdown index 60d43078f24e..a94ac4df5c95 100755 --- a/source/_integrations/devolo_home_network.markdown +++ b/source/_integrations/devolo_home_network.markdown @@ -131,6 +131,87 @@ This integration only supports using the API the devolo Home Network App uses. T The devolo Gigabridge is the only device that comes with a default password. However, it seems that in factory default the password works for the device website but not for the API. If you give the device a new password via the website, it is applied to both and the integration starts working. Even using the same password again works. +## Example automations + +### Restart PLC device on loss of pairing + +PLC networks are sometimes flaky. To restore a network's state, it's sometimes a good idea to reboot the PLC device attached to the router if the number of PLC devices is lower than expected. If you apply this automation, keep in mind that devices might be expected on standby. In this example, the expected number of devices is 3. + +{% raw %} + +```yaml +alias: "PLC Feeder Restart" +description: "Restart device connected to the router if number of PLC devices is unexpected low" +triggers: + - trigger: numeric_state + entity_id: + - sensor.devolo_001_connected_plc_devices # Replace with your device's sensor + for: + hours: 0 + minutes: 10 + seconds: 0 + below: 3 +actions: + - action: button.press + target: + entity_id: button.devolo_001_restart_device # Replace with your device's button +``` + +{% endraw %} + +### Notify on data rate drop + +Noise on the electric wire can significant disturb PLC data rates. A notification close to a drop can help identify the action that lead to the drop. The following example takes 25% as threshold. + +{% raw %} + +```yaml +alias: "PLC data rate" +description: "PLC data rate dropped more than 25%" +triggers: + - entity_id: + - sensor.devolo_001_plc_downlink_phy_rate_devolo_002 # Replace with your device's sensors + - sensor.devolo_001_plc_uplink_phy_rate_devolo_002 + trigger: state +conditions: + - condition: template + value_template: >- + # Checks if new value is less than 75% of previous value + {{ (trigger.to_state.state|float / trigger.from_state.state|float) < 0.75 }} +actions: + - action: notify.mobile_app_pixel_4a + data: + message: >- + PLC data rate of {{ trigger.to_state.name }} dropped to {{ + trigger.to_state.state }} + {{trigger.to_state.attributes.unit_of_measurement}} + title: PLC data rate dropped +``` + +{% endraw %} + +### Enable guest wifi on time basis + +You might want to expose your guest wifi only during the day but turn it off at night. + +{% raw %} + +```yaml +alias: "Toggle guest Wi-Fi" +description: "Turn Guest Wi-Fi on and off" +triggers: + - trigger: time + at: + - "08:00:00" + - "17:00:00" +actions: + - action: switch.toggle + target: + entity_id: switch.devolo_001_enable_guest_wifi # Replace with your device's switch +``` + +{% endraw %} + ## Removing the integration This integration follows standard integration removal. No extra steps are required.