I have a problem after updating my Synology DS920+ NAS to 7.2
I have the impression that no matter whether I plug in or remove the dongle on the USB port, Gladys only returns this to me:
I still have this list =>
Since DSM version 7, the USB ports have been restricted.
Of course I reinstalled the drivers to bypass this issue.
My Z-Wave is OK and my Sonoff is recognized, not sure the problem was on the Synology.
I restarted the Gladys container and now I can see the correct port :
Rereading the thread, you should look into Synology as well — this Synology version looks like quite a mess. Maybe check the Synology-specialized forums?
By any chance, did you select the correct dongle in the Gladys list? If your dongle is the Sonoff P, did you select Sonoff P, and if it’s the Sonoff E, did you select Sonoff E?
Indeed, I went to look at the code — unless I misunderstood how this part works, the mapping between the host port and the port inside the container is only done when the container is configured for the first time:
For this change to take effect, I think the Zigbee integration would need to be stopped and then restarted..
(I’m saying this after reading the code for 10 seconds; I haven’t investigated any further)
Can you open a GitHub issue so we can verify this behavior?
In the container gladys-z2m-zigbee2mqtt, the dongle’s port is always/dev/ttyACM0 (that was to make configuration easier).
You will still find in /var/lib/gladysassistant/zigbee2mqtt/z2m/configuration.yaml
serial:
port: /dev/ttyACM0
The mapping between the host port (the real one) and the container’s is indeed done when the container is created (or on reactivation if there’s a change).