Heiman CO2 sensor

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
WouterO
Posts: 59
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Heiman CO2 sensor

Post 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.
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Heiman CO2 sensor

Post 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.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
WouterO
Posts: 59
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Heiman CO2 sensor

Post by WouterO »

Thanks, Pipiche, I will get the sensor this weekend and will let you know.
WouterO
Posts: 59
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Heiman CO2 sensor

Post 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 37 times
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Heiman CO2 sensor

Post 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
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
WouterO
Posts: 59
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Heiman CO2 sensor

Post 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.
Attachments
_PluginZigbee_06 (3).log.txt
(228.64 KiB) Downloaded 26 times
export (3).json.txt
(8.96 KiB) Downloaded 21 times
WouterO
Posts: 59
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Heiman CO2 sensor

Post 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.
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Heiman CO2 sensor

Post 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
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
WouterO
Posts: 59
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Heiman CO2 sensor

Post 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!
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Heiman CO2 sensor

Post 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
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
WouterO
Posts: 59
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Heiman CO2 sensor

Post 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!
Attachments
_PluginZigbee_06.log.txt
(164.08 KiB) Downloaded 38 times
export.json.txt
(27.98 KiB) Downloaded 40 times
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Heiman CO2 sensor

Post 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.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Heiman CO2 sensor

Post 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]
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
WouterO
Posts: 59
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Heiman CO2 sensor

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest