Page 1 of 1

Heiman CO2 sensor

Posted: Thursday 19 October 2023 10:13
by WouterO
Hi,
Does anyone know if the Air Quality Monitor Model HS3AQ manufactured by Heiman
Zigbee ID: HS3AQ-EFA-3.0 can be integrated in Domoticz, using Zigbee for Domoticz plugin?

If not, is there any NDIR CO2 sensor available with Zigbee and working with Z4D plugin?

Thanks in advance.

Re: Heiman CO2 sensor

Posted: Thursday 19 October 2023 20:20
by pipiche
The Heiman should work, if not I don't expect much work to get it integrated.
It can report
Battery percentage
Temparature
C02
Humidity

So I think you can order it. At minimum you'll get Temp and Humidity and if you provide me the device information (that you can collect via the WebUI Plugin), this should work.

Re: Heiman CO2 sensor

Posted: Thursday 19 October 2023 23:26
by WouterO
Thanks, Pipiche, I will get the sensor this weekend and will let you know.

Re: Heiman CO2 sensor

Posted: Monday 23 October 2023 15:10
by WouterO
Dear pipiche,
As you suggested, Temp and Humidity works fine with the Z4D plugin, but I don't get the CO2 information :cry:
I took the liberty to include the export.json file using the Zigbee web UI: tool > non-optimized devices > export
I hope that the information you need is in that file. Can you tell me how to proceed to get the CO2 data via the Z4D plugin in Domotics?
Thank you so much!
export (2).json.txt
(9.08 KiB) Downloaded 41 times

Re: Heiman CO2 sensor

Posted: Monday 23 October 2023 19:21
by pipiche
Sound interesting. I did a quick integration let see how it behaves.

please switch to the specifc branch

Code: Select all

git checkout air-quality-heiman-HS3AQ-EFA-3.0
then remove the existing widgets ( Temp, Humi, Voltage, Alarm), so the device is fully remove from Domoticz and Plugin

restart the plugin and do the pairing

let me know what are the results

I would nee again an export.json (as you did)
and the logs

in case the CarbonDioxyde doesn't report any value, I would need plugin logs with ZclCluster debug parameters enabled

Re: Heiman CO2 sensor

Posted: Monday 23 October 2023 20:23
by WouterO
Thank you so much for your quick reply. I did all you asked, but still no CO2 data.
Attached are the requested files (I don't know how to obtain the last one you asked for).
I hope somehow you can make it work.

Re: Heiman CO2 sensor

Posted: Monday 23 October 2023 20:31
by WouterO
Sorry, pipiche, it DOES seem to work!! Thanks. The value is only a factor 100 off, but I may be able to manage that in Domoticz.
It says "8.7" instead of 870 ppm.

I will let you know later if everything is fine. Thanks once more.

Re: Heiman CO2 sensor

Posted: Monday 23 October 2023 20:33
by pipiche
I'm afraid that the move to the air-quality-heiman-HS3AQ-EFA-3.0 branch didn't work

Code: Select all

git pull
git checkout air-quality-heiman-HS3AQ-EFA-3.0
git pull

then restart , delete all related widgets to get the device remove, restart the plugin and then do the pairing

in addition please add the debug parameter ZclCluster

Re: Heiman CO2 sensor

Posted: Monday 23 October 2023 22:05
by WouterO
Pipiche, forget the files I have sent you. Your new plugin works! The CO2 data is only a factor 100 too low. If I multiply the number from your plugin times 100 it’s expressed correctly in ppm.
That’s the only thing to improve. It works, thank you!

Re: Heiman CO2 sensor

Posted: Tuesday 24 October 2023 8:22
by pipiche
please do an update with

Code: Select all

git pull

then restart the plugin and let see

could you please provide me an export.json I need to check some stuff

Re: Heiman CO2 sensor

Posted: Tuesday 24 October 2023 10:00
by WouterO
I did what you asked, and the CO2 data is now correctly shown in ppm, thank you so much. I will (again) support you with a donation.
Attached are the files, I hope these are the ones you need, otherwise, please ask.

By the way, do you know how to update the information on https://zigbee.blakadder.com/Heiman_HS3AQ.html ?
This Heiman CO2 sensor is now fully working with Z4D / Domoticz thanks to you!

Re: Heiman CO2 sensor

Posted: Tuesday 24 October 2023 13:34
by pipiche
I 'm glad that we succeed together to make it working. Thanks for your patience and support.

I'll do a final step - this evening - will merge it to the main stream and you would be able to move back to stable7 after updating to the latest Certifided Db. I'll let you know how to do in the next message.

Thanks also for your sponsorship.

PS/ I did request the update of blakadder DB.

Re: Heiman CO2 sensor

Posted: Tuesday 24 October 2023 20:37
by pipiche
Merged is done, so you can come back to the main branch

Code: Select all

git checkout stable7
git pull
sudo python3 -m pip install -r requirements.txt --upgrade
and then restart the plugin


you should reached the plugin version 7.1.004 [2.116]

Re: Heiman CO2 sensor

Posted: Tuesday 24 October 2023 22:43
by WouterO
Did it. Worked fine. Needed an extra 'sudo' but that's ok. I am now at Plugin: 7.1.004 [2.116]. Thank you once more!