I was doing some digging if I could run this more easily in Docker, and realized that there's an hid package using libhid that would allow the code to just pick up the CO2 sensor when it gets plugged in, no configuration/udev needed (udev would just be to start/stop the service when it gets plugged in or unplugged). However, this would add an extra dependency and needs some system dependencies (libhid) to be installed.
I was doing some digging if I could run this more easily in Docker, and realized that there's an hid package using libhid that would allow the code to just pick up the CO2 sensor when it gets plugged in, no configuration/udev needed (udev would just be to start/stop the service when it gets plugged in or unplugged). However, this would add an extra dependency and needs some system dependencies (libhid) to be installed.