schollz / howmanypeoplearearound

Count the number of people around you :family_man_man_boy: by monitoring wifi signals :satellite:
MIT License
6.92k stars 386 forks source link

tshark errors silently ignored #64

Open eprochasson opened 3 months ago

eprochasson commented 3 months ago

Hi,

it looks like tshark errors are silently ignored, which leads to other problems down the line. Typically, I got a "Found no signals, are you sure supports monitor mode?" error, first because:

In these cases, instead of getting a clear error message from the subprocess, I just got the fairly unhelpful error from the script.

I would suggest the following:

I'm happy to give it a shot and submit a PR, if it's something that is deemed valuable.

Thanks!

sulrich70 commented 3 months ago

I would appreciate it, thats for sure. I have a project where i want to count attendance at a convention, in several buildings. I was hoping to use raspberry pi zeros to do this…

eprochasson commented 3 months ago

Well the core tool still works. Those are quality of life improvement. I'm more asking @schollz if he's interested in such contribution :)

schollz commented 3 months ago

Absolutely! I'll merge a PR and version up no problem