mirror of https://git.sr.ht/~michalr/go-satel
Poll for Partituons Fire Alarm Memory
This commit is contained in:
parent
91a5a9ae6f
commit
633917c46a
1
satel.go
1
satel.go
|
|
@ -72,6 +72,7 @@ func NewConfig(conn net.Conn, config Config) *Satel {
|
||||||
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_armedPartitionsReally, s)
|
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_armedPartitionsReally, s)
|
||||||
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_partitionsAlarm, s)
|
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_partitionsAlarm, s)
|
||||||
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_partitionsFireAlarm, s)
|
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_partitionsFireAlarm, s)
|
||||||
|
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_partitionsFireAlarmMemory, s)
|
||||||
time.Sleep(config.PoolingInterval)
|
time.Sleep(config.PoolingInterval)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue