DJerike
(D Jerike)
March 5, 2024, 9:08pm
1
I have bought the Angeleye ZBST-AE-630-EUR
This smoke detector has a zigbee Module.
I paired the device with zigbee2mqtt, that works but it is detected as a Carbon monoxide sensor, and none of the correct data is displayed in home assistant.
I found this page:
opened 04:00PM - 03 Oct 22 UTC
closed 12:02AM - 30 Nov 22 UTC
problem
stale
### What happened?
As earlier noted in issue #9270, this device is only reporti… ng link quality. Battery percentage and carbon_monoxide properties are both Null.
The current state of the device is as follows:
```json
{
"battery": null,
"battery_low": false,
"last_seen": "2022-10-03T15:42:43.403Z",
"linkquality": 83,
"voltage": 3000,
"carbon_monoxide": null
}
```
Using the dev console, I can request properties batteryVoltage, batteryRatedVoltage and batteryVoltMinThres, which results in:
{"batteryVoltage":30,"batteryRatedVoltage":30,"batteryVoltMinThres":19}
Earlier this afternoon the batteryRatedVoltage value was 31.
I think the existing converter (https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/devices/fireangel.js) is missing a convert function, where the voltage will be converted to a battery value.
I also think the carbon_monoxide value should be converted from NULL to OFF
### What did you expect to happen?
I expected to see a battery % and a correct state.
### How to reproduce it (minimal and precise)
_No response_
### Zigbee2MQTT version
1.27.2
### Adapter firmware version
20220219
### Adapter
slae.sh_cc2652rb
### Debug log
_No response_
but when i try to save this script i get the error message:
“constructorclass is not a constructor”
Does anyone has ever got this device to work with the zigbee module?.
Thanks in advance