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

Request for support new device (humidifier Kyvol EA200) #354

Closed
Pokemowka25 opened this issue Jan 20, 2023 · 2 comments
Closed

Request for support new device (humidifier Kyvol EA200) #354

Pokemowka25 opened this issue Jan 20, 2023 · 2 comments

Comments

@Pokemowka25
Copy link

Hello!
Thanks for very good project!
Could you add new humidifier to support?

Device: Himidifier
Model: Kyvol EA200(Wi-Fi)

Device Specification:
{
"result": {
"category": "jsq",
"functions": [
{
"code": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "level",
"type": "Enum",
"values": "{"range":["level_1","level_2","level_3","level_4","level_5","level_6","level_7","level_8","level_9","level_10","level_11","level_12","level_13","level_14","level_15","level_16","level_17","level_18","level_19","level_20"]}"
}
],
"status": [
{
"code": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "fault",
"type": "Bitmap",
"values": "{"label":["lack_water"],"maxlen":1}"
},
{
"code": "level",
"type": "Enum",
"values": "{"range":["level_1","level_2","level_3","level_4","level_5","level_6","level_7","level_8","level_9","level_10","level_11","level_12","level_13","level_14","level_15","level_16","level_17","level_18","level_19","level_20"]}"
}
]
},

@make-all make-all added the new device Unsupported device label Jan 20, 2023
@make-all
Copy link
Owner

make-all commented Jan 20, 2023

Unfortunately there is not enough detail in the info above to add local protocol support. Where you got that info from, there are some other functions which return slightly different info. One near the end of the list (last function in second-last subcategory in last group of functions is the one that has the info we need (see the README.md for details). And since the API Explorer is only showing two dps which seem to be defining just a fan, the local dps list from the HA log message you get when trying to add the unsupported device will also confirm whether other info is potentially available to be able to simulate a humidifier device as well as a fan.

@make-all make-all added the awaiting feedback Needs more information label Jan 20, 2023
@Pokemowka25
Copy link
Author

I got this information from tuya api explorer.
This device is ultrasonic humidifier. Like this
Get device specification attribute:
{
"result": {
"category": "jsq",
"functions": [
{
"code": "switch",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "level",
"dp_id": 23,
"type": "Enum",
"values": "{"range":["level_1","level_2","level_3","level_4","level_5","level_6","level_7","level_8","level_9","level_10","level_11","level_12","level_13","level_14","level_15","level_16","level_17","level_18","level_19","level_20"]}"
}
],
"status": [
{
"code": "switch",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "fault",
"dp_id": 22,
"type": "Bitmap",
"values": "{"label":["lack_water"],"maxlen":1}"
},
{
"code": "level",
"dp_id": 23,
"type": "Enum",
"values": "{"range":["level_1","level_2","level_3","level_4","level_5","level_6","level_7","level_8","level_9","level_10","level_11","level_12","level_13","level_14","level_15","level_16","level_17","level_18","level_19","level_20"]}"
}
]
},

As i understand, DP 1 is On/Off, DP 23 is Spray speed, DP 22 is Low water message

@make-all make-all removed the awaiting feedback Needs more information label Jan 21, 2023
make-all added a commit that referenced this issue Jan 21, 2023
@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release and removed awaiting confirmation Wating for confirmation the issue is solved new device Unsupported device unreleased Will be in next release labels Jan 21, 2023
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