Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aqara TVOC Air Quality Monitor (VOCKQJK11LM) #4704

Closed
redphx opened this issue Apr 5, 2021 · 92 comments · Fixed by #5213
Closed

Aqara TVOC Air Quality Monitor (VOCKQJK11LM) #4704

redphx opened this issue Apr 5, 2021 · 92 comments · Fixed by #5213

Comments

@redphx
Copy link

redphx commented Apr 5, 2021

Device

Screenshots

image

image

Node Info

image

Basic

image

Identify

image

Temperature measurement

image

Relative humidity measurement

image

Analog Input (Basic)

image

Power Configuration

image

@github-actions
Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Apr 27, 2021
@github-actions
Copy link
Contributor

github-actions bot commented May 5, 2021

As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.

@github-actions github-actions bot closed this as completed May 5, 2021
@apper13
Copy link

apper13 commented May 27, 2021

I would highly appreciate re-opening this ticket. This device is really interesting and I would love to see it in deconz! It is newly available directly in Europe (https://www.amazon.de/dp/B094N7X7NH)

@Mimiix Mimiix reopened this May 27, 2021
@redphx
Copy link
Author

redphx commented May 28, 2021

Updated screenshots with values (had to use the Reset Node feature first + press the Pair button)

@redphx
Copy link
Author

redphx commented May 28, 2021

Not sure where this ppb (tvoc) came from:

image

@github-actions github-actions bot removed the stale label May 28, 2021
@00lex
Copy link

00lex commented Jun 1, 2021

im interested too! :)

@lisanet
Copy link

lisanet commented Jun 1, 2021

I'd love to see this too.

@SwoopX
Copy link
Collaborator

SwoopX commented Jun 1, 2021

Can anyone please add the required screenshot of the node's clusters?

@redphx
Copy link
Author

redphx commented Jun 2, 2021

Can anyone please add the required screenshot of the node's clusters?

Sorry I missed that. Added to the first post.

@SwoopX
Copy link
Collaborator

SwoopX commented Jun 5, 2021

Thanks. Would anybody also be able to compile a test version of the plugin?

@rasssta
Copy link

rasssta commented Jun 15, 2021

Thanks. Would anybody also be able to compile a test version of the plugin?

Could you please elaborate a bit? :-)

@rgers
Copy link

rgers commented Jun 15, 2021

Thanks. Would anybody also be able to compile a test version of the plugin?

I just got the sensor and I'm fairly confident I'll be able to compile a test version. Which branch?

@SwoopX
Copy link
Collaborator

SwoopX commented Jun 15, 2021

It's branch tvoc in my repo (https://github.com/SwoopX/deconz-rest-plugin). Would be great to collect like 20 mins of debug log, which includes the pairing of the device. You can so do with /usr/bin/deCONZ --dbg-info=2 --dbg-error=2 > tvoc_debug

@rgers
Copy link

rgers commented Jun 15, 2021

tvoc_debug.log

Will this help? It looks to me that after pairing there's no communication...
Let me know if you need anything else.

@SwoopX
Copy link
Collaborator

SwoopX commented Jun 16, 2021

Thanks!

Hm, there's indeed nothing. Have you tried forcing the values on the device to change (e.g. blow at it) during that time? If not, it would be good if you could take another short debug log where you try to tickle all sensors.

On the other hand, it wouldn't be too surprising if the device is "honest" zigbee and really follows the specs. I haven't whitelisted it for attribute reporting yet, since most Xiaomi devices ignore it anyway and to their own thing. Will amend the code later and let you know for a new try

@redphx
Copy link
Author

redphx commented Jun 16, 2021

@rgers maybe you'll need to use the Reset Node feature in the Edit menu, then press (not hold) the Pair button on the TVOC.
I haven't tried the new build yet, but with the stable build it only transfers data to deCONZ after I do those steps.

@rgers
Copy link

rgers commented Jun 17, 2021

@SwoopX here's a new log with your latest updates. This time I can see correct values for temperature, humidity and battery level in the log. Nothing shows up in Phoscon. I don't see air quality in the log.
tvoc_debug321.log

@SwoopX
Copy link
Collaborator

SwoopX commented Jun 17, 2021

Looks like we're almost there. Remarkable that it seems to adhere to the specs indeed.

