steilerDev / homebridge-openhab2-complete

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)
GNU General Public License v3.0
52 stars 16 forks source link

v0.10.0 windowcovering behavior #11

Closed apfelflo89 closed 5 years ago

apfelflo89 commented 5 years ago

Since I upgraded to the new version 0.10.0 there is a bug with the rollershutters,

I inverted from the openhab rollershutter item with that in my config.json:

{ "name": "Rollo Esszimmer", "type": "windowcovering", "item": "ROLLO_EZ", "inverted": "true", "manuMode": "true" },

before the update the control was as expected, but now the plugin send a DOWN if I use the open button within a Homekit app.

Changed target state of Rollo Esszimmer [ROLLO_EZ] to DOWN

Working with the percent between 1 and 99 works ok but 0 and 100 are sending the mirrored commands.

apfelflo89 commented 5 years ago

I reverted your changes from commit back and it works again.

steilerDev commented 5 years ago

Hi @apfelflo89,

yes I already noticed this logic error in the last version. On the master branch this is already fixed. I want to add the battery behavior from the other issue and will publish an update then.

Thank you,

Frank

steilerDev commented 5 years ago

Fixed with release V0.10.1