8000 Delete a group messes up the groups · Issue #354 · rstrouse/ESPSomfy-RTS · GitHub
[go: up one dir, main page]

Skip to content

Delete a group messes up the groups #354

@alka79

Description

@alka79

Hardware

ESP32

Firmware version

v2.4.2

Application version

v2.4.2

What happened? What did you expect to happen?

I deleted group#2 in a list of 4 and it messes up groups !

I first unpaired the shades in group G2 and then deleted the group itself from the app. That worked.
Backup shows that the list of groups is now with IDs 1,3,4
So far, so good.

I added a new group G2 which got # 2/16.
I added one shade to this newly created G2, paired it, and... when the screen refreshed the added shade appeared with the shades of former G3. All the settings (name, remote adress, shades) of former G3 are now in G2.
The group I created just before was gone.
I backed up again and now I see group IDs 1,2,4.

Work around :
I went back to the first backup to edit and renumber the groups 1,3,4 in sequence 1,2,3.
Then restored that modified backup file.
Recreated a group (which got number 4) and gave it the same Remote Address as before.
Added the same shade to this new G4 without actually pairing it because it was already paired, and it worked.
Everything works again and I was able to add more shades G4.

It appears that the app does not like when groupIDs are not in sequence.

How to reproduce it (step by step)

see above

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0