-
Notifications
You must be signed in to change notification settings - Fork 506
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
_TZE200_dwcarsat TS0601 Smart Air House keeper #5889
Comments
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. |
Is more information required? I have the same device, and missing support. |
@cloudbr34k84 this is ZHA, not deCONZ. |
I know I use ZHA.. |
@Smanar Can a DDF be done for htis? |
What's that sorry? |
https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/DDF-cheat-sheet Yes probably but will not be easy, can start first for the temperature to test the feasibility. The dpid for temperature is 18 (0x12) for this device. Make hot reload, the node name will change from 0xXXXX in deconz Take a look on the API to see the device, third app or Phosocn / help / API Information / sensor |
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. |
Zigpy supports this device. Shouldn't it be easy to create a DDF using the code in https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/air/init.py or isn't this possible with DDFs (yet)? |
I think it can work, for the moment you can't write tuya request (it's WIP) but you can read them so no problem for temperature and humidity (haven't checked if all gaz sensor are available) I just need a squeleton, I can make the tuya stuff part. |
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. |
Hello, can you try this DDF, it will work only for temperature and humidity, but it's to test.
|
@Smanar I tried to use this DDF but nothing changed. I see this device as light in my Phoscon UI. But that was same even before trying your DDF. |
Nothing more in phoscon/help/API Information/sensors ? What is your OS ? Have you the GUI ? |
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. |
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. |
Re-open by request. |
Hello, what is the issue, the device reconised as light instead of sensor ? And the DDF is not on the official version, no PR made, so you need to add it yourself. The last one is probably this one #5889 (comment) |
Hi @Smanar,
There seems also someone working on this as the DDF is on the deconz api github master (only 2 sensors..): more device info (6 sensors): what is required to get the 6 sensors supported? Thanks + best regards |
Not hard to add them, the problem is finding field already usable in deconz without compilation ^^. I have :
So can add this one in the DDF
state/airqualityppb will be VOC (idk what is it) |
Hello @Smanar, For my (6 sensor device) the dpid's are: mix of smart air box and smart air house keeper
The /10 etc hints that this might need a division before usable. I also added the references where I found the information. I tested with
and I'm getting promising results:
probably require some /10 division als ppb seems too high. CO2 and Formaldehyd seems not supported yet and require a new types -> core/cpp adaptions. Sidenote: In Homeassistant the values are not usable yet as there seems a bug crashing the deconz integration because of the ppb sensor
Thanks + best regards |
Phoscon is a big story, we haven't impact on it, You can ask for feature on the forum, but I realy have no information on it, no roadmap, and no it's realy something closed, you can't do something yourself.
Yes, you have a comment here for docker https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Compiling-the-REST-plugin-for-device-specific-testing at the end. For the HA issue, wana make an issue on the HA forum, or I can ask to plugin dev if he have time to take a look on this side ? And BTW if you can share your actual DDF ? Edit: |
Hello @Smanar, well done! its working - we're near to a solution.
ok, don't really use phoscon currently - just for debug. Nodes are managed in HA
gist: _tze200_ts0601_dwcarsat-json
one by one - once deconz rest working smooth I'll check HA
Great source! I was able to compile with it.
used your code 👍 Airquality now provides
now all 6 sensors are working. What I still dont get is whats going on in the deconz log:
these are completely different dpid's than I'm using..
but according to above I also could use
for some strange reason it also appears as "light" again:
Thank you for your support + effort best regards Markus |
I don't see where you need a division ? Remember for exemple on deconz temperature are * 100, if we have a value too low, perhaps it's a good idea to have it * 1000, like we do for current (in mA instead of A)
Values are hexa
This is a long story and a bad idea, but If I m right you have it only on phoscon, if you look on HA or direclty on the API, you will not have this result |
Hello @Smanar, |
Sure no problem, but I can explain you how to do if you prefer have them under your name ? |
@Smanar I'm ok if you do the PR with your name. I researched but didn't find any new information to get from the device (at least for now). I also double checked the units of the sensor values returned - I still have some doubt if they are correct. I guess we only find out by longterm usage; therefore I suggest to do the PR. |
PR done #6739 |
pydeconz PR in preparation: Kane610/deconz#408 |
homeassistant PR in preparation: home-assistant/core#87866 |
Lol, was fast, all PR was still in waiting list here. |
pydeconz PR is now pending for review: Kane610/deconz#408 |
I'm waiting for this PR to be merged 🤞 |
Hi everybody, Also this sensor is spamming HomeAssistant statistic database by sending values each second! Cheers (Sorry wrong board... I mistook Deconz with HA+Conbee2) |
The device was included before the field was added in deconz, for the moment we need this PR #6673 |
As a disclaimer, I just received this device with a manufacturer id Causing it to be miscategorized as a smartplug, just as the original author reported. You may have to customize the DDF's manufacturer id, as I did, to get it working. Altough I only get humidity, PM2.5 and temperature in HA. Any ideas ?
|
Yes, they are probably not managed by the HA plugin. Perhaps @Kane610 have an idea ? |
You're running an out of date version of home assistant. Upgrade to latest and it will work The log shows that you're running a newer version of deconz as it reports ZHAFormaldehyde |
Interesting, didn't think edit: Ok, working fine with |
When submitting bug reports its always good to make sure your running the latest release |
Yeah, I'm quite sorry because I updated the deconz container especially for this issue, checked HA's version and didn't bother updating since it was less than 6 months old. On an unrelated note, this sensor seems way off (at least on formaldehyde and humidity) and will be sent back. |
Haha thats an eternity in hass time :) |
Device
https://a.aliexpress.com/_mthOESy
Tuya zigbee Smart Air Housekeeper PM2.5 Formaldehyde VOC CO2 Temperature Humidity 6 In 1 Smart Air Box Sensor Alarm Detector
Specifications:
Working temperature:-20-85 °C
Working voltage:5 V
Working current:10-496 ma
size:10010040 mm
The power supply mode:USB 5V/1A
Communication protocol:ZIGBEE
color:white
Shell material:ABS
The weight of the:95g
Range (Formaldehyde):0-10.00 mg/m3
Range (VOC):0-99.9 ppm
Range (Carbon dioxide):0-1000 ppm
Range (Temperature):0-60 °C
Range (Humidity):0-95 %
Range (PM2.5):0-1000 ug/m3
Screenshots
Basic
Identify
Alarms
Device Temperature
Groups
Scenes
On/Off
Level Control
Color Control
Simple Metering
Diagnostics
Other clusters that are not mentioned above
Tuya Specific cluster
OTAU Cluster
Time Cluster
Green Power Cluster
found some info here too zigpy/zha-device-handlers#1313
The text was updated successfully, but these errors were encountered: