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
SenseME Fan plugin support issues #99
Comments
|
Note that with the new changeMinMax support, you could use it for these lights and fans to set the min and max appropriately (0-7 for fan speed and 0-16 for light brightness) to avoid having to divide and have rounding errors. |
Ok, totally experimental supported added to the upcoming release. May be a total pooch screw, but we'll see. Unfortunately I don't have any way to test my changes to see if it will work, but we'll figure it out hopefully in a few releases at most. |
To clarify, that's for the speed/light brightness. I'm only going to tackle one issue at a time to prevent getting into a loop where one thing is causing errors in another thing. |
Thanks! I'll try it out... |
* **NOTE** As stated earlier, the entire HomeKit engine is being optimized and rewritten for various reasons. There is a new plugin configuration option that allows you to revert to the previous method if the new method is causing problem, but this is on a release-by-release basis, meaning that only changes in **this** release will roll back to using the old methods, the next release will not be able to roll back anything from this release. The functions impacted will be noted in the release notes as 'Library Change'. Please report any issues that are caused by the new library that are resolved by returning to the old methods. Each revision will re-enable this option automatically if it gets turned off. * **NOTE** All minor revisions can still be rolled back for Library Changes until the next full beta version is released * Removed all functions that were moved to the new package (Library Changes) made in the last three releases, they are now a permanent part of the plugin * Added support to independently change heat/cool set points in HomeKit and have it translated properly to Indigo ([Issue #97](#97)) * Added experimental support for SenseMe fan/light level custom min/max pass-through ([Issue #99](#99)) * Added debug checkbox to advanced server parameters to enable debug logging in the Homebridge server * Fixed bug in device actions where the device ID could not be acted upon, resulting in 'invalid literal' messages when trying to 'Delete', 'Delete and Hide' or 'Delete and Exclude' as reported on the forum [thread by spiv](http://forums.indigodomo.com/viewtopic.php?p=158509#p158509) and [thread by srkindard](http://forums.indigodomo.com/viewtopic.php?p=158520#p158520), this was neglected in the move to change how the plugin references devices in the UI in preparation for complications * Updated Homebridge-Indigo2 to 0.2.3 * [Issue #99](#99) partially addressed * [Issue #97](#97) resolved (pending testing by end users)
I can turn the fan light on/off successfully, but it no longer shows as a dimmer in HomeKit (just on/off control), so I can't adjust brightness. |
Aww, crap, I see what I didn't do when I rewrote that function. See, this is why I am only keeping it to a couple of options. I'll fix that for a new release. |
Fan will be the same, by the way. I'll roll up a new release after I review your other issue. |
I think if this keeps going back and forth like this it would be easier to just get on your system and make the plugin changes until it works, it took 30 seconds to fix the problem and 20 minutes to prepare the release, upload it and commit it and that will make getting this to work an all day affair. |
Lots of errors.. Happy to schedule a time to screen share. Upgrading plugin HomeKit Bridge to newer version 0.23.1 (previous version moved to trash) For object id 467591061 alias 'Family Room Ceiling Fan' For object id 733588025 alias 'Master Bedroom Ceiling Fan' For object id 1514796197 alias 'Office Fan' HomeKit Bridge Error Exception in homekit.special_SenseMeLightLevel line 2261: global name 'obj' is not defined For object id 467591061 alias 'Family Room Ceiling Fan' For object id 467591061 alias 'Family Room Ceiling Fan' For object id 467591061 alias 'Family Room Ceiling Fan' For object id 467591061 alias 'Family Room Ceiling Fan' For object id 467591061 alias 'Family Room Ceiling Fan' For object id 467591061 alias 'Family Room Ceiling Fan' For object id 467591061 alias 'Family Room Ceiling Fan' For object id 467591061 alias 'Family Room Ceiling Fan' |
Just tested 0.23.1 (I have a fan without a light, so only tested fan). Slider is back in Home app, but it doesn't allow adjustment of fan speed (any setting other than off just turns fan on to previously selected speed). If I change the fan speed using the physical SenseMe (Haiku) wall controller, the Home app slider value changes, but not in a scaled way. That is, a fan speed of 1 shows as 1%, 2 as 2%, 3 as 3%, and so on. |
Not seeing those errors on my end, FWIW. |
Yea, I think with a few exceptions I'm not going to do any further development on devices I don't have, it's just too frustrating to try to figure it out one revision at a time because it's like throwing darts and hoping it sticks. Obviously this is one of those exceptions, and one of those darts because that error would only apply to someone with a SenseMe fan. |
No argument here. :-) |
Well, I'll work with Webdeck and get his stuff working and that should hopefully get yours fully operational too. |
Fan and light control fully operational in the next release (coded live with Webdeck). I'll work on motion sensors and the other stuff at a later date. |
* Final fixes for SenseMe fan/light support ([Issue #97](#97)) * Adjusted acceptable value range on Heat and Cooling set points to allow for wider changes ([Issue #97](#97)) * Added automatic server restart if the Homebridge debug option is changed * Removed Simulated Device Dump from plugin actions (still remains in device actions) in Advanced Plugin Actions menu since the recent changes have rendered that somewhat inoperable * Removed 'use new library' option from plugin config until needed again * Removed 'performance options' from plugin menu as it is no longer needed * Removed 'development testing' from plugin menu in preparation for release * Changed Homebridge debug checkbox in the server advanced options to a combobox that will allow the user to debug Homebridge-Indigo, Homebridge server, neither or both to allow for a full comprehensive debug if there are issues that require seeing what Homebridge is doing * Changed server device re-caching to only happen when the included devices or actions are changed in a server rather than on any properly or attribute change * [Issue #99](#99) resolved * [Issue #97](#97) resolved
I see from the thread that you dont have a Haiku fan, and aligning the plugin to work with them must have been a PITA. But, I just wanted to say thanks for suffering through it. I just bought two of them, and the simplicity of having the control in the Home app with everything else is a big relief on the less tech savvy in my house. Thanks again. |
The plugin does support the fan now, we got Webdeck's fan working fine. |
Fan light "Office Ceiling Fan" currently on. Tap to turn off in HomeKit. Light turns off, but HomeKit shows it as off and then immediately back on. Tap to turn off in HomeKit again, spins until times out.
homebridge.log:
The text was updated successfully, but these errors were encountered: