Skip to content

gavinmcnair/Y5-210MU-restarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

3 (Three) / Greenpacket Outdoor router Y5-210MU Restarter

Alternative text

Summary

The Y5-210MU is a fabulous router created by Greenpacket let down only because it disconnects from the mobile network and doesnt reconnect.

Three deny there is an issue but it has been experienced by many people. Most importantly this is entirely a software issue and is totally fixable by Three and Greenpacket if they had the desire to. Its probably only 1 or 2 lines of bad code.

Inside the logs directory is a dump of the logs in case Three or Greenpacket want to fix the issue. (Don't worry. It contains no passwords)

If you have tried this script and it works for you please put a like on the comment in this thread https://community.three.co.uk/t5/Broadband/5G-Outdoor-hub-Y5-210MU-connection-Issue/m-p/41466

Here are some more threads about the network disconnetion issues with the 3/Three/Greenpacket Y5-210MU outdoor router,

Solution

The script included needs to have YOUR username and password for the interface. It checks the internet connectivity and on failure it issues a reboot via the API.

I run mine on a Raspberry Pi which also has home assistant inside a backgrounded tmux session but it could be packaged properly.

Please give it a try and give feedback.

How to run

Ensure Python is installed. The script only needs the standard libraries. Ensure that check_and_reboot.py has been added and execute it.

You might need to change the first line if your python executable is in another location or is just named python and you will also need to replace the username and password with your own.

Example of execution

./check_and_reboot.py

or

python ./check_and_reboot.py

Running inside tmux

To run in tmux ensure it is installed and run

tmux new-session -d -s check_and_reboot './check_and_reboot.py >> restart.log &'

The tmux docs are available here and let you connect to and alter the session

Output

Here is an excerpt of log output showing the issue and how frequent it is. Sometimes i can have 5 dropouts in a day which would normally fail to recover

Internet is down. Attempting to reboot the router at 2025-04-09 09:52:38.281694...
Router reboot initiated successfully at 2025-04-09 09:52:38.515298. Reboot count: 4.
RRR...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Internet is down. Attempting to reboot the router at 2025-04-09 21:40:35.488191...
Login failed at 2025-04-09 21:40:35.585581.

Internet is down. Attempting to reboot the router at 2025-04-09 21:41:35.656566...
Login failed at 2025-04-09 21:41:35.759268.

Internet is down. Attempting to reboot the router at 2025-04-09 21:42:35.822482...
Router reboot initiated successfully at 2025-04-09 21:42:36.050869. Reboot count: 5.
RRR..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Contributing

Please raise and issue or a PR if you have improved this.

New features

  • Reboot delay. On reboot stop timer for 3 iterations and print R to indicate rebooting. We dont want to reboot before the router comes online

About

This router feels like its rubbish because it disconnects all the time and needs to be rebooted. This script will fix it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages