Documentation
¶
Overview ¶
Copyright © 2018 David Sabatie <david.sabatie@notrenet.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AlertCounter uint64
AlertCounter for door
var Battery float64
Battery level in V
var Firmware string
Firmware version
var FrameType uint64
FrameType ... 0: periodic 1: double click 2: alert 3: mode change
var Humidity float64
Humidity mesured in %
var Light float64
Light mesured in Lux
var Mode uint64
Mode activated 0: alert 1: temperature/humidity 2: light 3: door 4: vibration 5: magnet
var Temperature float64
Temperature mesured in °C
var UplinkPeriod uint64
UplinkPeriod is time between 2 messages 0: 10m 1: 1h 2: 6h 3: 1d
Functions ¶
Types ¶
This section is empty.