Skip to content
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

Added 2 new awnings lost 2 already connected screens #494

Open
watgaan opened this issue Nov 9, 2024 · 9 comments
Open

Added 2 new awnings lost 2 already connected screens #494

watgaan opened this issue Nov 9, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@watgaan
Copy link

watgaan commented Nov 9, 2024

Hardware

ESP32

Firmware version

v2.4.6

Application version

v2.4.7

What happened? What did you expect to happen?

Got new awnings so I added these to the SomfyRTS using the procedure described in the instructions. This went fine program on remote jog program in SomfyRTS jog. Did both then I noticed that instead going from 6 to 8 devices in the shades tab I still had 6.
I lost 2 already configured devices, 2 screens.
When I then went to HA these were not added automatically I needed to reload HA. Then I got the new devices but the 2 screens were gone too.
When I checked the script I have for one of the screens that were removed I noticed the action to open screen was now populated by the newly added device....
As I am not sure what I do wrong I will for now not add the disappeared screens. Thanks for the support. Let me know when I can assist in providing more details.

How to reproduce it (step by step)

1. login to SomfyRTS on web interface
2. click on settings 'wheel'
3. go to Somfy
4. select tab shades
5. click on add shade
6. select awning by type
7. fill in unique number remote address
8. select room "Woonkamer"
9. provide name "Markies Keuken"
10. Leave all other settings default
11. click on add shade
12. click on pair shade
13. on telis remote press prog button
14. Awning jogs
15. Click on prog
16. awning jogs
17. click on link remote
18. press button on remote
19. remote not found as screen does not changes
20. added the second, same procedure also not able to pair remote
21. Noticed that I only had 6 items in the list on tab shades instead of 8. Missing screen Krijn and Screen left B&J
22. checked to see what max. number is, 32 according to the instructions
23. check HA to find new items not being added
24. reloaded HA
25. new awnings added
26. Screen Krijn grayed out
27. Screen left B&J gone
28. automation for screen left B&J now has as device Markies Keuken
29. opening this case
30. no logs found on the SomfyRTS device.
31. Thanks for the support!
...

Logs

No response

@watgaan watgaan added the bug Something isn't working label Nov 9, 2024
@rstrouse
Copy link
Owner

How did you get the v2.4.7 installed for the application without installing v2.4.7 for the firmware? Also, please do not use any address from an existing remote. This will not work. If you use the address of an existing remote when adding a shade definition, eventually the remote and ESPSomfy RTS will stop working with that motor. There are solutions out there that do that but ESPSomfy RTS does not operate that way. It will coexist with the remote and you should be able to use either one.

@watgaan
Copy link
Author

watgaan commented Nov 13, 2024

Hi,

I installed version 2.4.7 via HA, it told me that there was an update and I installed. Did not see the update for the firmware, latest I saw was 2.4.6. My figuring was firmware and software can have different versions.
Your comment tells me this is not the case. I see when I check now the firmware there is a pre release of 2.4.7.
I did not use the same addresses, used new numbers.
I have a back-up of the installed somfy motors before I tried to add the 2 new awnings. I can set that back, see how I can downgrade the HA integration to version 2.4.6 to match the firmware of the device. Then add the new awnings with a different unique ID again and hopeful that this then will work as it did before just an addition of Somfy motor next to the existing ones.
Let me know if you have a better way forward. Thanks for your support!
It is really appreciated 👍

@rstrouse
Copy link
Owner

Ok the application version you are referring to is the plugin version for HA. The firmware updates install I was referring to the application version that is displayed in the ESPSomfy RTS UI. If you have further troubles upload a backup of the configuration. You will find this in the system section under the firmware tab,

@watgaan
Copy link
Author

watgaan commented Nov 14, 2024

Aha I see, ESPSomfyRTS firmware 2.4.6 & Application 2.4.6. I will make backup live and then add both awnings and see what happens, I hope just normal behavior 2 new devices :) Will keep everyone posted on how it goes.

@watgaan
Copy link
Author

watgaan commented Nov 17, 2024

So I installed the back up back and had the 6 Somfy engines back, working as it should then restarted HA to get the devices back in HA. This worked only needed to delete 2 entities that related to the engines not available in back up.
Today had time to start again. Checked remote addresses. Picked a new number and added the shade. As soon as I had done this one of the existing shades was gone.
Did not pair the Somfy engine yet so that is the good news. So what is going wrong?

@watgaan
Copy link
Author

watgaan commented Nov 18, 2024

I looked at the backup files I have and noticed that the backup file made after adding the new awnings was using the same paired ID / number for the remote. I had not paired the them, yet. Also some other numbers were the same, figured out some are correct as they represent the type (awning = 3) and other and reference to which room etc.
With that in mind I made a third file where I added the 2 new awnings to the first backup figuring that by reading it back into ESPSomfyRTS it would add the new awnings. This did not work :(
I attached the backup files maybe they point out an issue? renamed the file type from .backup to .txt to be able to upload.
ESPSomfyRTS 2024-08-20T15_03_24 - backup.txt
ESPSomfyRTS 2024-11-13T12_48_04 -backup.txt

@rstrouse
Copy link
Owner

rstrouse commented Dec 1, 2024

Restore this file then you should be able to add new shades. Unfortunately, it looks like I have an indexer issue. At the moment I am working on getting the upgrade to 3.x of the Arduino libraries and it has gotten a bit tough given the increase in library sizes.

ESPSomfyRTS.2024-11-13T12_48_04.backup.txt

@watgaan
Copy link
Author

watgaan commented Dec 3, 2024

Thanks will get this installed later today and keep you posted on the result. Thanks for the support.

@watgaan
Copy link
Author

watgaan commented Dec 7, 2024

Just tried to upload the provided file. Uploading went fine but same result, still only 6 somfy motors instead of 8. Got the 2 new Awnings but lost 2 existing screens (other ones then before). Restored to what I had and will wait with adding the new awnings when the indexer issue gets solved. Thank you very much for your support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants