This commit is contained in:
Michael Lehmann
2025-02-18 21:06:52 +01:00
parent da6b2ec0ef
commit 088a15975c
13 changed files with 361 additions and 0 deletions

17
controller/data.go Normal file
View File

@@ -0,0 +1,17 @@
package controller
type StatusResponse struct {
Method string `json:"method"`
Env string `json:"env"`
Result PilotDetails `json:"result"`
}
type PilotDetails struct {
Mac string `json:"mac"`
RSSI int `json:"rssi"`
Src string `json:"src"`
State bool `json:"state"`
SceneId int `json:"sceneId"`
Temp int `json:"temp"`
Dimming int `json:"dimming"`
}