scudre / alarm-central-station-receiver

Python daemon for receiving events from a home alarm system via Contact ID protocol
Apache License 2.0
36 stars 10 forks source link

Issue #15 prevent exception if /dev/usb/hiddevN doesn't exists #17

Closed scudre closed 6 years ago

scudre commented 6 years ago

Updated magicJack init code to only open /dev/usb/hiddev files that exist instead of blindly attempting to blindly open the first 10 /dev/usb/hiddev files that may or may not exist.