ble_monitor icon indicating copy to clipboard operation
ble_monitor copied to clipboard

[New Sensor]: Aranet2 temperature and humidity sensor

Open AranetBS opened this issue 1 year ago • 0 comments

Sensor Description

Aranet2 HOME logger tracking temperature and relative humidity measurements for indoor air quality applications.

Additional information

The Python client supporting Aranet2 : https://github.com/Anrijs/Aranet4-Python Also the Aranet2 is already supported by Shelly - https://github.com/ALLTERCO/shelly-script-examples/blob/main/ble-aranet2.js Aranet2_datasheet_v10.pdf

BLE advertisements

| Byte # | Field type | Content description             | Value                                                              |
| ------:|:---------- |:------------------------------- |:------------------------------------------------------------------ |
| 0      | Len        |                                 | 2                                                                  |
| 1      | AD_Type    | AD Flags                        |                                                                    |
| 2      |            | AD Flags Data                   |                                                                    |
| 3      | Len        |                                 | 10/23 (integration disabled/enabled)                               |
| 4      | AD_Type    | Manufacturer specific data      | 0xFF                                                               |
| 5      |            | Manufacturer ID                 | 0x0702                                                             |
| 6      |            |                                 |                                                                    |
| 7      |            | Packing identifier              | 0x01 = Aranet2 pack format v1                                      |
| 8      |            | Device status                   | bit 5: integration (disabled 0; enabled 1)                         |
|        |            |                                 | bit 4: DFU mode (app mode 0; DFU mode 1)                           |
|        |            |                                 | bits 1-0: (not connected 1; connected 2)                           |
| 9      |            | FW Revision                     |                                                                    |
| 10     |            | FW Minor                        |                                                                    |
| 11     |            | FW Major                        |                                                                    |
| 12     |            |                                 |                                                                    |
| 13     |            | padding                         | 0x00                                                               |
| 14     |            | padding                         | 0x00                                                               |
| 15     |            | padding                         | 0x00                                                               |
| 16     |            | padding                         | 0x00                                                               |
| 17     |            | Temp deg.05C                    | temperature * 20                                                   |
| 18     |            |                                 |                                                                    |
| 19     |            | padding                         | 0x00                                                               |
| 20     |            | padding                         | 0x00                                                               |
| 21     |            | Humidity .1%                    | 0.0 .. 100.0                                                       |
| 22     |            |                                 |                                                                    |
| 23     |            | padding                         | 0x00                                                               |
| 24     |            | Battery %                       | 0 .. 100                                                           |
| 25     |            | Temperature & humidity warnings | bits 3-2: Temperature warning (off 0; under 1; over 2; reserved 3) |
|        |            |                                 | bits 1-0: Humidity warning (off 0; under 1; over 2; reserved 3)    |
| 26     |            | Refresh interval s              | 60/120/300/600                                                     |
| 27     |            |                                 |                                                                    |
| 28     |            | Time since last measurement s   | 0 .. 600 (max depends on interval)                                 |
| 29     |            |                                 |                                                                    |
| 30     |            | Measurement counter             | 0 .. 255                                                           |

AranetBS avatar Jun 22 '23 09:06 AranetBS