X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=go%2Fr3events%2Fbasicevents.go;h=35f6385a1e2ced3e8149504b0e1b24a942bdcce5;hb=df03216ae02275765ae9a6757aed77bf0ac3da20;hp=73776cb2227a8fc37afa9dacdc1766cefdbe8b1e;hpb=0ae7860ca033f98cfb98721ebb0d4b2b42700d40;p=svn42.git diff --git a/go/r3events/basicevents.go b/go/r3events/basicevents.go index 73776cb..35f6385 100644 --- a/go/r3events/basicevents.go +++ b/go/r3events/basicevents.go @@ -25,8 +25,13 @@ type DoorCommandEvent struct { Ts int64 } +type DoorManualMovementEvent struct { + Ts int64 +} + type DoorProblemEvent struct { Severity int + Problem string Ts int64 } @@ -46,6 +51,40 @@ type IlluminationSensorUpdate struct { Ts int64 } +type DustSensorUpdate struct { + Sensorindex int + Value int64 + Ts int64 +} + +type RelativeHumiditySensorUpdate struct { + Sensorindex int + Percent int + Ts int64 +} + +type NetDHCPACK struct { + Mac string + IP string + Name string + Ts int64 +} + +type NetGWStatUpdate struct { + WifiRX int32 + WifiTX int32 + EthernetRX int32 + EthernetTX int32 + InternetRX int32 + InternetTX int32 + NumNeigh int32 + Ts int64 +} + +type GasLeakAlert struct { + Ts int64 +} + type TimeTick struct { Ts int64 }