-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solaredge Modbus TCP not working #32
Comments
Modbus is some what picky, mine uses a different port. And I had to turn it on at the inverter and connect for the first time within 120 seconds. And modbus is a system where only one client can connect at the same time. |
Thanks for the reply, I have that part working (which was also a hassle haha) I'm able to get the data extracted off the inverter with other software. As we speak i'm building a modbus to mqtt in node red which is able to get the data:
edit: link to the github of the node red module: https://github.com/apelders/node-red-contrib-solaredge-modbus-client |
Really love this docker image so far!
I'm trying to get Solaredge Modbus TCP working but the connection is throwing connection refused:
Error loading data from modbus Error: connect ECONNREFUSED 192.168.222.241:1502 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1137:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.222.241', port: 1502 }
My docker image is set up like this:
sudo docker run -it
--name=smartmeter
--restart=unless-stopped
--network=host
-e TZ=Europe/Amsterdam
-e SMARTMETER_SOCKET=192.168.222.245:23
-e SMARTMETER_mqtt-url=mqtt://localhost:8889
-e SMARTMETER_mqtt-topic=diy/smartmeter
-e SMARTMETER_mqtt-discovery=true
-e SMARTMETER_debug=true
-e SMARTMETER_sunspec-modbus=192.168.222.241
-e SMARTMETER_sunspec-modbus-port=1502
svrooij/smartmeter:latest
Ip and Port are correct (Solaredge uses port 1502 for modbus) the Hacs Solaredge modbus integration is also working for me.
The text was updated successfully, but these errors were encountered: