1
0
Fork 0

Poll for partitions fire alarm

This commit is contained in:
Michał Rudowicz 2026-03-01 16:09:32 +01:00
parent 7ac13d8e47
commit 91a5a9ae6f
Signed by: fleg
GPG Key ID: F5DF8B577D230836
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ func NewConfig(conn net.Conn, config Config) *Satel {
for {
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_armedPartitionsReally, s)
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_partitionsAlarm, s)
s.commandQueue <- callCommandAndRetrieveResult(SatelCommand_partitionsFireAlarm, s)
time.Sleep(config.PoolingInterval)
}
}()