This an go SDK implementation for Intelbras' ISECNet protocol.
ISECnet is a proprietary protocol used by Intelbras in their alarm central communication.
help Help about any command
partialStatus Get partial central status
zones Get Zone status
You can configure the zone description in .isecnet-go.yaml
to see meaningful names and only zones in use. See .isecnet-go..yaml.example
for example:
zones:
- id: 1
name: Front Door
description: Front dor magnetic sensor
➜ isecnet-go git:(main) ✗ go run . --password 1234 zones
Using config file: ./.isecnet-go.yaml
INFO[0000] Connecting... address="localhost:9009"
+------------+----------+-------+----------+------------+--------+---------------+
| ZONE | ANULATED | OPEN | VIOLATED | LOWBATTERY | TAMPER | SHORT CIRCUIT |
+------------+----------+-------+----------+------------+--------+---------------+
| Front Door | false | false | false | false | false | false |
+------------+----------+-------+----------+------------+--------+---------------+
-
make unit-test
: unit tests -
make lint
: linter -
make test
: run all -
make mock-alarm-central
: starts the mock server -
go run . server
: starts the gRPC server:
// Testing the API
grpcurl -plaintext localhost:8080 ZoneService.GetZones