Instead of reading DSMR P1 data directly by USB cable I am trying to transfer it by using an ethernetreader so I can put my computer somewhere else. Using Debian 11 and Portainer 2.6.3.
After installing a script mentioned on this page, (i.e. “socat -T60 pty,link=/dev/ttyUSB0,rawer,group-late=dialout,mode=660 tcp:192.168.188.7:23.,retry=forever,interval=30”) I am trying to pass that data through to a container.
On the host everything looks OK, data is present on ttyUSB0 and refreshed. Inside the container (IP 172.17.0.3 on host 192.168.188.5) I still have device /dev/ttyUSB0 as well as for host as container. But… no data. If I connect the datacable directly to the host, data inside the container is being read OK.
What am I missing? Or could I try next? Any ideas?