Help with the library. I can't read the values from the device.
my device:
I'm using a script
but I always have test in the log on
02/13/2024 18:43:04
* nil
how can I read the temperature value from the device? will the aqua temperature sensors be fully added?
my device:
Code:
Manufacturer: LUMIA
Модель: lumi.airmonitor.akn01
Firmware version: 2020 www.
Device type: End device
Power source: Battery
Receive when idle: No
Endpoint 1
Profile: 260
Input cluster
- Basic (0)
- Identify (3)
- SsIasZone (1280)
- PowerCfg (1)
Output clusters
- Ota (25)
Reported attributes
- - analog input: 79.00
- humidity: 34.8
- temperature 26.94
I'm using a script
Code:
zb = require('applibs.zigbee')
addr = 'A43A'
cluster = 0405
attributes = {"humidity"}
endpoint = 1
res, err = zb.cmdsync('gethumidity', '54ef4410009275b7', endpoint, cluster, attributes)
log(res)
but I always have test in the log on
02/13/2024 18:43:04
* nil
how can I read the temperature value from the device? will the aqua temperature sensors be fully added?