Synology, Docker, USB IR Smart Meter - No provider for port /dev/ttyUSB0 found

  • Platform information:
    • Hardware: Synology
    • OS: DSM 7.1.1-42962 Update 4
    • openHAB version: 3.4.1#
  • Binding: Smart Meter
UID: smartmeter:meter:624850d24e
label: Smart Meter
thingTypeUID: smartmeter:meter
  mode: SML
  refresh: 10
  baudrate: "9600"
  conformity: NONE
  port: /dev/ttyUSB0
  baudrateChangeDelay: 0

Hey Guys,

I am trying to get a Smart Meter running on my OH3 based on synology via docker.
I plugged in a IR Schreib/Lesekopf USB (Optokopf) from

The Smart Meter Binding is saying " COMMUNICATION_ERROR No provider for port /dev/ttyUSB0 found" and I read the other topic regarding this issue.

So my question is what do I have to do/install at least?

  1. A driver (serial config) to OH3?
  2. A driver to DSM?
  3. A Synology chmod etc config to get it running on synology base?

Does anybody solved this combination before?


Did you make the USB device available to your docker container?

I am running the docker image with “run with highest privileges” .
Do I need anything more?

Yes, you need something else: a driver for DSM 7. This issue has already been addressed here: Synology DSM 7.0 & zwave USB - #28 by gd35

Maybe I missed something in your description, but you have to make devices available in docker, e.g. by adding

      - /dev/ttyACM0:/dev/ttyACM0

to the docker-compose.xml.

I explained here how I did something similar what you try to achieve.

Guys, Thanks for your help!

It is running now!

So what I did was:

  1. Put the drivers for usb serial according to my platform to the /lib/modules folder:
  2. Exec commands:

/sbin/modprobe usbserial
/sbin/modprobe ftdi_sio
/sbin/modprobe cdc-acm
modprobe usbserial
modprobe ftdi_sio
modprobe cdc-acm
chmod 777 /dev/ttyUSB0

  1. Restart openhab docker image
  2. Party :partying_face:
1 Like