Sí, no creo que sea algo nuevo, pero como ahora se anima a cambiar el controlador, de repente el comportamiento es muy visible, lo cual no ocurría antes, era raro modificar esta configuración
Ya está corregido.
Al cambiar el dongle, el contenedor z2m tenía una nueva contraseña mqtt, esto ya no ocurre.
Probado y funcional
¡Excelente! Lo pruebo ahora mismo
¡Es perfecto, funciona genial! Hago una revisión y si todo está bien, lo pongo en producción para mí
El código me parece bien, solo un mini-comentario, hay un archivo modificado que no tiene mucha relación con la PR:
master ← cicoub13:feat-z2m-ember
ouvert 09:44AM - 16 Feb 26 UTC
### Pull Request check-list
To ensure your Pull Request can be accepted as fa… st as possible, make sure to review and check all of these items:
- [X] If your changes affect the code, did you write the tests?
- [X] Are tests passing? (`npm test` on both front/server)
- [X] Is the linter passing? (`npm run eslint` on both front/server)
- [X] Did you run prettier? (`npm run prettier` on both front/server)
- [x] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to the community ([forum](https://community.gladysassistant.com/)) for testing before merging.
NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
### Zigbee2Mqtt - Migrate to ember driver
The ezsp driver in Zigbee2MQTT is deprecated in favor of the new ember driver for EmberZNet-based adapters (SkyConnect, Sonoff ZBDongle-E, TubesZB EFR32, etc.). The ember driver requires EmberZNet firmware ≥7.4.x (EZSP 13) and has been available since Z2M 1.36.0.
Currently adapters/index.js maps 6 dongles to CONFIG_KEYS.EZSP = 'ezsp'. These need to default to CONFIG_KEYS.EMBER = 'ember', while keeping ezsp available as a legacy option for users with firmware < 7.4.x.
This satisfies three requirements:
1. New users select a dongle name → get ember driver
2. Existing users whose stored dongle name is unchanged → auto-migrated to ember on next restart (the mapping lookup finds ember now)
3. Users with old firmware who need EZSP → select the (legacy ezsp driver) variant in the setup UI
## Summary by CodeRabbit
* **New Features**
* Shows Zigbee coordinator firmware and container error info in status views.
* Displays an Ember firmware warning in local setup when firmware is older than 7.4.x, with upgrade guidance.
* Shows a specific EZSP protocol-version warning in local setup when detected from container logs.
* **Chores**
* Adapter list reorganized to expose adapter type/config key and mark legacy EZSP entries.
* Added container log inspection and a migration to rename legacy EZSP entries for clarity.
De recuerdo, eslint no pasaba sin esta JSDoc.
Pero cuando lo pruebo en master, eslint pasa (con solo una advertencia ).
De todos modos, lo resto.
¡Ah, vamos a ver si funciona! Normalmente, si está en master es porque la PR que integró este fragmento de código pasaba eslint
¡Gracias!
Para mí está bien, está fusionado en master y se incluirá en la próxima versión de Gladys (¡hoy normalmente!)
Vale, gracias, fusiono cuando la versión esté en vivo