tonesto7 / homebridge-hubitat-tonesto7

Hubitat Homebridge Plugin
107 stars 34 forks source link

Homekit Window Shade Positioning #201

Closed RadDip closed 12 months ago

RadDip commented 1 year ago

Collect Device Debug Data

MetaData: DisplayName: Bedroom Left Shade BaseName: Generic Z-Wave Shade DeviceID: 139 Status: ACTIVE Manufacturer: Unknown Model: Generic Z-Wave Shade DeviceNetworkId: 15 LastActivity: 2023-08-28 11:53:43+0000

Attributes: • battery: 100 (Allowed) • position: 44 (Filtered) • switch: on (Allowed) • windowShade: partially open (Allowed)

Capabilities: • Actuator (Allowed) • Battery (Allowed) • Configuration (Allowed) • Refresh (Allowed) • Switch (Allowed) • WindowShade (Allowed)

Commands: • close (Allowed) • configure (Filtered) • off (Allowed) • on (Allowed) • open (Allowed) • refresh (Filtered) • setPosition (Allowed) • startPositionChange (Filtered) • stopPositionChange (Filtered)

Event History: • 2023-08-28 07:18:36.722 | [battery] | (100 %) • 2023-08-28 07:18:36.78 | [windowShade] | (opening) • 2023-08-28 07:18:36.875 | [command-setPosition] | (null) • 2023-08-28 07:18:36.978 | [windowShade] | (partially open) • 2023-08-28 07:18:37.014 | [windowShade] | (opening) • 2023-08-28 07:18:37.09 | [command-setPosition] | (null) • 2023-08-28 07:18:37.178 | [battery] | (100 %) • 2023-08-28 07:18:37.554 | [command-setPosition] | (null) • 2023-08-28 07:18:37.694 | [windowShade] | (partially open) • 2023-08-28 07:18:37.861 | [battery] | (100 %) • 2023-08-28 07:18:37.926 | [windowShade] | (opening) • 2023-08-28 07:18:37.962 | [command-setPosition] | (null) • 2023-08-28 07:18:38.07 | [windowShade] | (partially open) • 2023-08-28 07:18:38.27 | [battery] | (100 %) • 2023-08-28 07:18:43.569 | [position] | (44 %) • 2023-08-28 07:30:00.248 | [windowShade] | (opening) • 2023-08-28 07:30:00.392 | [command-setPosition] | (null) • 2023-08-28 07:30:01.978 | [windowShade] | (partially open) • 2023-08-28 07:30:02.063 | [battery] | (100 %) • 2023-08-28 07:53:43.978 | [battery] | (100 %)

Issue Description

Also on iOS 16.6. Rebooted all homekit hubs, hubitat hub and hoobs hub several times.

Screenshot 2023-08-28 at 8 32 47 AM Screenshot 2023-08-28 at 8 32 47 AM
ppkhoa commented 1 year ago

I encounter the same issue, same error message in the logs about undefined position value. This started happening after updating to plugin version 2.9.

Functionality-wise, I can still control the shade (mine is Aqara E3 Zigbee shade roller motor). If I set position via Home app, it will display that position. If I change the shade position via other means (manually or via Hubitat), Home app does not update position value. When I check the position in Home app, there’s a spinning wheel next to the old position value and error message in Homebridge logs about undefined position value

image

DrFunkelstein commented 1 year ago

I'm having the exact same bug with my z-wave shades.

RadDip commented 1 year ago

Also noticed that all my Zigbee temp sensors that also have humidity built in, no longer display humidity.

As a test,I enabled both my shades and temp sensors in the newly built in HomeKit capability in Hubitat. They all show up and display properly.

Would prefer though to continue to utilize your app and its functionality due to its much greater flexibility and power.

Would very much appreciate you addressing these issues soon considering all the effort you spent in v2.9 to provide the functionality directly in the app to initiate and send bug issues and enhancements. Assumed this capability was meant to address such issues quicker.

Thank you for all your efforts.

tonesto7 commented 1 year ago

@DrFunkelstein @RadDip

I will look into this. I don't have my shades under Hubitat so I never noticed any issues.

tonesto7 commented 1 year ago

I see the issue.
If you look at the data provided the position attribute is being filtered out, that's what is happening to humidity in my test here.
Now I need to figure out why and get you a fix out this afternoon!

RadDip commented 1 year ago

Thank you very much Tonesto7. I really appreciate you looking into this.

Also curious on the HomeKit mapping I posted in the enhancement section. But I understand if this will take some time to look into and perhaps if possible show up in a future version.

Thanks again for all your efforts and great app!

tonesto7 commented 1 year ago

@RadDip @DrFunkelstein Just pushed out a new release of both the app and plugin to resolve the humidity and hopefully the windowShade stuff.

RadDip commented 1 year ago

All appears to be working well. Thank you very much Tonesto7. Very much appreciated.

DrFunkelstein commented 1 year ago

Awesome, mine's working with the updates as well, thanks!!