diff --git a/db/src/main.go b/db/src/main.go index 1bf10be..67916e6 100644 --- a/db/src/main.go +++ b/db/src/main.go @@ -24,7 +24,7 @@ type ProvenceData struct { Temp float64 `json:"temp"` Humidity int `json:"humidity"` Battery int `json:"battery"` - Window bool `json:"window"` + Window bool `json:"window_open"` } func mqttConnection() *mqtt.MqttGateway {