Commit Graph

3 Commits

Author SHA1 Message Date
d812c440e1 Setup relay controller, includes db for saving state
Pin represents rpi gpio pin & controls is string describing what the relay controls.
Any state change is save to sqlite database.
2021-10-03 18:27:47 +02:00
343d0855c7 Setup camera capture. Captured image has datetime timestamp overlay
Main function here is the capture function. All attrs are currently fixed.
The server fetches the saved image, in order to not have read/write conflict we first save captured image as 'assets/foo.jpg' and after capture rename it to 'assets/capture.jpg'.
2021-10-03 18:27:22 +02:00
e0247cd75f Initial commit 2021-09-26 19:14:43 +02:00