Fully implemented lights package and further cleaned up logging
authorjweigele <jweigele@local>
Tue, 13 Dec 2022 21:43:53 +0000 (13:43 -0800)
committerjweigele <jweigele@local>
Tue, 13 Dec 2022 21:43:53 +0000 (13:43 -0800)
commitbcbda2b4281e7cf56fc199015462d1b258648552
tree4760490a4a326ad6a4247ed7878a8070b51f9774
parentadea74939bb6826ae8cd246ec0cb6b6b15b7f1dc
Fully implemented lights package and further cleaned up logging

 * Lights now has working subimplementations for pico and zig
 * Fixed a bug with switch expiration infinite looping
 * Interfaces are used to get the specific relay data... probably very
   messy but it's the smallest amount of function changes I could do
 * Logging is now bound per relay, to allow more specific output when
   we're debugging (i.e. friendlyname for those that support it, etc)
 * Prometheus is basic with no metrics expiration, and a simple one
   second update loop... but that's how it was before in python SO
Dockerfile.lights [new file with mode: 0644]
go.mod
helper/helper.go
lights/main.go
subbuilds