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

New Device - A/C #207

Closed
OmegaKill opened this issue Jul 21, 2022 · 6 comments
Closed

New Device - A/C #207

OmegaKill opened this issue Jul 21, 2022 · 6 comments

Comments

@OmegaKill
Copy link

{
"result": {
"category": "kt",
"functions": [
{
"code": "switch",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "mode",
"dp_id": 5,
"type": "Enum",
"values": "{"range":["auto","cold","hot","wet","wind"]}"
},
{
"code": "temp_set",
"dp_id": 6,
"type": "Integer",
"values": "{"min":13,"scale":0,"unit":"℃","max":32,"step":1}"
},
{
"code": "windspeed",
"dp_id": 8,
"type": "Enum",
"values": "{"range":["1","2","3"]}"
},
{
"code": "c_f",
"type": "Enum",
"values": "{"range":["C","F"]}"
},
{
"code": "temp_set_f",
"dp_id": 18,
"type": "Integer",
"values": "{"min":55,"scale":0,"unit":"℉","max":90,"step":1}\t"
}
],
"status": [
{
"code": "switch",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "mode",
"dp_id": 5,
"type": "Enum",
"values": "{"range":["auto","cold","hot","wet","wind"]}"
},
{
"code": "temp_set",
"dp_id": 6,
"type": "Integer",
"values": "{"min":13,"scale":0,"unit":"℃","max":32,"step":1}"
},
{
"code": "windspeed",
"dp_id": 8,
"type": "Enum",
"values": "{"range":["1","2","3"]}"
},
{
"code": "c_f",
"dp_id": 10,
"type": "Enum",
"values": "{"range":["C","F"]}"
},
{
"code": "temp_set_f",
"dp_id": 18,
"type": "Integer",
"values": "{"min":55,"scale":0,"unit":"℉","max":90,"step":1}\t"
}
]
},
"success": true,
"t": 1658406587154,
"tid": "ceaf884008f011eda4f3322e56e3d437"

Home Assistant wrote the following in the logs:

Device matches kogan_glass_1_7l_kettle with quality of 17%. DPS: {'1': False, '4': 0, '5': '4', '6': 24, '8': '0', '10': False, '13': 0, '14': 0, '15': 0, '16': True, '17': False, '19': False, 'updated_at': 1658406144.9907923}

but its not a kettle.

If you need anything else please tell me.

Thanks

@make-all make-all added the new device Unsupported device label Jul 21, 2022
@make-all
Copy link
Owner

Some information about brand and model would help users to identify it when setting up.

@OmegaKill
Copy link
Author

The Device is called BE COOL BC14KL2101F
It's 14.000 BTU / 1.65kW
https://www.hornbach.at/mvc/article/article-detail/articleCode/10394240
The site is in german

make-all added a commit that referenced this issue Jul 24, 2022
@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release and removed new device Unsupported device unreleased Will be in next release labels Jul 24, 2022
@make-all
Copy link
Owner

Available in 0.18.1

@OmegaKill
Copy link
Author

So i tried it and in response but some functions are seemingly mapped wrong.

Drying in HomeAssistant is cooling on the machine
Cooling is Fan only
heating is drying
fan only is fan only that works

@make-all make-all added partially working Needs more work to complete and removed awaiting confirmation Wating for confirmation the issue is solved labels Jul 24, 2022
make-all added a commit that referenced this issue Jul 24, 2022
As the local protocol uses integer indexes, while the iot.tuya.com API docs use descriptive strings, the mapping was a guess. It seems the API docs are sorted alphabetically and not corresponding to the order of the indexes.

Issue #207
@make-all make-all added the unreleased Will be in next release label Jul 24, 2022
@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved and removed partially working Needs more work to complete unreleased Will be in next release labels Aug 1, 2022
@make-all
Copy link
Owner

make-all commented Aug 7, 2022

Remapped modes are released in 0.18.2

@OmegaKill
Copy link
Author

I tested it and everything seems to work now as expected
Thanks

@make-all make-all removed the awaiting confirmation Wating for confirmation the issue is solved label Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants