rstrouse / ESPSomfy-RTS-HA

Control your somfy shades in Home Assistant
The Unlicense
125 stars 9 forks source link

"Invalid flow specified" or "Unknown error occurred", even in English #37

Closed Tornix242 closed 7 months ago

Tornix242 commented 7 months ago

Hi there,

First thank you so much for this incredible work!!!

I just setted up everything. Shades a correctly behaving from the webpage. On my side, HA integration do not work at all, even without user/password and both HA and user language settings in English. I also tried PIN setting, without success.

I have either "Invalid flow specified" or "Unknown error occurred" on the HA integration page.

The path to setup was challenging (and of course I messed up a shade before getting working😄) but we're getting close! I hope you ladies and gentlemen will be able to help us, and I'm willing to contribute if I can!

I'm looking forward getting it done and wish you a great day!

rstrouse commented 7 months ago

After you have installed the integration from HACS you must restart home assistant. HACS used to do this automatically but it doesn't do this anymore.

Tornix242 commented 7 months ago

Thanks for your answer.

I already tried reboot HA multiple times. Today I also rebooted the whole VM that hosts the Debian that runs HA 2023.12.4 and HACS 1.34.0. No changes.

I just updated to HA 2024.2.1 and the behavior is the same so far.

ctmayhew commented 7 months ago

I am also getting the same error.

image
rstrouse commented 7 months ago

Try to add the integration outside of discovery by clicking the add integration at the bottom right of the page. When the page comes up enter the IP address in the host address field.

rstrouse commented 7 months ago

Uggh I pushed one of the files to my dev repo instead of the release. Go to HACS and click ESPSomfy RTS. In the upper right you will see a 3 dots menu. Click on that and select Redownload. When the screen comes up click the Download button. This will refresh the files in the configuration.

After it does that restart HA and let it discover your ESPSomfy RTS. From there it should load the proper config_flow.

Tornix242 commented 7 months ago

Aaaaaand it works like a charm! 😄

Next step for me will be to parameter everything properly using the ESP webpage to get accurate values during movements.

Thank you again for your time helping me/us and for this whole tool 😉

ctmayhew commented 7 months ago

Works for me too. Thank you so much for this - having the blinds in HomeKit is great.

rstrouse commented 7 months ago

Cool I am going to close this out. Have fun!