Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.4.0 Pls change "Consider Home interval (sec)" to 300 sec #136

Closed
angewood opened this issue Jan 17, 2025 · 7 comments
Closed

V2.4.0 Pls change "Consider Home interval (sec)" to 300 sec #136

angewood opened this issue Jan 17, 2025 · 7 comments

Comments

@angewood
Copy link

Hi, the new GUI is great.
But I found the problem that the iphone sometimes looks "away" for 2 min.
So my question is, if it's possible to change it from 60 to 300 sec.

Thx
Markus

@mudape
Copy link
Owner

mudape commented Jan 17, 2025

Hi @angewood,
Tricky to set the range, it's limited now to be easier to adjust in the GUI.
Some want faster response, others longer...

May I suggest that you move the logic to the trigger?
So, "from home to away for x time".
Reason is to me the device is not connected, even if the user only is taking out the trash :)

The limit is MAX_CONSIDER_HOME and set in const.py
Adjust to your pleasing and restart HA.

If more people need longer time we can change it in the code, for now I'm rather pleased with it.

@willie013
Copy link

@mudape I am having the exact same issue, 60 secs max doesn't work for my devices, I need 120 secs at least. Can't we just increase the max setting and keep the default setting at 60 seconds?

Btw, love the effort in making this integration UI based, it looks neat!!

@mudape
Copy link
Owner

mudape commented Jan 17, 2025

Ok, thanks.

300 sec feels like an eternity though (and removes the slider), would 180sec (3min) be enough?

@angewood
Copy link
Author

Here’s a screenshot:
3 minutes seem to work at first glance,
or we meet in the middle at 240 seconds.

(Sry in German)

Image

mudape added a commit that referenced this issue Jan 17, 2025
@angewood
Copy link
Author

Hi,
I changed the setting in MAX_CONSIDER_HOME to 240.

BUT - think the most important change was change in my router.
I use the Unifi UDM Pro SE.
And here i did some changes that my UDM send the mDNS.

Willie and all - do you have a UNIFI router and you want to know which standard-setting were changed - pls write and I will posting screenshots

@mudape
Copy link
Owner

mudape commented Jan 18, 2025

Great news, happy it works better for you!

We have 4 ASUS Zen AX here.

Tips on settings for UNIFI sounds like a good addition to FAQ/troubleshooting in the readme!
Please make a PR 😃

@angewood
Copy link
Author

Here some screenshots to setup UNIFI UDM PRO (based on NETWORK V 9.0.108 - think on other Dreammaschines is the same) to send / not block the mDNS-Record

In NETWORKS global for ALL networks

  • Multicast Filtering - Disable

Image

In NETWORKS for EACH network

  • IGMP Snooping - Disable
  • Multicast DNS - Enable

Image

And in each WIFI which is needed

  • Multicast Enhancement - Disable
    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants