Zigbee2mqtt: Complete configuration of HEIMAN monoxide and issue reported information

Hello,

As I will soon have a stove, I bought the Heiman HS1CA-E carbon monoxide detector.
Integration is fine except that on the dashboard it says « no recorded value ».

Under gladys8080, only the battery and linkquality are reported
so to remedy this, you have to accept losing your hearing and do a button test so that all values are reported.

However, the dashboard remains in the same state while the « carbon_monoxide » variable correctly changes from false to true (again lost hearing) and back to false under gladys8080.

Moreover, the description is « smoke sensor » (which can be changed in the integration by editing the device) which is related by default to the function it uses and here « Smoke Sensor - Yes/No » but from my remaining chemistry, carbon monoxide is a gas (colorless and odorless). Is this the correct function for this device or does it have no influence?

@pierre-gilles: this can wait for 4.5.2, I don’t need it for tomorrow. :rofl: otherwise, great work on this version more user-friendly than V3 at least for the scenes and a top reactivity.

I tag @cicoub13 and @VonOx, they are the ones working on the Zigbee2mqtt integration :slight_smile:

Thanks! :slight_smile: That’s the goal!

I have the smoke detection version and it’s true that it’s loud in test mode :sweat_smile:

I’ll check your model during the day.

The HS1CA-E model is configured with the smoke-sensor feature and expects a smoke field in Zigbee.
However, the model returns a carbon_monoxide field (which is normal, as it’s a CO2 detector).

You are the first to test this kind of model (and thank you for that). I’m fixing it right away :grinning_face_with_smiling_eyes:

https://github.com/GladysAssistant/Gladys/pull/1287

PS: Ah, CO2 detector type devices in Gladys Core expect a rate in PPM, which is not the case for this sensor :thinking:

It’s not CO2 but CO the monoxide :upside_down_face:

Is a small conversion possible? :slight_smile: Otherwise, another unit must be declared in the Gladys constants!

Oh yeah, that’s true, monoxide isn’t dioxide :sweat_smile: It makes me laugh because no one caught on :grin:

So we need to add the feature