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

Device with Wake on LAN enabled is always active #34

Open
bewee opened this issue Feb 20, 2021 · 2 comments
Open

Device with Wake on LAN enabled is always active #34

bewee opened this issue Feb 20, 2021 · 2 comments

Comments

@bewee
Copy link

bewee commented Feb 20, 2021

Hi there,

First of all: Pretty great add-on! I really love how you use ARP instead of just pinging devices regularly.
However, my PC gets detected active all the time (all other devices work as expected). After a bit of trial and error, it seems to me that Wake on LAN is the problem (plugging out the LAN cable manually brings the presence detection thing to inactive state).
I guess this makes kind of sense. Anyway, it would be great if I could detect when my PC is offline. A ping is not successful when it is shutdown, so I think this could be used to detect activity of WoL-enabled devices?
Do you think it would be a good idea to add an option for regular ping polling instead of the current (pretty amazing!!!) approach to this add-on? Or should I rather aim for making a new add-on, or try to use some add-on for executing bash commands? Or am I probably just doing something completely stupid and this behaviour should not occur at all?🙈

Regards,
Benedikt

@flatsiedatsie
Copy link
Owner

Hey Benedikt

The only thing this would work well is if you could set arp or ping on a per device basis. If the entire addon was set to "ping" mode, then your android/iphone mobile devices would likely not show up consistently anymore. Arp is used because it works best for mobile devices. Most people care about knowing if mobile phones are on the network.

Why not just disable wake on lan on your desktop?

@bewee
Copy link
Author

bewee commented Feb 20, 2021

Hi @flatsiedatsie

The only thing this would work well is if you could set arp or ping on a per device basis.

Yes, that would be great!

Why not just disable wake on lan on your desktop?

Because I often need to turn it on remotely😅

I have not much experience with Python, but will try to give it a go!

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

2 participants