Open JohanBraeken opened 3 years ago
Was seeing my dehumidifier as a listed device on 1.3.2 but after upgrading it to v1.4.0 and then deleting/re-adding the integration (as was required), the device no longer appears. :(
I'd really like to see this added as the tank is small and I'd love to get some kind of notification when it is full.
I've updated the Tuya integration to v1.4.1 and I noticed the device shows up in the logs. I don't know if this is related to this upgrade or due to changes at the Tuya side.
result": { "category": "cs", "functions": [ { "code": "swing", "type": "Boolean", "values": "{}" }, { "code": "child_lock", "type": "Boolean", "values": "{}" }, { "code": "fan_speed_enum", "type": "Enum", "values": "{\"range\":[\"low\" ,\"high\"]}" }, { "code": "dehumidify_set_value", "type": "Integer", "values": "{\"unit\":\"%\",\"min\":35,\"max\":80,\"scale\":0,\"step\":5}" }, { "code": "switch", "type": "Boolean", "values": "{}" } ], "status": [ { "code": "temp_indoor", "type": "Integer", "values": "{\"unit\":\"℃\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}" }, { "code": "swing", "type": "Boolean", "values": "{}" }, { "code": "child_lock", "type": "Boolean", "values": "{}" }, { "code": "fan_speed_enum", "type": "Enum", "values": "{\"range\":[\"low\" ,\"high\"]}" }, { "code": "dehumidify_set_value", "type": "Integer", "values": "{\"unit\":\"%\",\"min\":35,\"max\":80,\"scale\":0,\"step\":5}" }, { "code": "humidity_indoor", "type": "Integer", "values": "{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}" }, { "code": "switch", "type": "Boolean", "values": "{}" } ] }, "success": true, "t": 1627328558625 }
Describe the bug Dehumidifier device, available in https://iot.tuya.com/ appears not available for HomeAssistant.
Expected behavior Dehumidifier device is visible and controllable directly through the Tuya Smart app, SmartLife app, and https://iot.tuya.com/, but this device does not show up in the debug logs of this integration as enabled per instructions here https://github.com/tuya/tuya-home-assistant/wiki/How-to-get-the-log
Home Assistant Version
Device info (please complete the following information, which can be found in log):
2021-07-20 23:57:01 DEBUG (SyncWorker_3) [tuya iot] Response: { "result": { "access_token": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "expire_time": 7200, "platform_url": "https://openapi.tuyaeu.com", "refresh_token": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", "uid": "eu1625918774038GAwso" }, "success": true, "t": 1626818221552 }
Device specifications (please complete the following information, which can be found in log):
Please see https://developer.tuya.com/en/docs/iot/f?id=K9gf45ts0b8lz The devicetype can also be found under "Small Home Appliances", "Dehumidifier (cs)"
In the IoT platform the device is visible as: Device ID: 0346507410521cebe03b Product: 宝士家用除湿机
The following state is displayed: [ { "code": "swing", "value": true }, { "code": "child_lock", "value": false }, { "code": "fan_speed_enum", "value": "low" }, { "code": "dehumidify_set_value", "value": 60 }, { "code": "switch", "value": true } ]
Additional context The actual device vendor/brand is Eurom DryBest 30 WiFi. It appears the value returned for the fan speed is opposite of the actual state.