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

[Bug]: Arete® Two 12L Dehumidifier/Air Purifier not reporting status e.g. tank full #422

Open
2 of 3 tasks
CaptainKarma opened this issue Dec 12, 2024 · 4 comments
Open
2 of 3 tasks
Labels
bug Something isn't working master/next-release Fixed in master branch, Will be ready in the next release

Comments

@CaptainKarma
Copy link

LocalTuya Version

2024.12.1

Home Assistant Version

2024.12.2

Environment

  • Does the device work using the Home Assistant Tuya Cloud component?
  • Is this device connected to another local integration, including Home Assistant and any other tools?
  • The devices are within the same HA subnet, and they get discovered automatically when I add them

What happened?

The reporting for an Arete® Two 12L Dehumidifier/Air Purifier is not reporting when the tank is full.
I can look in Tuya developer cloud and see Error Codes reported;
Error Code 0 which seems to be On and running
Error Code 1 indicates an Error state of Tank is full and its stopped
Error Code 2 not entirely sure, I see it reporting every 28mins or so

But these are not pulled into HA(?) Attribute mode is always reported as Unknown, see below for what is reported

I dont know if any of this helps on Tuya dev cloud, under Standard Status Set it has;

switch | Boolean | "{true,false}"
dehumidify_set_value | Integer | { "unit": "%", "min": 35, "max": 70, "scale": 0, "step": 5 }
child_lock | Boolean | "{true,false}"
humidity_indoor | Integer | { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 }
countdown_set | Enum | { "range": [ "cancel", "1h", "2h", "3h" ] }
countdown_left | Integer | { "unit": "h", "min": 0, "max": 24, "scale": 0, "step": 1 }
fault | Bitmap | { "label": [ "tankfull", "defrost", "E1", "E2", "L2", "L3", "L4", "wet" ] }

Happy to provide more info, just let me know thanks

Steps to reproduce.

Working fine however not reporting status

Relevant log output

Reported as seen in HA;
humidifier.arete_r_two_12l_dehumidifier_air_purifier

min_humidity: 35
max_humidity: 70
available_modes: Continuous, Dehumidify, Drying
current_humidity: 83
humidity: 62
mode: unknown
raw_state: true
device_class: dehumidifier
icon: 
friendly_name: Arete® Two 12L Dehumidifier/Air Purifier 
supported_features: 1

Diagnostics information.

No response

@CaptainKarma CaptainKarma added the bug Something isn't working label Dec 12, 2024
@xZetsubou
Copy link
Owner

Post the Device Diagnostics

