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
tuya component for climate use gateway #24570
Comments
I'm not responsible for their API, but I can make assumptions. {
"header": {
"Content-Type": "application/json",
"name": "Discovery",
"namespace": "discovery",
"payloadVersion": 1
},
"payload": {
"accessToken": "[your access token]",
}
} to Also try to POST to |
thanks for your reply. But this is not correct,because i use a gateway, there have 5 air conditioning connect to it. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I use air conditioning gateway, here are five air conditioning controller, tuya component can only find the first air conditioning controller, and conditioning conroller state is correct, but can't control it.
Please tell me how to read all the air conditioning, thank you
https://www.home-assistant.io/components/tuya/
my post :
{
"header": {
"name": "5",
"namespace": "discovery"
},
"payload": {
"accessToken": "AYhay1550826341565mSS5Kotq4BYpisq",
}
response:
{
"payload": {
"devices": [
{
"data": {
"mode": "cold",
"current_temperature": 0,
"min_temper": 0,
"temperature": 25,
"max_temper": 50,
"online": true,
"state": "false",
"support_mode": [
"cold",
"hot",
"wind",
"auto"
],
"temp_unit": "CELSIUS"
},
"name": "空调组",
"icon": "https://images.tuyacn.com/smart/icon/15470340230n9xlqqraae_0.png",
"id": "20858526807d3a76822f",
"dev_type": "climate",
"ha_type": "climate"
}
],
"scenes": []
},
"header": {
"code": "SUCCESS",
"payloadVersion": 1
}
}
The text was updated successfully, but these errors were encountered: