Thanks for taking the time @_Will_71 ![]()
I think if you run tests this weekend it will be perfect!
Thanks for taking the time @_Will_71 ![]()
I think if you run tests this weekend it will be perfect!
Okay. Iâll try to make a post with details to explain at least the basics.
Jâai donc fait des tests ce week-end pour tester une migration des ids (selector et external id) pour ceux qui nâont pas appuyer sur le bouton mise Ă jour dans la dĂ©couverte ZIGBEE2MQTT.
Pour lâessai jâai relancĂ© une ancienne image de Gladys pour ajouter le lixee TIC Ă ma base de donnĂ©e avec lâancien format.
Ensuite jâai lancĂ© une image contenant ma PR avec la modification du format de donnĂ©es du Lixee TIC
Jâai le bouton Mise Ă jour dans la dĂ©couverte zigbee2mqtt. Pour ne pas perdre toutes les donnĂ©es, je nâapplique pas la mise Ă jour!
Mon tableau de bord nâa pas changĂ©
Ma base de données est à jour sauf les selector et external_id
Je lance ensuite lâimage contenant la migration des ids. Cette migration a pour but de modifier les selector et external_id pour ne pas modifier les id de chaque fonctionnalitĂ©s.
![]()
Le changement dâid a un impact pour rĂ©cuperer les donnĂ©es.
Le seul impact nĂ©gatif de cette migration câest que les tableaux de bord et scĂšnes seront Ă refaire. Câest le seul moyen que jâai trouvĂ© pour ne pas perdre les donnĂ©es ou dâaller chercher les anciens id dans la bdd et les modifier. Câest rĂ©alisable (@cicoub13 la fait) mais pas pour un dĂ©butant!
Comme prévu mon tableau de bord est cassé
Ma bdd est à jour, les selector et external_id ont bien été modifier mais pas les ids.
AprĂšs correction de mon tableau de bord, jâai bien mes donnĂ©es toujours prĂ©sentes
Je peux ensuite appuyer sur la mise à jour dans la découverte zigbee2mqtt. Cela apportera cette fois ci les ajouts de fonctionnalités.
@pierre-gilles voilĂ la PR. Je pourrais faire une image si besoin!
Thanks @_Will_71 for your PR, thatâs kind of you to have taken the time ![]()
For me it seems like an acceptable compromise, but Iâd like the opinion of those who will be affected.
Among those who voted « Yes » in the poll, does this solution work for you? cc @davidm50 @gaetanb76 @Hizo @StephaneB @tiboys @Jluc @Gnome @prohand @jparbel @jerome
Basically, youâll have to re-modify the scenes and dashboards that use your Lixee TIC, but without data loss, would that be okay with you?
Iâm sorry, itâs not a perfect solution, but well, sometimes we make mistakes ^^
Yes, thatâs OK with me ![]()
OK same for me. Thanks @_Will_71!
Hi,
how could anyone fault you for such an investment and such work!
Itâs already great news that nothing was lost.
Many thanks (and OK with me then)
![]()
Thatâs of course fine with me, but Iâm away from my home, I can only connect via SSH for now.
Thanks everyone for your feedback and thanks to @_Will_71 for all his work ![]()
If thatâs okay with you, Iâve just merged it â it will be included in the next Gladys release!
Honestly, what youâre doing is awesome.
Iâm not going to complain because Iâll only have to redo my dashboard and my scenes.
A big THANK YOU!!!
A message was split into a new topic: Trigger runs multiple times