For the air quality, can you try to do the manual binding with the analog input cluster as described here https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/How-to...#manually-bind-server-clusters and try to configure attribute reporting for 0x0055 with values 60,600,1? When done, you should enter sensor search once again (without repair) to hopefully have the missing senor being created.

@rgers
Copy link

rgers commented Jun 17, 2021

Will let you know when I try manual binding, probably tomorrow.
Currently temp and humidity works correctly with OpenHAB, although I see it as 2 different devices (one with temp and other with hum) instead 1 device with 2 channels as usual... but maybe that's specific to this device?

@SwoopX
Copy link
Collaborator

SwoopX commented Jun 20, 2021

In the end, there's 3 sensors exposed via REST API. From what I've seen so far in the logs, all's as expected (apart from the missing air quality sensor). I got no clue what OH makes out of it but it's also nothing we can help you here with.

@rgers
Copy link

rgers commented Jun 28, 2021

I've done the manual binding and in Cluster Info in 0x0055 I can see the correct value changing but no sensor is being created. Maybe I've done the binding incorrectly...

@SwoopX
Copy link
Collaborator

SwoopX commented Jun 28, 2021

Do you recall if the values have updated even without the binding? It's always kind of a challenge with Xiaomi to find out if it is required and accepted or not.

The sensor can show up if you enter sensor search, wake up the device by pushing the physical button once and then reading the voc attribute.

@jan666
Copy link
Contributor

jan666 commented Jul 8, 2021

Any news? Anything I can do to help? (I have this device, not yet paired - I'm on the latest stable deCONZ version)

@kenge1967
Copy link

How is this going on, I just bought it so is there anything I can do to help out?

@SwoopX
Copy link
Collaborator

SwoopX commented Jul 19, 2021

I did some updates on the code for the air quality sensor. Can somebody please compile and test it?

Instructions: https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Compiling-the-REST-plugin-for-device-specific-testing
Repository: https://github.com/swoopx/deconz-rest-plugin.git
Branch: tvoc

@Mimiix
Copy link
Collaborator

Mimiix commented Aug 30, 2021

@f04ly That's something that needs to be figured out on Openhab's site. @SwoopX seems good so far :)

@f04ly
Copy link

f04ly commented Aug 30, 2021

ah ok, great, thx :)

@f04ly
Copy link

f04ly commented Sep 21, 2021

any new suggestion when it will be in the firmware with all featueres? with another zigbee stick i got all values including air quality in openhab - but conbee still cant do it :(

@Notsosmarthome
Copy link

How do you guys even get them to pair with Deconz..? I'm using Conbee 2 and have three TVOC meters, none of which will pair (pressed button until network logo comes up, then release, also tried holding the button in).

@FitziCJ
Copy link

FitziCJ commented Sep 25, 2021

How do you guys even get them to pair with Deconz..? I'm using Conbee 2 and have three TVOC meters, none of which will pair (pressed button until network logo comes up, then release, also tried holding the button in).

Which version du you use? I use the dev-version vom SwoopX. See post #4704 (comment)

@chief110
Copy link

when can I expect a stable version with the support for the tvoc?

@Mimiix
Copy link
Collaborator

Mimiix commented Sep 30, 2021

@chief110 The next stable is not due for another month or so and could be a bit longer due to DDFs.

2.13.0 is exptected this week.

@anciltech
Copy link

Hi everyone, I've been following along and was able to get the branch installed, but my TVOC sensor doesn't seem to be pushing any sensor data through...

Am I missing something or have I run into an issue?
Also, Phoscon shows that it connected the sensor, but nothing new shows up in the list of sensors. Is this currently able to display TVOC sensor data in phoscon->Hue plugin yet?

"config": {
"battery": null,
"on": true,
"reachable": true,
"temperature": 0
},
"ep": 1,
"etag": "60f0e0e0ffa34665db7d97d7fd7fb9be",
"lastannounced": "2021-10-20T15:45:03Z",
"lastseen": "2021-10-20T15:44Z",
"manufacturername": "LUMI",
"modelid": "lumi.airmonitor.acn01",
"name": "AirQuality 12",
"state": {
"airquality": null,
"airqualityppb": null,
"lastupdated": "none"
},
"swversion": "2020",
"type": "ZHAAirQuality",
"uniqueid": "54:ef:44:10:00:10:66:52-01-000c"
}
}

@Darathor17
Copy link

Hi everyone, I've been following along and was able to get the branch installed, but my TVOC sensor doesn't seem to be pushing any sensor data through...

