Giter Site home page Giter Site logo

Modbus Unit_ID about domoticz-solax-plugin HOT 3 CLOSED

saidlm avatar saidlm commented on August 23, 2024
Modbus Unit_ID

from domoticz-solax-plugin.

Comments (3)

saidlm avatar saidlm commented on August 23, 2024

Hi,
thank you for your interest. Honestly speaking I am little bit confused. Your energy meter is conneted via Modbus RTU using dedicated physical RS-485 port. I guess the same bus is used for your EATRON. The both ones are sleve on the bus and Solax acts as the master for them.
The connection to Solax G4 can be done using com port - separated Modbus / RS-485 independent from meters one. The second possibility is to use Modbus oner TCP. My understandin is that it is possible only via WiFi communication dongle. Unfortunately it is not possible with Ethernet one :-(.
My plugin has been developed and was tested for the second solution. The main reason is I am not able to use com port for Domoticz communication because it is ocupied by Solax Wallbox connection.
The identification of the device is done usind IP address and its ID is default one - ID = 1. I haven't tested it but I guess there is no way how to change it in the dongle configuration. Honnestly speaking there is no relevant reason for that in my opinion. If you need to use for communication with Solax RS-485 it is in theory possible. Serial communication is supported by pymodbus module but the plugin doesn't use it at the moment. Modbus TCP is only way for current version.

Martin

from domoticz-solax-plugin.

jfh75 avatar jfh75 commented on August 23, 2024

Thank you for your answer.
Today, my bus is connected to a modbus TCP serveur usrIOT N501.
I have changed my inverter ID to 1, but still got connection has not been established yet error.
There seems to be traffic as Tx and Rx are increasing when monitoring my N501 usrIOT

JFH

from domoticz-solax-plugin.

saidlm avatar saidlm commented on August 23, 2024

Hi,
as I wrote I have tested only direct connection to Solax G4 with WiFi communication dongle. It works to me.
The way how to check if the donge souppots Modbus TCP is to try to establish connection to port TCP/502. Just telnet to it gives the answer. If the port is open and the connection is establish it support it.
I haven't tested any RS-485 to TCP/IP solution based on external device. There can be difference in Modbus over TCP vs ModbusRTU over IP implementation. The plugin reads all required registers in one read cycle. The question is if the server support it or if it is not limited to small amout of registers etc.
It is realy not so easy to answer your question without having the device.

Have you the possibility to communicate with the inverter dirctly over IP? If yes why you don't want to use it?

Martin

from domoticz-solax-plugin.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.