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

May be a bug or an unsupported device #1016

Open
danielTinkiel opened this issue Jan 22, 2025 · 0 comments
Open

May be a bug or an unsupported device #1016

danielTinkiel opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@danielTinkiel
Copy link

Describe the bugI have a wifi Thermostat controlling the temperature of a battery shelter. The device is MHCOZY TYTE-01. The Android Tuya app discovered with no problems and it is fully controllable via Tuya Android. In Home Assistant with the Tuya integration I can see the temperature and the relay status, including controlling it. Tuya integration only presents 2 entities but it does not present one of the most important ones, as the temperature set point. As the thermostat is locate in a quite difficult access location, it is very important for me to have remote access via Home Assistant to that device.

A clear and concise description of what the bug is.

Expected behavior I would like to see and control the Temperature Set point and the mode (Heating/cooling ) as minimum. It would also be nice to have access via HA to the other settings of the device

A clear and concise description of what you expected to happen.

Diagnostics for integrations and devices

You can download the diagnostics text file by clicking the "Download diagnostics" button in (Configuration -> Integrations -> Tuya Integration -> lower right button), please check the image below:

image

Screenshots

Image

Image

Image

If applicable, add screenshots to help explain your problem.

Home Assistant Version

  • e.g. 2021.5.1
  • Core
    2025.1.3
    Supervisor
    2024.12.3
    Operating System
    14.1
    Frontend
    20250109.0

Device info (please complete the following information, which can be found in log):

like this:
{
"active_time": 1623229189,
"biz_type": 18,
"category": "cz",
"create_time": 1560491945,
"icon": "smart/product_icon/cz.png",
"id": "aaaaaaaaaaa",
"ip": "xxxxxxxxxxxxxxxx",
"lat": "xxxxxxxxxx",
"local_key": "xxxxxxxxxxxxx",
"lon": "xxxxxxx",
"model": "",
"name": "Living Room Socket",
"online": false,
"owner_id": "34794909",
"product_id": "yfemiswbgjhddhcf",
"product_name": "Switch Product",
"status": [
{
"code": "switch",
"value": false
},
{
"code": "countdown_1",
"value": 0
},
{
"code": "cur_current",
"value": 0
},
{
"code": "cur_power",
"value": 0
},
{
"code": "cur_voltage",
"value": 2343
}
],
"sub": false,
"time_zone": "+08:00",
"uid": "xxxxxxxxxxxxxxxxxxx",
"update_time": 1625101929,
"uuid": "xxxxxxxxxxxxxxxxxx"
}

Device specifications (please complete the following information, which can be found in log):

Same device's id, like this:
[2021-07-01 10:18:01,351] [tuya-openapi] Request: method = GET, url = https://openapi.tuyacn.com/v1.0/devices/aaaaaaaaaaa/specifications, params = None, body = None, headers = {'client_id': 'xxxxxxxxxxxx', 'sign': 'xxxxxxxxxxxx', 'sign_method': 'HMAC-SHA256', 'access_token': 'xxxxxxxxxxxxxxxx', 't': '1625105881351', 'lang': 'en'}
2021-07-01 10:18:01 DEBUG (SyncWorker_1) [tuya iot] Response: {
"result": {
"category": "cz",
"functions": [
{
"code": "countdown_1",
"type": "Integer",
"values": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"
},
{
"code": "switch",
"type": "Boolean",
"values": "{}"
}
],
"status": [
{
"code": "cur_voltage",
"type": "Integer",
"values": "{"unit":"V","min":0,"max":2500,"scale":0,"step":1}"
},
{
"code": "cur_current",
"type": "Integer",
"values": "{"unit":"mA","min":0,"max":30000,"scale":0,"step":1}"
},
{
"code": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "cur_power",
"type": "Integer",
"values": "{"unit":"W","min":0,"max":50000,"scale":0,"step":1}"
},
{
"code": "countdown_1",
"type": "Integer",
"values": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"
}
]
},
"success": true,
"t": 1625105881348
}

Additional context

Add any other context or logs about the problem here.

@danielTinkiel danielTinkiel added the bug Something isn't working label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant