Documentation ¶
Overview ¶
Package honeywell5800 models Honeywell 58xx series sensors operating over 345 MHz radio, most typically door/window sensors.
Index ¶
- Variables
- type Channel
- type Event
- func (e Event) Format(state fmt.State, verb rune)
- func (e Event) IsBatteryLow() bool
- func (e Event) IsHeartbeat() bool
- func (e Event) IsRegister() bool
- func (e Event) Loop(n uint8) bool
- func (e Event) Loop1() bool
- func (e Event) Loop2() bool
- func (e Event) Loop3() bool
- func (e Event) Loop4() bool
- func (e Event) String() string
- func (e Event) ToSQL(stmt *sqlite.Stmt, param string)
- type Kind
- type Sensor
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSensorIDTooLarge = errors.New("sensor ID cannot be larger than 20 bits") ErrSensorIDTooSmall = errors.New("sensor ID cannot be 0 or negative") )
View Source
var (
ErrChannelTooLarge = errors.New("Channel cannot be larger than 4 bits")
)
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event uint8
func (Event) IsBatteryLow ¶
func (Event) IsHeartbeat ¶
func (Event) IsRegister ¶
type Kind ¶
type Kind int
Kind stores the kind of a sensor loop.
const ( Door Kind // door open DoorWindow // door or window open GlassBreak // glass break HeatDetector // heat detector KeyFob // key fob button LowTemp // low temperature MaintenanceNeeded // maintenance needed MedicalAlert // medical alert MotionDetector // motion detector PanicButton // panic button SmokeDetector // smoke detector Tamper // tamper TiltSwitch // tilt switch Window // window open )
Click to show internal directories.
Click to hide internal directories.