@CaptainKarma
Copy link
Author

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.12.3",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.13.0",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/London",
"os_name": "Linux",
"os_version": "6.6.63-haos",
"supervisor": "2024.11.4",
"host_os": "Home Assistant OS 14.0",
"docker_version": "27.2.0",
"chassis": "vm",
"run_as_root": true
},
"custom_components": {
"birthdays": {
"documentation": "https://github.com/Miicroo/ha-birthdays",
"version": "1.2.0",
"requirements": []
},
"sonoff": {
"documentation": "https://github.com/AlexxIT/SonoffLAN",
"version": "3.8.1",
"requirements": [
"pycryptodome>=3.6.6"
]
},
"tplink_router": {
"documentation": "https://github.com/AlexandrErohin/home-assistant-tplink-router",
"version": "v2.2.0",
"requirements": [
"tplinkrouterc6u==5.3.0"
]
},
"watchman": {
"documentation": "https://github.com/dummylabs/thewatchman",
"version": "0.6.5",
"requirements": [
"prettytable==3.12.0"
]
},
"robovac": {
"documentation": "https://github.com/codefoodpixels/robovac",
"version": "1.0.0",
"requirements": []
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "2.0.1",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"measureit": {
"documentation": "https://github.com/danieldotnl/ha-measureit",
"version": "0.5.0",
"requirements": [
"croniter==2.0.2"
]
},
"spook": {
"documentation": "https://spook.boo",
"version": "3.1.0",
"requirements": []
},
"playstation_network": {
"documentation": "https://github.com/JackJPowell/hass-psn",
"version": "v0.5.3",
"requirements": [
"PSNAWP-HA==2.1.2"
]
},
"lms_tts_notify": {
"documentation": "https://github.com/floris-b/lms_tts_notify/blob/master/README.md",
"version": "0.3.16",
"requirements": []
},
"browser_mod": {
"documentation": "https://github.com/thomasloven/hass-browser_mod/blob/master/README.md",
"version": "2.3.1",
"requirements": []
},
"fontawesome": {
"documentation": "https://github.com/thomasloven/hass-fontawesome",
"version": "2.2.3",
"requirements": []
},
"sun2": {
"documentation": "https://github.com/pnbruckner/ha-sun2/blob/3.3.5/README.md",
"version": "3.3.5",
"requirements": []
},
"feedparser": {
"documentation": "https://github.com/custom-components/feedparser/blob/master/README.md",
"version": "0.1.12",
"requirements": [
"feedparser==6.0.11"
]
},
"hubitat": {
"documentation": "https://github.com/jason0x43/hacs-hubitat",
"version": "0.9.39",
"requirements": []
},
"battery_notes": {
"documentation": "https://andrew-codechimp.github.io/HA-Battery-Notes/",
"version": "2.7.3",
"requirements": []
},
"adax": {
"documentation": "https://github.com/Danielhiversen/home_assistant_adax",
"version": "0.4.3",
"requirements": [
"adax"
]
},
"localtuya": {
"documentation": "https://github.com/xZetsubou/hass-localtuya/",
"version": "2024.12.1",
"requirements": []
},
"asusrouter": {
"documentation": "https://asusrouter.vaskivskyi.com",
"version": "0.34.1",
"requirements": [
"asusrouter==1.13.1"
]
},
"ocado": {
"documentation": "https://github.com/CaptainKarma/ha-ocado",
"version": "3.5.0",
"requirements": [
"beautifulsoup4==4.7.1",
"imapclient==2.3.1",
"mail-parser==3.9.3"
]
},
"spook_inverse": {
"documentation": "https://spook.boo",
"version": "3.1.0",
"requirements": []
},
"trakt": {
"documentation": "https://github.com/custom-components/sensor.trakt/blob/master/README.md",
"version": "3.0.0",
"requirements": [
"pytrakt==3.4.31"
]
},
"network_scanner": {
"documentation": "https://github.com/parvez/network_scanner",
"version": "1.0.7",
"requirements": [
"python-nmap"
]
}
},
"integration_manifest": {
"domain": "localtuya",
"name": "Local Tuya",
"codeowners": [],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/xZetsubou/hass-localtuya/",
"integration_type": "hub",
"iot_class": "local_push",
"issue_tracker": "https://github.com/xZetsubou/hass-localtuya/issues",
"requirements": [],
"version": "2024.12.1",
"is_built_in": false,
"overwrites_built_in": false
},
"setup_times": {
"null": {
"setup": 0.0018128310330212116
},
"01JBC7VHFC2YQWCRAVFPG03AG6": {
"wait_import_platforms": -9.06574215600267,
"wait_base_component": -0.10008444095728919,
"config_entry_setup": 9.182662155013531
}
},
"data": {
"device_config": {
"device_id": "bf675e88a747f522a5mwcm",
"dps_strings": [
"1 ( code: switch , value: True )",
"2 ( code: dehumidify_set_value , value: 60 )",
"4 ( code: mode , value: manual )",
"14 ( code: child_lock , value: False )",
"16 ( code: humidity_indoor , value: 61 )",
"17 ( code: countdown_set , value: cancel )",
"18 ( code: countdown_left , value: 0, cloud pull )",
"19 ( code: fault , value: 0 )",
"101 ( code: ontimer , value: cancel )"
],
"enable_debug": false,
"entities": [
{
"device_class": "dehumidifier",
"entity_category": "None",
"friendly_name": "",
"humidifier_available_modes": {
"continuous": "Continuous",
"dehumidify": "Dehumidify",
"drying": "Drying"
},
"humidifier_current_humidity_dp": "16",
"humidifier_mode_dp": "4",
"humidifier_set_humidity_dp": "2",
"icon": "",
"id": "1",
"max_humidity": 70,
"min_humidity": 35,
"platform": "humidifier"
},
{
"device_class": "humidity",
"entity_category": "None",
"friendly_name": "Humidity",
"icon": "",
"id": "16",
"platform": "sensor",
"state_class": "measurement"
},
{
"entity_category": "config",
"friendly_name": "Countdown",
"icon": "mdi:timer-cog-outline",
"id": "17",
"platform": "select",
"select_options": {
"10h": "10h",
"11h": "11h",
"12h": "12h",
"13h": "13h",
"14h": "14h",
"15h": "15h",
"16h": "16h",
"17h": "17h",
"18h": "18h",
"19h": "19h",
"1h": "1h",
"20h": "20h",
"21h": "21h",
"22h": "22h",
"23h": "23h",
"24h": "24h",
"2h": "2 Hours",
"3h": "3h",
"4h": "4 Hours",
"5h": "5h",
"6h": "6h",
"7h": "7h",
"8h": "8 Hours",
"9h": "9h",
"cancel": "Disable"
}
},
{
"entity_category": "diagnostic",
"friendly_name": "Timer Remaining",
"icon": "mdi:timer",
"id": "18",
"platform": "sensor",
"scaling": 1,
"unit_of_measurement": "min"
},
{
"device_class": "problem",
"entity_category": "diagnostic",
"friendly_name": "Fault",
"icon": "",
"id": "19",
"platform": "binary_sensor",
"state_on": "1"
}
],
"friendly_name": "Arete\u00ae Two 12L Dehumidifier/Air Purifier",
"host": "192.168.1.217",
"local_key": "PG|..ww)SCJ3WQ'9",
"model": "Arete\u00ae Two 12L Dehumidifier/Air Purifier",
"node_id": null,
"product_key": "zibqa9dutqyaxym2",
"protocol_version": "3.3"
},
"device_cloud_info": {
"active_time": 1728684774,
"biz_type": 18,
"category": "cs",
"create_time": 1722270105,
"icon": "smart/icon/bay1607951018151O5oo/fd2bcf808beea65f4efe4e8d253fe141.jpg",
"id": "bf675e88a747f522a5mwcm",
"ip": "9...1",
"lat": "",
"local_key": "PG|...Q'9",
"lon": "",
"model": "MeacoDryArete2-12L",
"name": "Arete\u00ae Two 12L Dehumidifier/Air Purifier",
"online": true,
"owner_id": "19950805",
"product_id": "zibqa9dutqyaxym2",
"product_name": "Arete\u00ae Two 12L Dehumidifier/Air Purifier",
"status": [
{
"code": "switch",
"value": true
},
{
"code": "dehumidify_set_value",
"value": 62
},
{
"code": "child_lock",
"value": false
},
{
"code": "humidity_indoor",
"value": 62
},
{
"code": "countdown_set",
"value": "cancel"
},
{
"code": "countdown_left",
"value": 0
},
{
"code": "fault",
"value": 0
}
],
"sub": false,
"time_zone": "+01:00",
"uid": "eu1...LDe",
"update_time": 1733944815,
"uuid": "189b29c0e284f29d",
"dps_data": {
"1": {
"code": "switch",
"custom_name": "",
"dp_id": 1,
"time": 1733733887523,
"type": "Boolean",
"value": true,
"values": "{"type": "bool"}",
"id": 1,
"accessMode": "rw"
},
"2": {
"code": "dehumidify_set_value",
"custom_name": "",
"dp_id": 2,
"time": 1733782292296,
"type": "Integer",
"value": 62,
"values": "{"type": "value", "max": 70, "min": 35, "scale": 0, "step": 5, "unit": "%"}",
"id": 2,
"accessMode": "rw"
},
"4": {
"code": "mode",
"custom_name": "",
"dp_id": 4,
"time": 1732364411578,
"type": "enum",
"value": "manual",
"id": 4,
"accessMode": "rw",
"values": "{"type": "enum", "range": ["manual", "laundry", "sleep", "purify"]}"
},
"14": {
"code": "child_lock",
"custom_name": "",
"dp_id": 14,
"time": 1732364410610,
"type": "Boolean",
"value": false,
"values": "{"type": "bool"}",
"id": 14,
"accessMode": "rw"
},
"16": {
"code": "humidity_indoor",
"custom_name": "",
"dp_id": 16,
"time": 1734102355324,
"type": "value",
"value": 62,
"id": 16,
"accessMode": "ro",
"values": "{"type": "value", "max": 100, "min": 0, "scale": 0, "step": 1, "unit": "%"}"
},
"17": {
"code": "countdown_set",
"custom_name": "",
"dp_id": 17,
"time": 1732364410915,
"type": "Enum",
"value": "cancel",
"values": "{"type": "enum", "range": ["cancel", "1h", "2h", "3h", "4h", "5h", "6h", "7h", "8h", "9h", "10h", "11h", "12h", "13h", "14h", "15h", "16h", "17h", "18h", "19h", "20h", "21h", "22h", "23h", "24h"]}",
"id": 17,
"accessMode": "rw"
},
"18": {
"code": "countdown_left",
"custom_name": "",
"dp_id": 18,
"time": 1722270105424,
"type": "value",
"value": 0,
"id": 18,
"accessMode": "ro",
"values": "{"type": "value", "max": 24, "min": 0, "scale": 0, "step": 1, "unit": "h"}"
},
"19": {
"code": "fault",
"custom_name": "",
"dp_id": 19,
"time": 1734101463062,
"type": "bitmap",
"value": 0,
"id": 19,
"accessMode": "ro",
"values": "{"type": "bitmap", "label": ["tankfull", "defrost", "E1", "E2", "L2", "L3", "L4", "wet"], "maxlen": 8}"
},
"101": {
"code": "ontimer",
"custom_name": "",
"dp_id": 101,
"time": 1732364410937,
"type": "enum",
"value": "cancel",
"id": 101,
"accessMode": "rw",
"values": "{"type": "enum", "range": ["cancel", "1h", "2h", "3h", "4h", "5h", "6h", "7h", "8h", "9h", "10h", "11h", "12h", "13h", "14h", "15h", "16h", "17h", "18h", "19h", "20h", "21h", "22h", "23h", "24h"]}"
}
}
}
}
}

Sure thing, thanks

@CaptainKarma
Copy link
Author

Hi, actually I just noticed that binary_sensor.arete_r_two_12l_dehumidifier_air_purifier_fault changes from OK to Problem so I can use that for automations. Unless there is any value in tweaking things you can close out this Bug, apologises

@xZetsubou
Copy link
Owner

There were kinda an issue for auto-configure it did not configure your device modes correctly I will fix it so either you re-add the device after next update or do it manually it's simple

Go to: HA -> Settings -> Integrations -> LocalTuya -> Configure -> Reconfigure an existing device -> choose your dehumidifier click submit to the humdifier entity configuration step.

In available mode box use these values

manual: Manual
laundry: Laundry
sleep: Sleep
purify: Purify

The fault technically works as it should tho it's possible to know each code error what related however I'm not sure of that possible binary sensors only has 2 values true/false which we are using 0=OK/1=Problem e.g.

1 tankfull
2 defrost
3 E1
4 E2
5 L2
6 L3
7 L4
8 wet

the OK should be 0.

@xZetsubou xZetsubou added the master/next-release Fixed in master branch, Will be ready in the next release label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working master/next-release Fixed in master branch, Will be ready in the next release
Projects
None yet
Development

No branches or pull requests

2 participants