diogomartino / steam-auto-shutdown

Shutdown your PC automatically when steam downloads finish
177 stars 20 forks source link

Not Detecting Internet Activity #33

Open EmmanuelCy opened 6 months ago

EmmanuelCy commented 6 months ago

The new GUI doesnt seem to detect the activity, I am using Wifi and the traffic says 0 and the IDLE starts counting down

diogomartino commented 6 months ago

If you use disk monitor, does it detect any activity there?

NickBosworth commented 6 months ago

I can confirm the same issue, tested on 2x windows 11 devices.

There is no disk or network activity detected or displayed at the bottom of the screen.

Tested all interfaces under normal and run as admin permissions.

If I get a chance ill pull the source and debug on one of those devices to see if we can see what the underlying issue is.

diogomartino commented 6 months ago

@NickBosworth if you could debug it, that would be awesome. I have no way of knowing what's happening because for me (and I'm assuming most people) is working fine. Tested just now with both ethernet and wifi and it's working.

image

Some guesses:

EmmanuelCy commented 5 months ago

During the past 2 weeks I've been using Ethernet for now since my WIFI activity isn't detected and also disk activity is kinda unreliable for me it shutdowns sometimes and waking up to downloads at 50-60%.

diogomartino commented 5 months ago

@EmmanuelCy yes, the counters are kinda unreliable. You can try to increase the shutdown timer and the speed threshold in the settings a bit. That might help. About the Wifi not being detected, I can't do much because I can't reproduce the issue, I would need someone that has that problem to debug it on their machine.

EmmanuelCy commented 5 months ago

@diogomartino, I've encountered another bug where no activity is detected on both Network and Disk on all interfaces. Sometimes a restart resolves the issue, but not always. I would revert to the older version, but the max Idle Threshold is insufficient for my needs.

I'd like to debug this myself and try to find the issue, since you guys can't seem to reproduce the bug on your end.

jusparr commented 2 months ago

I can also confirm it does nothing for me on the latest win 11

nzdus commented 1 week ago

I think i might have found a fix for this issue. For me it was because it was detecting the "Microsoft Wifi Direct Virtual Adapter" and displaying it as "Local Area Connection 2" which wasn't receiving or sending any data. I had to go into device manaver, click on view, show hidden devices, than under network it should be there to disable. I did a restart to be safe, and it now notices my steam downloads with both hdd and network reads. I'll check to see if it picks up on a download from anything else.

Edit: I have checked with my browser and a download manager for browser downloads and it notices both. I think this may be the solution to the issue.

diogomartino commented 1 week ago

@nzdus thanks for that, that might help some people. Just a question, your correct network adapter was not showing in the list for you to pick instead of your that "Microsoft Wifi Direct Virtual Adapter"? And after you disable that adapter, did it detect the correct adapter correctly on startup?

nzdus commented 1 week ago

@diogomartino My correct adapter and the "Local Area Connection 2" were selected at the same time (but the local area connection would take priority). Like they were connected somehow, and yes It displayed the correct adapter on startup after disabling. Even before I disabled it it would show it on startup, but than it would switch to the other one within 30 seconds to a minute.