I'm using Domoticz for 7 years and I'm taking the opportunity of the migration to zwave-js-ui to reinstall everything from scratch with a completely new architecture (docker, mqtt, zwave-j-ui,...). As I'm also discovering Docker and MQTT it is not as easy as I thought to have everything working

As a matter of principle, I try to have all the components running as non-root users. It works ok with mosquitto and zwave-js-ui but I'm stuck with Domoticz. It seems to work correctly, except that I cannot see the serial devices when trying to add new hardware (Teleinfo EDF and RFXtrx433 USB devices).
The devices are correctly mapped in the container but Domoticz does not detect them and does not propose them in the dropdown list in the hardware tab (list is empty)

... whereas the devices exist in the container (/dev/linky and /dev/RFXtrx433)
I use the following docker compose file to create the container (part of a Portainer stack) :
Code: Select all
version: "3.8"
services:
domoticz:
image: domoticz/domoticz:beta
container_name: domoticz
restart: unless-stopped
user: 5000:20
environment:
- WWW_PORT=8080
- SSL_PORT=8443
- TZ=Europe/Paris
ports:
- 8080:8080
- 8443:8443
networks:
- domo-net
volumes:
- /home/domoticz/data:/opt/domoticz/userdata
devices:
- '/dev/serial/by-id/usb-Cartelectronic_Interface_USB_1_TIC_DA1U76CP-if00-port0:/dev/linky'
- '/dev/serial/by-id/usb-RFXCOM_RFXtrx433_A13UIUO-if00-port0:/dev/RFXtrx433'
<...>
networks:
domo-net:
Any idea why these devices are not showing in Domoticz?
Thanks a lot for your help
Edit: same issue when Domoticz is running as root
