-
Notifications
You must be signed in to change notification settings - Fork 108
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
Fixes: shutter id case & webui word wrapping #159
Conversation
fix: uppercase id everywhere
…nserted in upper and lower case
compatibility with Home Assistant 2023.08
Thanks to these fixes, Pi-somfy is very stable at home. |
Why would you need to reconfigure your shutters? |
last week, my configuration file was blank after an electrical shutdown. |
That was an issue but it didn't require you to reconfigure your shutters. Delete the last line (the one that was mistakenly added in lower case), add 1 to the rolling code of the other one. The blank file is a bigger problem. If power cuts are frequent and you don't have a UPS, maybe you could consider backing up your config file every morning with a script? If you end up with a blank file again, restore your morning backup, add 10 to all the rolling codes and your setup is on its feet within minutes. |
Hi @Nickduino , I have a daily backup but I dont't know the trick to "add 10 ... ". Thanks for your advice and your project. |
Yes, Somfy made things pretty simple. So if you have a power cut that empties your config while the rolling code was 347 and you restore your backup of the morning that was at 342 as is, your shutters won't move. Increment 342 of a few units to at least 347 and it will work. Of course you don't know it was 347 when it failed, that's why I suggested to increase it by 10. If you use your shutters a lot, you might want to pick a higher number; there is a higher limit but I don't remember it. Alternatively, you could restore your config file and press the buttons on the GUI : at some point, the rolling code of the remote will catch the rolling code stored in the shutter. |
Hi Nick,
Thx you for your project.
I have detected some problems:
Be free to integrate or inspire you from my code.
Bye