Monitor a single file on a single device
Opened this issue · 1 comments
mhemeryck commented
Monitor a single file on a single device, trigger the output if the input changes.
If we can do this simple setup, it should be easy to extend to other, more involved cases.
Setup; steps:
- monitor a single file via the sysfs interface; run in a dedicated thread, communicate over a channel
- take the event and have it a call another service that toggles the output file
mhemeryck commented
We can extend this later on with e.g.:
- a config in yaml format
- entity models to capture the format
- go beyond a single device
- ...