C1QX Sigfox packet format
For C1QX devices from Quorum Precision
Sigfox packet for Temperature + Humidity version
Every Sigfox packet includes three pieces of information:
- temperature reading
- humidity reading
- battery charge / status indicator
Example
Sigfox payload (hex): 01 81 00 28 02 66
HEX substring from Sigfox packet | Interpretation | Example interpreted | Description |
---|---|---|---|
01 81 | int16_t / 16.0 big endian signed short | 24.0625 deg. C | Temperature |
00 | placeholder | must ignore | must ignore |
28 | uin8_t big-endian unsigned byte | 40 (% RH) | Relative humidity |
02 66 | uint16_t big-endian unsigned short | 614 | Battery status |
Example parsers
Python3
#!/usr/bin/env python3
import struct
import binascii
from pprint import pprint
i = {}
pl = "018100280266"
hpl = binascii.unhexlify("018100280266")
i["temp"] = struct.unpack(">h", hpl[0:2])[0] / 16.0
i["humi"] = struct.unpack(">B", hpl[3:4])[0]
i["batt"] = struct.unpack(">H", hpl[4:6])[0]
pprint(i)
Support
For support please contact your distributor or manufacturer directly via www.quorumprecision.com