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

API Response for H7102 Smart Tower Fan #48

Open
chris1601 opened this issue Jan 24, 2025 · 2 comments
Open

API Response for H7102 Smart Tower Fan #48

chris1601 opened this issue Jan 24, 2025 · 2 comments

Comments

@chris1601
Copy link

chris1601 commented Jan 24, 2025

{"code":200,"message":"success","data":[{"sku":"H7102","device":"xx:xx:xx:xx:xx:xx:xx:xx","deviceName":"Smart Tower Fan","type":"devices.types.fan","capabilities":[{"type":"devices.capabilities.on_off","instance":"powerSwitch","parameters":{"dataType":"ENUM","options":[{"name":"on","value":1},{"name":"off","value":0}]}},{"type":"devices.capabilities.toggle","instance":"oscillationToggle","parameters":{"dataType":"ENUM","options":[{"name":"on","value":1},{"name":"off","value":0}]}},{"type":"devices.capabilities.work_mode","instance":"workMode","parameters":{"dataType":"STRUCT","fields":[{"fieldName":"workMode","dataType":"ENUM","options":[{"name":"Normal","value":1},{"name":"Custom","value":2},{"name":"Auto","value":3},{"name":"Sleep","value":5},{"name":"Nature","value":6}],"required":true},{"fieldName":"modeValue","dataType":"ENUM","options":[{"name":"Normal","options":[{"value":1},{"value":2},{"value":3},{"value":4},{"value":5},{"value":6},{"value":7},{"value":8}]},{"defaultValue":0,"name":"Custom"},{"defaultValue":0,"name":"Auto"},{"defaultValue":0,"name":"Sleep"},{"defaultValue":0,"name":"Nature"}],"required":true}]}}]}]}

@chris1601
Copy link
Author

chris1601 commented Jan 24, 2025

It would be great to incorporate a slider or setting for the "normal option" values 1-8 which controls the fan speed.

Edit: on/off don't work. Oscillating works fine

Thanks for your great efforts

cheers Chris

@chris1601
Copy link
Author

This is what I get when I try to turn on/off the fan;

Logger: homeassistant.components.websocket_api.http.connection
Quelle: components/websocket_api/commands.py:287
Integration: Home Assistant WebSocket API (Dokumentation, Probleme)
Erstmals aufgetreten: 07:27:43 (2 Vorkommnisse)
Zuletzt protokolliert: 07:27:51

[140199086881904] Entity fan.smart_tower_fan does not support action fan.turn_on
[140199086881904] Entity fan.smart_tower_fan does not support action fan.turn_off

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

1 participant