ha-modbusproxy
ha-modbusproxy copied to clipboard
Port not Open
Hello,
thanks for this Add-On! Unfortunately, I cannot get it to work: I cannot get a connection to the proxy. nmap shows me, that on the host, port 502 is not open. docker ps shows me, that port 502 is mapped to the host though...
This is the log:
devices:
- modbus:
url: 192.168.200.1:6607 # device url (mandatory)
timeout: 10 # communication timeout (s) (optional, default: 10)
connection_time: 0.1 # delay after connection (s) (optional, default: 0)
listen:
bind: 0:502 # listening address (mandatory)
logging:
version: 1
formatters:
standard:
format: "%(asctime)s %(levelname)8s %(name)s: %(message)s"
handlers:
console:
class: logging.StreamHandler
formatter: standard
root:
handlers: ['console']
level: DEBUG
2023-05-26 17:04:51,292 INFO modbus-proxy: Starting...
2023-05-26 17:04:51,297 INFO modbus-proxy.ModBus(192.168.200.1:6607): Ready to accept requests on 0:502
What am I doing wrong?
have the same problem. The IP of the inverter is put in line for "url:"
And port 502 i guess is for the client services?