Open redi78 opened 6 months ago
I use it on my 218+ with this create statement.
docker create \
--name=ModbusTCP_Proxy \
--net=macvlan \
--ip 192.168.178.169 \
--restart unless-stopped \
-e TZ=Europe/Berlin \
-v /volume1/docker/ModbusTCP_Proxy/modbus-proxy.yml:/etc/modbus-proxy.yml \
tiagocoutinho/modbus-proxy:latest
I use it on my 218+ with this create statement.
docker create \ --name=ModbusTCP_Proxy \ --net=macvlan \ --ip 192.168.178.169 \ --restart unless-stopped \ -e TZ=Europe/Berlin \ -v /volume1/docker/ModbusTCP_Proxy/modbus-proxy.yml:/etc/modbus-proxy.yml \ tiagocoutinho/modbus-proxy:latest
Can you please share your modbus-proxy.yml? ip 192.168.178.169 which ip is it? (container ip?) Thank you!
@redi78 I've same issue. Did you solve this problem?
but this build: https://github.com/Akulatraxas/ha-modbusproxy/ (This addon uses the modbus-proxy of tiagocoutinho:) is working on Synology but only via HA. Why is original not working?
I use it on my 218+ with this create statement.
docker create \ --name=ModbusTCP_Proxy \ --net=macvlan \ --ip 192.168.178.169 \ --restart unless-stopped \ -e TZ=Europe/Berlin \ -v /volume1/docker/ModbusTCP_Proxy/modbus-proxy.yml:/etc/modbus-proxy.yml \ tiagocoutinho/modbus-proxy:latest
Can you please share your modbus-proxy.yml? ip 192.168.178.169 which ip is it? (container ip?) Thank you!
The IP is the macvlan IP of the modbus proxy container.
devices:
- modbus:
url: 192.168.178.50:502
listen:
bind: 0:9000
- modbus:
url: 192.168.178.106:502
listen:
bind: 0:9001
Thank you! now the error has gone! but a don't receive any data from invertor. devices:
Thank you! now the error has gone! but a don't receive any data from invertor. devices:
* modbus: url: 192.168.30.53:502 (my invertor) listen: bind: 0:9001 Docker running on 192.168.10.5. I'm trying to get data via modus-proxy container with address : 192.168.10.5:9001 Port maping: host:9001, container:502 what is wrong?
Unfortunately, I don't know. I can only say that I often had problems accessing services when I used the network mode bridge. That's why I give all important services their own IP address via macvlan - so there are no problems with access or TCP ports. Maybe you can try it with that.
Range 192.168.178.161 - 192.168.178.190
docker network create -d macvlan -o parent=eth0 --subnet=192.168.178.0/24 --gateway=192.168.178.1 --ip-range=192.168.178.160/27 --aux-address 'host=192.168.178.191' macvlan
I tried it with macvlan too. The same no data.
Description
I want to install modbus-proxy on my Synology NAS via Docker compose File.
`version: "3" services: modbus-proxy: security_opt:
Error Message:
Container will not start and i get following error message:
thread 'main' panicked at 'called
Result::unwrap()on an
Errvalue: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /modbus-proxy-rs/src/lib.rs:181:67
Could someone help please?
Thank you :-)