Add in RGBMatterRelay for dealing with matter lights
authorjweigele <jweigele@local>
Tue, 30 Jan 2024 05:49:50 +0000 (21:49 -0800)
committerjweigele <jweigele@local>
Tue, 30 Jan 2024 05:49:50 +0000 (21:49 -0800)
commit4ff389813f6aea719304f51792d34833a6e0ce18
treefe5094733f731b75bf47a86ed3bee9247b05ac8b
parent9a6b684bd5a095106b7af9503a61c94c8f17bc86
Add in RGBMatterRelay for dealing with matter lights

 * Required refactoring the interfaces pretty heavily, mainly RGBRelay
   -> RGBMQRelay being another layer
 * This also required fixing up the lights.yaml on consumption, because
   yaml unmarshalling requires all the various types to get things at
   different layers
 * There's a little wonkiness when it comes to relaydata, since I'm just
   using RGBRelayData over again and ignoring routing key on matter
 * No error checking besides an exit 1 when the websocket horks up for
   matter (ehhhhhhhhhhhh)
go.mod
lights/main.go
mattersocket/mattersocket.go [new file with mode: 0644]