-
Notifications
You must be signed in to change notification settings - Fork 38
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
Dimmer Switch #120
Comments
Thanks for the issue @wspencer24 ! Can you provide the version + data dump to help troubleshoot this issue? Supporting new models: https://github.com/jdeath/Hubspace-Homeassistant?tab=readme-ov-file#support-for-a-new-model I forgot I had previously addressed one of these, model HPDA311CWB. I wonder if I should update it so it looks at the states, and if brightness is available, to treat it as a light instead of a switch. |
I also have this problem with dimmer switch model HPDA110NWBP... I notice that they show up as "TBD" in the dumps for some reason. Versions: |
Can yall try the pre-release, dev-aiohubspace, and see if it solves the issue? As for TBD, thats what Hubspace returns in their API. The pre-release should fix it and show |
Thanks for working on this! I got the pre-release installed and now my dimmer switches work! (on/off and dimming) However, my non-dimmers are no longer working as expected. If I physically turn the switch on, I can turn them off using Home Assistant but their status doesn't update. Switches No Longer Working Dump: Thanks again! |
Did some more testing with my non-dimmer switches... The switch state seems to be stuck on in Home Assistant... If the switch is on and I want to turn it off, the toggle on my dashboard works as expected but the state flips back to on after a few seconds... If the switch is off and I want to turn in on, I can't because the state shows as on in my dashboard. However, I noticed that if I quickly double tap the toggle off->on, I can get the lights to turn on. |
Let me take a look into that. I think I messed up the update code in the connector |
Yup I did something funny with the update code. However waiting 30s for it to update felt like an eternity so I will update the configuration to allow a user to specify the polling interval. Ill let you know when its ready! |
Should be good to try it out now. It now supports modifying Hubspace polling time |
I reinstalled the integration and was able to see the "polling time" configuration. Unfortunately none of my switches work on this version. All my switches are currently off (lights off) but they show up as on in my home assistant dashboard. Toggling them to off in my dashboard does nothing(lights remains off). After a few seconds the dashboard reverts the toggles back to on (lights remain off). Here is a screen recording of this behavior: If I rapidly click the toggle on my dashboard twice (off->on) then the lights will actually turn on. The switches show the correct status in the Hubspace app. Apologies if I'm not explaining this well... I can try to get you a video of my Home Assistant dashboard and what is actually happening with the switches/lights if that would help? |
You did a fine job describing it. It sounds like the correct states are being sent as it turns on, but maybe we are processing them incorrectly for states to always show as On in HA. Let me try to reproduce this with a test. Update: Test found an issue with pub / sub so going to work on that. |
I managed to break 100% of my tests and I think its because pub / sub is working properly now. With that said, its deployed onto my dev instance and it continues to control my lights + fan. Can you download the latest and see if the switches now update for you? |
I'm still seeing the same behavior. Here is another recording showing my Hubspace switches(left) and some Hue bulbs(right) for comparison. To make sure this wasn't just an issue with my network or my HA deployment, I reverted back to v3.3.0. I confirmed this put me back to where I was at before I started working with you on this issue on your pre-release.... My non-dimmer switches work perfectly, but my switches with dimmers do not: The polling also works fine on v3.3.0 for ALL of my switches... If I hit my wall switches and wait the 30 second polling interval, the state is updated correctly. |
Ill look into this a bit more throughout the week. I will see what else I notice between the two sending and receiving states |
Sounds good. Thanks again! I pulled down your aiohubspace repo and I should also have some time to do some tinkering this week. I'll let you know if I find anything interesting! |
I'm having the same issue with my dimmer switch. I see the same things your seeing. Let me know if I can help test anything out for you. |
@iclayTM3 Can you pull the latest version of dev-aiohubspace and try again? I believe this issue has been resolved. |
Just pulled it now. It seems to be better than it was before, but it's acting really slow. I wonder if Hubspace is having some issues today. It seems to be slow in their app as well. Maybe I'll try again over the next few days and see what I see. Thanks for all your work on this! |
Working really well today. Thanks again for your effort in fixing this! |
@iclayTM3 Awesome, thanks for the feedback! I believe I have finalized the dev tag if you can pull it once more and validate that everything is still working. Thanks for your help with the testing! |
Just did. It's all working great! Thank you again! |
Fixed with #121 |
Adds dimmer switch as regular switch, and on off does not work
The text was updated successfully, but these errors were encountered: