Estimated reading time: 4 minutes
Do you know this? Your Internet jerks, the connection drops out and it takes a restart of the repeater to get everything back on track. The problem: You don't always remember to restart your repeater regularly. The good news: With Home Assistant, you can automate this process and give your network more stability - without any manual intervention.
In this article, I'll show you how to create a simple but effective automation that regularly restarts your repeaters as soon as you leave your home.
For detailed instructions and an explanation of all configuration options, I recommend the YouTube video linked below. In this video, every single setting is explained in detail so that you receive comprehensive instructions for the exact setup. You can find any code from the video in this article so that you can use it directly without having to type it in.
Why restart the repeater regularly?
Repeaters are real helpers when it comes to expanding your Wi-Fi. However, they can also cause problems, whether due to overload, software errors or cache problems. A restart resets them and ensures that they work properly again. By automating the reboot, you increase the stability of your network without having to think about it yourself.
What do you need for this?
- Home AssistantYour central control for smart home devices.
- Repeater with restart functionIn our example, we are using FRITZ! repeaters that offer this option.
- Location monitoringHome Assistant tracks your presence via your smartphone.
- A little timeAutomation is quickly set up.
Step-by-step instructions
- Create a new automation in Home Assistant. Give it a meaningful name, e.g. "Repeater restart".
- Add the triggerSelect your presence as the trigger. The automation starts as soon as you leave the house.
- Define the conditionHome Assistant uses your repeater's uptime sensor to check whether more than three days have passed since the last restart.
- Set the actionSelect the restart buttons of your repeaters as target devices.
- Save and test the automationby leaving the house (or manually simulating your location in Home Assistant).
Automation: Repeater restart with Home Assistant
This Home Assistant automation ensures that your repeaters are restarted regularly to minimize possible connection problems and increase the stability of your network. The automation starts when certain conditions are met. Here is a step-by-step explanation:
Function and purpose
Repeaters can work more reliably with regular restarts. This automation checks whether at least three days have passed since the last restart and automatically carries out the restart as soon as the "dad" person leaves the house.
Procedure
- TriggerDad" leaves the home zone.
- The automation starts when the "Dad" person leaves the home zone
- ConditionAt least three days have passed since the last restart.
- The status of the sensor
sensor.fritz_repeater_1200_ax_device_uptime_2
indicates how long the repeater has been in operation. - A template condition ensures that the automation is only executed if this period has been exceeded.
- The status of the sensor
- Actions:
- Time delayAfter leaving the house, the system waits two minutes before continuing.
- Safety checkThe system checks once again that "Dad" is not at home. Only then is the restart carried out.
- Restarting the repeaters: The repeaters are activated by pressing the buttons
button.fritz_repeater_1200_ax_reboot_2
andbutton.fritz_repeater_1200_ax_reboot
restarted.
Advantages of automation
- Network stabilityRegular restarts can prevent connection problems.
- Automatic managementNo manual intervention necessary as everything runs automatically.
- FlexibilityThe condition that "Dad" does not have to be at home does not interfere with the use of the network.
This automation is particularly useful if repeaters in your network occasionally cause problems or need to be restarted in order to function optimally. By adjusting the trigger and conditions, you can also use it for other people or devices.
YouTube video implementation
Conclusion
With this automation, Internet problems are a thing of the past. You ensure a stable network without having to do anything yourself. Home Assistant is your reliable helper that ensures your Wi-Fi always works optimally. Try it out and enjoy a stress-free, stable Internet!
0 Comments