Skip to content

Instantly share code, notes, and snippets.

@fpasteau
fpasteau / README.md
Last active July 16, 2024 01:27
Honor Router 3 Login

Description

This flow will try to login on a Honor Router 3 located at address 192.168.3.1 which is the default address for this kind of router.

Setup

To set it up, you need to specify your administrative password for the router inside the Login inject node as msg.password. The Login&HB will take care of login on to the router administrative website and will ensure that the connection remains open by sending Heartbeat request the same way a browser would do. As outputs from this Login&HB subflow, you get the required cookies and csrf if you want to use POST requests to change values inside the router. You also get a 5s timer Heartbeat signal if you want to regulary check some data inside the router.

To stop the Heartbeat signal, send a message with reset = true to the subflow.

This flow should work with Huawei AX3 and possibly Huawei AX3 Pro but it has not been tested.