Am I missing something or have I run into an issue? Also, Phoscon shows that it connected the sensor, but nothing new shows up in the list of sensors. Is this currently able to display TVOC sensor data in phoscon->Hue plugin yet?

"config": { "battery": null, "on": true, "reachable": true, "temperature": 0 }, "ep": 1, "etag": "60f0e0e0ffa34665db7d97d7fd7fb9be", "lastannounced": "2021-10-20T15:45:03Z", "lastseen": "2021-10-20T15:44Z", "manufacturername": "LUMI", "modelid": "lumi.airmonitor.acn01", "name": "AirQuality 12", "state": { "airquality": null, "airqualityppb": null, "lastupdated": "none" }, "swversion": "2020", "type": "ZHAAirQuality", "uniqueid": "54:ef:44:10:00:10:66:52-01-000c" } }

I'm in the same boat as you are (running v2.13.02) and I got humidity/temperature but not the air quality.

@alextud
Copy link

alextud commented Nov 20, 2021

Hi everyone, I've been following along and was able to get the branch installed, but my TVOC sensor doesn't seem to be pushing any sensor data through...
Am I missing something or have I run into an issue? Also, Phoscon shows that it connected the sensor, but nothing new shows up in the list of sensors. Is this currently able to display TVOC sensor data in phoscon->Hue plugin yet?
"config": { "battery": null, "on": true, "reachable": true, "temperature": 0 }, "ep": 1, "etag": "60f0e0e0ffa34665db7d97d7fd7fb9be", "lastannounced": "2021-10-20T15:45:03Z", "lastseen": "2021-10-20T15:44Z", "manufacturername": "LUMI", "modelid": "lumi.airmonitor.acn01", "name": "AirQuality 12", "state": { "airquality": null, "airqualityppb": null, "lastupdated": "none" }, "swversion": "2020", "type": "ZHAAirQuality", "uniqueid": "54:ef:44:10:00:10:66:52-01-000c" } }

I'm in the same boat as you are (running v2.13.02) and I got humidity/temperature but not the air quality.

Same for me and I don't have an Aqara hub that is needed to update the TVOC sensor firmware :(

@Darathor17
Copy link

Darathor17 commented Nov 20, 2021

Hi everyone, I've been following along and was able to get the branch installed, but my TVOC sensor doesn't seem to be pushing any sensor data through...
Am I missing something or have I run into an issue? Also, Phoscon shows that it connected the sensor, but nothing new shows up in the list of sensors. Is this currently able to display TVOC sensor data in phoscon->Hue plugin yet?
"config": { "battery": null, "on": true, "reachable": true, "temperature": 0 }, "ep": 1, "etag": "60f0e0e0ffa34665db7d97d7fd7fb9be", "lastannounced": "2021-10-20T15:45:03Z", "lastseen": "2021-10-20T15:44Z", "manufacturername": "LUMI", "modelid": "lumi.airmonitor.acn01", "name": "AirQuality 12", "state": { "airquality": null, "airqualityppb": null, "lastupdated": "none" }, "swversion": "2020", "type": "ZHAAirQuality", "uniqueid": "54:ef:44:10:00:10:66:52-01-000c" } }

I'm in the same boat as you are (running v2.13.02) and I got humidity/temperature but not the air quality.

Update: After some time the battery is now displaying 100% (normal then) and I get the airquality & airqualityppb reporting the correct value via the API. Only the airquality is passed along to Phoscon although.

@Darathor17
Copy link

Hi everyone, I've been following along and was able to get the branch installed, but my TVOC sensor doesn't seem to be pushing any sensor data through...
Am I missing something or have I run into an issue? Also, Phoscon shows that it connected the sensor, but nothing new shows up in the list of sensors. Is this currently able to display TVOC sensor data in phoscon->Hue plugin yet?
"config": { "battery": null, "on": true, "reachable": true, "temperature": 0 }, "ep": 1, "etag": "60f0e0e0ffa34665db7d97d7fd7fb9be", "lastannounced": "2021-10-20T15:45:03Z", "lastseen": "2021-10-20T15:44Z", "manufacturername": "LUMI", "modelid": "lumi.airmonitor.acn01", "name": "AirQuality 12", "state": { "airquality": null, "airqualityppb": null, "lastupdated": "none" }, "swversion": "2020", "type": "ZHAAirQuality", "uniqueid": "54:ef:44:10:00:10:66:52-01-000c" } }

