Periodic Data Frame; Presence Detection Alarm Frame; Brightness Alarm Frame - ADEUNIS Sigfox Smart Building MOTION Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Sigfox Smart Building MOTION - Guide utilisateur / User guide version V1.0.1

4.1.8 Periodic data frame

This frame (0x4E) is sent according to the period chosen by the user (period = S321xS320xS301) and contains the periodic presence count and
brightness rate readings.
Each log contains the number of detections made and the brightness rate corresponding to a size of 3 bytes:
- the first 2 bytes for presence detection: unsigned 16 bits. For example, the value 1251 represents 1,251 detections.
- the last byte for the brightness rate: 8 bits unsigned in%. For example, the value 50 represents a brightness rate of 50%.
0
1
Code
PAYLOAD
0x4E
Status
0x4E
0xA3
NOTE: if S301> 2, the warning bit will appear in the byte status. In this case the frame will send the most recent readings at the expense of the
oldest ones that will be potentially lost.
For example, the following frame 4EA30210005350 (in hexadecimal) means:
- Frame code = 0x4E, periodic data frame
- Status = 0xA3, meaning a frame counter at 5, a low battery alarm and configuration validation.
- Global presence counter = 0x0210 i.e. 528 presence detections since device start
- Presence at t0 = 0x0053 i.e. 83 detections made
- Brightness at t0 = 0x50 is the brightness rate is at 80%

4.1.9 Presence detection alarm frame

This frame (0x4F) is sent when a threshold defined by configuring register 330 for presence detection is exceeded.
0
1
Code
Status
0x4F
Status
0x4F
0xA3
Its size is 6 bytes.
Description of the frame:
Bytes 2 and 3: global presence detection counter
Bytes 4 and 5: counter since last frame sent
In the example in grey, this results in:
Bytes 2 and 3 = 0x0320, the global counter has counted 800 detections since the device was started
Bytes 4 and 5 = 0x0035, the counter has counted 53 detections since the last frame was sent
4.1.10

Brightness alarm frame

This frame (0x50) is sent when a threshold is exceeded (determined by registers S340 to S344).
0
Code
Status
0x50
Status
0x50
0xA3
Description of the frame:
Byte 2: state of the alarm brightness (0 if inactive or 1 if active = thresholds exceeded)
Byte 3: brightness rate after the threshold was exceeded
2 and 3
4 and 5
PAYLOAD
Global
Presence
Brightness
presence
counter
rate at t0
counter
at t0
0x0210
0x0053
2 and 3
PAYLOAD
Global count of detections
since start up
0x0320
1
2
Brightness alarm frame
0x01
DISTRIBUTED BY TEXIM EUROPE
6
7 and 8
Presence
Brightness
counter at
rate at t-1
t-1
0x50
00
00
4 and 5
Counter since the last frame
sent
0x0035
3
PAYLOAD
Brightness
0x18
9
FR
EN
Page
71
of 83

Publicité

Table des Matières
loading

Table des Matières