milo526 / homebridge-tuya-web

Hoobs and Homebridge plugin for Tuya devices using Home Assistant Tuya Web Api
MIT License
219 stars 95 forks source link

Fan w/ Light Dimmer #430

Closed derkaramma closed 2 years ago

derkaramma commented 2 years ago

I have a fan switch that also has a light dimmer. Am I able to add both functions to one switch in homebridge? I'm only getting the fan controls

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

milo526 commented 2 years ago

Please post the result of the steps under "How to check whether the api this library uses can control your device".

Without this it is hard for me to help you with regards to this specific issue.

derkaramma commented 2 years ago

I tried but I have no idea how to run that script im using mac and tried the replit site but its not working and keeps saying snatax error in my username and password. The fan shows up (the switch is a dual fan and light ) the lights are connected to the fan, i have another switch with just lights. I used to be able to control both aspectecs of the ceiling fan with one switch

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kolobus commented 2 years ago

Also got a ceiling fan with dimmable light, unfortunately, no signs of light in API. Maybe there is some other place to look for it?

'data': { 'online': True, 'speed': '1', 'speed_level': 6, 'state': 'true'}, 'dev_type': 'fan', 'ha_type': 'fan', 'icon': 'https://images.tuyaeu.com/smart/program_category_icon/fs.png', 'id': '...', 'name': 'Cabinet Fan'