I'm in the same boat as you are (running v2.13.02) and I got humidity/temperature but not the air quality.

Same for me and I don't have an Aqara hub that is needed to update the TVOC sensor firmware :(

Hi @alextud the firmware update is for your conbee stick and not the TVOC sensor itself. (I don’t own an aqara hub either). Hope it works out for you!

@alextud
Copy link

alextud commented Nov 20, 2021

Thanks @Darathor17 I've upgraded conbee firmware, and is working. (I've assumed that it's the latest but I was wrong)

@MiguelAlbiac
Copy link

Hola. Estoy interesado en integrar el TVOC en mi sistema domotico pero tengo algunas dudas.
1-Tengo deconz corriendo en home-assistant en una raspberry pi4, ¿como actualizo el firmware de conbee II¿
2-Al actualizar el firmware se borrara la configuracion de mis dispositivos de conbee II, tengo un monton y seria un problema.
Gracias

@Mimiix
Copy link
Collaborator

Mimiix commented Dec 1, 2021

@MiguelAlbiac Can you please post in english?

@MiguelAlbiac
Copy link

Hello. I am interested in integrating the TVOC in my home automation system but some doubts.
1-I have deconz running in home-assistant on a raspberry pi4, how do I update the firmware of conbee II?
2-When updating the firmware the configuration of my conbee II devices will be erased, I have a lot and it would be a problem.
Thanks

@Mimiix
Copy link
Collaborator

Mimiix commented Dec 1, 2021

  1. When deCONZ updates to stable
  2. Nope.

@hAMMERlized
Copy link

Hey guys,

I'm not sure but is the TVOC now fully compatible with the Conbee Stick / deCONZ? Is the air quality pushed passed through to homekit now? Thanks.

@jan666
Copy link
Contributor

jan666 commented Dec 21, 2021

I updated to 2.13.04 / 18.12.2021 and firmware 26720700 yesterday and paired my TVOC sensor. Temperature and Humidity works as expected, but "airqualityppb" is unreliable. I already tried re-pairing, removing the battery for a few seconds, waited a few hours... the last value now is 8 hours old:

  "state": {
    "airquality": "good",
    "airqualityppb": 75,
    "lastupdated": "2021-12-20T22:52:44.826"
  }

on the display the value is 51. I there anything I can do to fix this?

@sieren
Copy link

sieren commented Dec 28, 2021

Can confirm... with the current master version changing the reporting interval also doesn't do anything for me.

@Fredo70
Copy link

Fredo70 commented Jan 17, 2022

Hi
I have the problem too. The air quality is not updated:

"state": {
    "airquality": null,
    "airqualityppb": null,
    "lastupdated": "none"
}

lastseen is updated.
Conbee II
Version 2.13.04 / 18.12.2021
Firmware 26660700

@sieren
Copy link

sieren commented Jan 17, 2022

When rebasing master against my commit sieren@655d476 automatic updates seem to work again after setting the reporting values manually in deconz-gui. However with just plain master, even those don't update.
@SwoopX do you mind taking a look at this and which parts are helpful here? I'd like to get this merged to master even if it means having to set the reporting interval manually for now.

@jan666
Copy link
Contributor

jan666 commented Jan 18, 2022

@sieren how to set reporting manual?

@sieren
Copy link

sieren commented Jan 18, 2022

@jan666 Go to the "ANALOG INPUT" Cluster of the device in Deconz Gui, then to Cluster Info tab, open up "Present Value", and write the following data into the reporting value fields. Then press "Write Config" and tap once on the button at the top of the TVOC device. On occasion it requires more than one attempt.
Screenshot 2022-01-18 at 09 25 47

@jan666
Copy link
Contributor

jan666 commented Jan 18, 2022

Thx. Success on first try - but changed nothing so far

@sieren
Copy link

sieren commented Jan 18, 2022

@jan666 yeah, thats what ive been saying. If youre using the most recent version it needs some of the changes i made in here: sieren@655d476

@ee02217
Copy link

ee02217 commented Feb 7, 2022

Hi Siren,
First of all thank you for your contribution!
Is there any plan for merging and releasing your fixes/enhancements?

@Darathor17
Copy link

Hi, also interested to know if it's gonna be merged after all? thx for the hard work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.