Skip to content

[Bug] Device is always returned as offline #594

@CaeruleusAqua

Description

@CaeruleusAqua

The problem

I have an single RT-BE92U, no AI Mesh or anything like that.

Unfortunately, my mobile is always shown as offline, whereby it is displayed as online in the web interface of the router.

I have now debugged my way through to the process_client_state() function.

My input for this looks like this:

connection:
AsusClientConnectionWlan(type=<ConnectionType.WLAN_6G: '6ghz'>,ip_address='192.168.50.195', ip_method=<IPAddressType. DHCP: 'dhcp'>,
internet_state=True,
internet_mode=<InternetMode.ALLOW: 'allow'>,
node=None,
online=True,
aimesh=False,
guest=True,
guest_id=1,
rssi=0,
since=None,
rx_speed=None,
tx_speed=None)

kwargs:
{'aimesh': True}

The problem is the following condition:

aimesh = kwargs.get("aimesh", False)
if aimesh is True and connection.node is None:
 return ConnectionState.DISCONNECTED

Python version

3.12

Your device model

RT-BE92U

Firmware type

Stock

Firmware version

3.0.0.6.102_37563

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Incoming

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions