Comments (11)
Thanks for decoding the dps. I think the "anion" might be the Ionizer control.
from tuya-local.
I don't have any contacts at Tuya, but I'm not sure it is something Tuya can fix, as they mostly sell their Wi-Fi modules and cloud service to other manufacturers to integrate into products. They do have some reference designs, but I'm not sure dehumidifiers are among them.
from tuya-local.
Since this first attempt I can no longer try to add the device. I've tried reseting it and re-registering to Tuya cloud but I get the same error. The Smart Life app does still work however:
2021-07-20 17:45:15 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3.
2021-07-20 17:45:15 DEBUG (SyncWorker_9) [custom_components.tuya_local.device] Refreshing device state for Test.
2021-07-20 17:45:16 DEBUG (SyncWorker_9) [custom_components.tuya_local.device] Retrying after exception 'dps'
2021-07-20 17:45:16 INFO (SyncWorker_9) [custom_components.tuya_local.device] Setting protocol version for Test to 3.1.
2021-07-20 17:45:17 DEBUG (SyncWorker_9) [custom_components.tuya_local.device] Retrying after exception 'dps'
2021-07-20 17:45:17 INFO (SyncWorker_9) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3.
2021-07-20 17:45:17 DEBUG (SyncWorker_9) [custom_components.tuya_local.device] Retrying after exception 'dps'
2021-07-20 17:45:17 INFO (SyncWorker_9) [custom_components.tuya_local.device] Setting protocol version for Test to 3.1.
2021-07-20 17:45:18 DEBUG (SyncWorker_9) [custom_components.tuya_local.device] Retrying after exception 'dps'
2021-07-20 17:45:18 ERROR (SyncWorker_9) [custom_components.tuya_local.device] Failed to refresh device state for Test.
2021-07-20 17:45:18 INFO (SyncWorker_9) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3.
from tuya-local.
When you reset and re-registered to the cloud, the local key probably changed. You will have to repeat the steps to get the key again.
It seems the CD20PRO and CD25PRO are not compatible, so this will need to be a new config.
from tuya-local.
I've got the new key and have the same issue - anyway I don't think it's directly related to tuya-local so I'll look into that seperatly.
What do you need to add another device? The mapping for the dps?
Thanks
from tuya-local.
I've edited electriq_dehumidifier.yaml
and it pretty much works with the exception of the Humidity Indicator light which doesn't appear to be showing in Home Assistant
dps are as follows:
1: Main Power (true, false)
2: Mode (high, low, auto, fan)
3: Current Humidity
4: Setpoint
5: anion ?? (true, false)
10: UV (true, false)
101: Humidity Indicator (true, false)
102: Oscilattion (0_90, 45, 90)
103: Current Temperature
One thing worth noting, this model doesn't appear to have an Ionizer, however its possible to turn it on and off via tuya.com but it doesn't show in the Smart Life app. It's a mystery.
from tuya-local.
Interestingly, your first logs were missing "4", but you've left it in the config. Is this only sent when the device is on?
Perhaps I need to add advice to turn devices on before configuring them, if they are not sending all the DPS out when off, as the detection may miss them.
from tuya-local.
I didn't spot that, It doesn't seem like it needs to be switched on to have a set point, this is from this morning:
2021-07-21 09:05:27 DEBUG (SyncWorker_5) [custom_components.tuya_local.device] Electriq Dehumidifier CD25PRO-LE-V2 refreshed device state: {"devId": "011488782cf4323febd2", "dps": {"1": false, "2": "high", "3": 56, "4": 70, "5": false, "10": false, "101": true, "102": "90", "103": 27, "updated_at": 1626854727.613766}}
I can go through the process again if it helps?
from tuya-local.
The changes are merged in 0.8.9. As the config file was renamed to avoid conflict with the CD25PRO, you may need to go through the setup process again.
from tuya-local.
It works great, thanks!
I think ignoring the Ioniser is fine. I see a button on the PCB but not on the physcial unit itself, so I don't think it exists.
from tuya-local.
One other observation, these dehumidifers don't seem to report the tank full status to the Tuya API at all. If you ever get chance to mention it to Tuya, please do
Thanks again
from tuya-local.
Related Issues (20)
- Request support for Tesla Air Purifier S300
- Reload Config Entry Makes device unavailable HOT 1
- `TypeError: object Future can't be used in 'await' expression` HOT 1
- Request support for Sanden Wifi Controller to control Sanden GAU-A45HPD heat pump unit HOT 1
- New cloud config flow: AttributeError: 'CustomerDevice' object has no attribute 'model' HOT 2
- Request support for Wood's WDD90 dehumidifier
- Request support for Termostat SENSUS LC3 HOT 4
- Request support for ev charger from aliexpress
- Devices go offline after updating integration to 2024.5.2 HOT 3
- Warning massage after update. HOT 1
- Request support for ev charger HOT 1
- Can't set thermostat temp on 2014.5.* HOT 2
- Failed to unload - reload config entry HOT 3
- Holman WX1 Tap Timer won't Add to configuration HOT 4
- Holman WX1 Tap Timer won't Add to configuration HOT 6
- Issue with HCT-626 valves not working HOT 2
- "cloud mode" hub appears in the device list but is absent from the hub list HOT 1
- Identical devices get detected as different types HOT 14
- Cat litter box wrong Device type on add new device HOT 2
- Request support for [Cat litter box (off-brand)] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-local.