maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
809 stars 233 forks source link

Window covering always on opening state #280

Closed kiralikbeyin closed 4 years ago

kiralikbeyin commented 4 years ago

When i push the (up/down) button, homekit always show "opening" and never shows %xx open untill i set a new value from homekit screen.

position_state.value.int_value = POSITION_STATE_STOPPED; 
homekit_characteristic_notify(&position_state, position_state.value);

I think this code doesnt work for me, any one else?

toshibochan commented 4 years ago

Same for me

kiralikbeyin commented 4 years ago

@maximkulkin

maximkulkin commented 4 years ago

Guys, guys, this is not my firmware, somebody contributed it. I do not know what is happening there. If you have ideas on how to improve it, you're welcome to contribute.

konifer44 commented 4 years ago

Im using it and everything its working. I modify code in some places to add stepper motor support and hall sensor to detect full opened window covering and ensure it will never lost position in case power loss.

toshibochan commented 4 years ago

@konifer44 you can share your code?

konifer44 commented 4 years ago

What ESP are You using?

toshibochan commented 4 years ago

I’m not sure yet. What you using? Can you take pictures of you setup?

konifer44 commented 4 years ago

Are you using ESP32 or ESP8266

toshibochan commented 4 years ago

I don’t have yet. What is better ESP32 or ESP8266?

konifer44 commented 4 years ago

ESP32 is more powerful😊