emxsys / callattendant

A python-based automated call attendant, call blocker, and voice messaging system running on a Raspberry Pi. Screens callers and block robocalls and scams with a low-cost Raspberry Pi and modem.
https://emxsys.github.io/callattendant/
MIT License
115 stars 37 forks source link

Add a config setting to disable use of GPIO pins. #152

Open lucienve opened 3 years ago

lucienve commented 3 years ago

This is useful if the Pi does not have the custom board installed, and you want to prevent it from interacting with pins that are in use for other purposes.

Split tests into hermetic unit tests which do not interact with hardware, and integration tests which exercise real modem and indicator hardware.

From https://groups.io/g/callattendant/message/100, it does not seem like many people are using the custom hardware yet, so it may make sense to flip the default value to True (disabled) at some point in the future.