home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74k stars 31.05k forks source link

ASUSWRT: Home/away state change constantly #111306

Open litecross91 opened 9 months ago

litecross91 commented 9 months ago

The problem

If I disconnect from my home wifi, ASUSWRT still says (after few minutes) that "Home" and then Away after a while and keeps doing this, even though I'm not at home and not on wifi. It does the same with another phone.

image image image

What version of Home Assistant Core has the issue?

2024.2.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ASUSWRT

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Asus RT-AX55 Firmware Version: 3.0.0.4.386_51598

Additional information

No response

home-assistant[bot] commented 9 months ago

Hey there @kennedyshead, @ollo69, mind taking a look at this issue as it has been labeled with an integration (asuswrt) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `asuswrt` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign asuswrt` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


asuswrt documentation asuswrt source (message by IssueLinks)

ollo69 commented 9 months ago

Can you specify the protocol that you are using to connect to your router.

litecross91 commented 9 months ago

Can you specify the protocol that you are using to connect to your router.

HTTPS

Barma-lej commented 7 months ago

The same SSH Protocol. I don't have any Asus Routers and use integration with dnsmasq (Pi-Hole) and device id is always the MAC address and not the hostname

issue-triage-workflows[bot] commented 4 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment đź‘Ť This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Smartdrive78 commented 4 months ago

This is sill happening

Both our iPhones are always "Home" even if we are both out.

Using ssh to connect to my AiMesh network (3 Asus-XT8)

gdschut commented 3 months ago

Hi All, I just bought a new Asus RT-AX5400 to replace my old fritzbox, but I don´t get proper device tracking working on it :(

Any tips on how to get this working? Was there an old version that was more stable? Please let me know if I can help with testing or debuglogging.

danieletorelli commented 2 months ago

The HTTP device tracking is way less precise than SSH one (while the SSH one has other issues that I’ll not discuss here). Devices remain in “at home” state even if they’re gone from hours sometimes.

If I open manually the devices page in the router dashboard it seems to cause a refresh of the connected devices that updates the states to the correct ones most of the times.

There’s a way you could improve its precision?

ollo69 commented 2 months ago

I will try to investigate this. It is probably only related to some specific device model because I don't have this issue at all. Please provide detail about model / firmware that you are using.

danieletorelli commented 2 months ago

I will try to investigate this. It is probably only related to some specific device model because I don't have this issue at all. Please provide detail about model / firmware that you are using.

If it can help, my model is RT-AX58U. Thank you!

vlumikero commented 2 months ago

Has anyone had any progress on this issue? I’ve been having it with my RT-AC87U running Merlin for some months now.

gdschut commented 2 months ago

I changed to http protocol, and it is far more stable in my situation.

danieletorelli commented 2 months ago

The HTTP device tracking is way less precise than SSH one (while the SSH one has other issues that I’ll not discuss here). Devices remain in “at home” state even if they’re gone from hours sometimes.

If I open manually the devices page in the router dashboard it seems to cause a refresh of the connected devices that updates the states to the correct ones most of the times.

There’s a way you could improve its precision?

To add more context to this issue: it happens with devices connected via Ethernet cable to the RT-AX58U.