1. Current Location: Home >  192.168.0.1 >  If the router at home is disconnected, how do my people at the company know about it immediately?

If the router at home is disconnected, how do my people at the company know about it immediately?

Diagram of the mechanism for the mobile phone to receive notification immediately when the router goes offline: Heartbeat reporting to the cloud, three diagnostic methods, and two-layer switch on the App

Let’s first explain the background. My mother has a Mercury D191G, and I have a Tenda AX12, both of which are melogin.cn and tendawifi.com The account is tied to the background. Last month, my mother's optical cable was cut, and the entire building was disconnected from the Internet for four hours. My mother didn't know, and I didn't know either. She was just waiting at home. She thought she had broken the router, so she poked the reset hole with a toothpick for a long time. If I had known the router was offline for the first time, I could have called her and told her, "The whole building is down, don't touch the router." After that, I spent a whole night to set up the disconnection reminders of the two apps, and then deliberately unplugged the phone once for actual testing. This is the record of that night.

Let’s explain the principle first: The disconnection reminder was not sent by the router.

This needs to be explained clearly first, otherwise you will be confused during the matchmaking. When the router is disconnected from the Internet, it cannot send any messages. ——If your home broadband is cut off, how can it send notifications to your mobile phone at the company? So the real mechanism of offline reminder is: The router actively "reports" to the manufacturer's cloud server every short period of time (called heartbeat in the industry), and your mobile app is also connected to the same cloud. Once the router goes offline, the registration stops. Within tens of seconds to a few minutes, the cloud side finds that "this machine has not moved for a while", determines that it is offline, and then pushes the "device offline" message to your mobile phone.

After thinking about this level, several counter-intuitive conclusions will follow.: One, The offline reminder is an obituary sent by the cloud on behalf of the router, not the router itself calling for help. ; Secondly, whether you can receive it on your mobile phone depends on whether the notification permission of the App is turned on or not, and it has little to do with the router. ; Thirdly, the notifications for power outages and broadband outages are exactly the same, both display "device offline". To distinguish them, you have to rely on other methods, which will be discussed later. Mercury's cloud is called MERCURY ID, while Tenda's is tied to the router's own account system. The two have the same mechanism, but different entrances. How to divide the permissions between the App and the web backend? I'm here The App and the web backend are two doors I have written here that all remote functions are implemented in the cloud and cannot be managed by the web backend.

How does Mercury match up here?: Binding is the foundation, and the notification switch is hidden in the phone

Mercury's order is to tie the MERCURY ID first. I was in front of the router at my mother's house. I clicked "Add Device" in the App and scanned the code or entered the SN. For the binding step, you must be next to the router, and the cloud needs to confirm that you and the machine are on the same intranet. The complete process of binding and the troubleshooting of second-hand router failure to bind can be found in The article about binding MERCURY ID It is written in detail and will not be expanded upon here.

The pitfall after tying is on the mobile phone. I installed the Mercury App on my phone to log in to my account, thinking it was all over - I unplugged the power for the first time and waited for ten minutes, but there was no movement from my phone. I turned around and found out, Mercury App’s notification switch has two levels : There is a layer of "Device Online and Offline Notification" in the App's own "Message Settings", and there is another layer in the notification permissions of the mobile phone system. The former is turned off by default, and when installing the app for the latter, I casually clicked "Don't allow". When both layers are fully opened, the connection is in a complete state. My lesson is that after matching, you must take a practical test. Don’t believe that “it should work after matching.”」: Power off the router for a minute and then power it on again, and check whether the notification pops up on your phone. It will be considered as matched only if it is activated. If it is not activated, please press "In-App Switch → System Notification Permission → Power Saving Strategy" to check. Android's power-saving strategy is particularly shady. It limits background running by default. If the app is pressed by the system, notifications will not arrive.

How to match Tenda here?: The entrance has been renamed, and there is an additional "remote status" to look at.

The approach for Tenda AX12 is similar. After the App is bound to the router, status notifications are turned on in messages or device settings. Tenda's App interface is a little messier than Mercury's, and the notification settings are scattered in two places. I found a layer of switches in "My → Message Notifications" and the device details page, and turned them on. If the binding process itself is stuck, 80% of the time it is because someone has been bound before or the password system is not correct. The troubleshooting sequence is as follows: Tenda App cannot be bound to that article inside.

Tenda has one more thing worth seeing than Mercury: The device details page has a real-time display of "Connection Status" or "Online Status". Click on it to see the current WAN port status of the router. This cannot be used as a reminder - you have to take the initiative to see it to know, but it can help you distinguish between "router offline" and "router online but unable to connect to the Internet", which will be useful later in triage. I have actually tested it. For both companies, the delay from unplugging the phone to the notification popping up on the phone is on the order of one or two minutes.: Mercury's time was 1 minute and 40 seconds, and Tengda's time was just over 2 minutes. Don't expect seconds, the cloud's decision will have to wait for the heartbeat to time out. This delay is determined by the mechanism, so you can afford to wait.

Don't be too happy if it's connected.: The three methods of judgment are that it will not report

This is the most necessary splash of cold water after mixing. The first type: When the mobile phone itself is not connected to the Internet. You are in the subway or in the company elevator, and your mobile phone does not receive any push notifications. The notifications are not sent until the Internet is available, and the day lily is cold. This is not a router problem, it's a push link problem. The second type: The router is alive but the broadband is down. Even if the optical fiber is dug, the optical modem is down, or the router is down due to payment arrears - the router itself is still reporting to the cloud normally, and the cloud will see that it is alive and well and will not send you any notification. "The router is online but cannot connect to the Internet" is the most common form of home disconnection. The third type is the most negative: WiFi can still be connected, and the network speed has returned to zero. Everything is normal on the router, except that you can't connect to the Internet, and you can't see anything abnormal from the cloud perspective.

Therefore, the true positioning of this set of reminders must be corrected: It cares about the life and death of the "router layer", not the life and death of "your home network" . It reports quickly and accurately when the router is unplugged, struck by lightning, or turned off by an elderly person at home. ; It cannot report faults on the broadband side. If you want to make up for the perception on the broadband side, there are two ways:: One is to use the App for the optical modem layer (Telecom uses Xiaoyi Butler, but that is another account system) ; Another is to put a smart socket or camera that uses WiFi at home. Their offlineness can also indirectly reflect that the home network is completely disconnected. I put a Mijia camera in my mother's house as a "canary". If the whole house is disconnected from the Internet, it will go gray. The Mijia App will remind me that this is what I am doing. The article about Mijia App device being offline The ideas that came out of it.

Don’t give random orders when you receive the notification.: Triage first and then act

Don’t rush once the notification is in hand. I set a triage sequence for myself, and it works in practice.: The first step is to look through other clues to determine the scope of the judgment. . Will the whole building be cut off or just my mom’s house? Call your neighbors or see if anyone in the corridor group complains about disconnection. If someone complains, it means there is a regional fault. Just sit back and wait. Only one family is broken, and then go down. The second step is to command and watch the lights from a distance. . On the phone, I asked my family to look at the lights of the router and the optical modem. The new and old models of Mercury SYS lights have opposite meanings. Don’t make mistakes. The comparison table is here Mercury SYS lamp article inside ; Whether the PON light of the optical modem flashes red or not is the key evidence. The third step is the remote operation. Restarting this kind of work can be done in the App, but if the router is completely offline, the App cannot reach it. For the complete rescue sequence and cover-up method of that step, I am here The article about remote rescue and disconnection After going through it, many pitfalls are common.

There is another pitfall that is easily overlooked.: The notification has arrived, you have remotely restarted, and the machine is back, this matter is not over yet. If the reason for disconnection is not investigated, it will be disconnected next time. . Restarting just brings the machine back to life and doesn't tell you why it died. If scheduled network disconnection is causing trouble, it is a matter of the settings layer. Problems such as time zeroing are caused by The article about scheduled network disconnection will not be executed inside ; If it is interrupted at a fixed time every day, 80% of the time you have to look up the evidence from the operation log. The method is: Flip through the running log inside. My current habit is: When the notification comes, make a note of the time first. If you save it three or four times, you will be able to see the pattern. It is much better than rushing every time. The complete five-level sequence of triage, follow Disconnect the Internet and check the article in the order of five levels. Come on, I arranged this for my mother.

Three things to do with this set for your parents’ house, all done in one go

The most valuable scenario for this set of items is actually for the elderly. The elderly are the most sensitive to "network disconnection". They may not notice that the router is offline for an hour, and if they find it, they will just unplug the power and plug it back in. When I was matching my mother, I did three more things, and I recommended doing them all at once.:

Closing: After the two machines were configured with this set, my mother's network was disconnected again. There was a gap of two minutes between the failure of the optical cable and the call my mother received from me saying "Don't touch the router, the whole building is down." She was supposed to dance in the square that night, and the internet at home had already been connected. This configuration does not take one night, and it changes you from "the last person to know that the Internet is disconnected at home" to the first one. The only thing you should always remind yourself: It only focuses on the life and death of the router layer. The perception on the broadband side has to be supplemented by canary equipment. Only when both sets are equipped can it truly close its eyes.

Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《If the router at home is disconnected, how do my people at the company know about it immediately?》
Article URL: https://www.shunot.com/en/192-168-0-1/1574.html
Unless otherwise stated, all articles are original by 《SHUNOT》. Reposting is welcome! Please indicate the original URL when reposting, thank you.

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow