Simon87
(Simon)
1
- 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
configuration:
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 https://www.weidmann-elektronik.de/Produkt_IR-Kopf.html
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?
- A driver (serial config) to OH3?
- A driver to DSM?
- A Synology chmod etc config to get it running on synology base?
Does anybody solved this combination before?
Greetz,
Simon
Cplant
(Cplant)
2
Did you make the USB device available to your docker container?
Simon87
(Simon)
3
I am running the docker image with “run with highest privileges” .
Do I need anything more?
gd35
(Gd35)
4
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
Cplant
(Cplant)
5
Maybe I missed something in your description, but you have to make devices available in docker, e.g. by adding
devices:
- /dev/ttyACM0:/dev/ttyACM0
to the docker-compose.xml.
I explained here how I did something similar what you try to achieve.
Simon87
(Simon)
6
Guys, Thanks for your help!
It is running now!
So what I did was:
- Put the drivers for usb serial according to my platform to the /lib/modules folder:
https://web.archive.org/web/20211027141018/http:/www.jadahl.com/iperf-arp-scan/DSM_7.0/geminilake/
- 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
- Restart openhab docker image
- Party
1 Like