Replies: 2 comments 1 reply
-
:) The biggest challenge you have is that the modbus is rather dumb. It only allows for only one master on the bus, so you can't have the rpi sending commands along the inverter. Pymodbus allows for rtu connections, so it should be possible. One of the latest releases added the option to use rtu (inverter_type = "RTU" in config.py, also see modbus.py). Not sure if that would fix your problems, since I don't have a way to test it :( You might also have to set the other options in the config file |
Beta Was this translation helpful? Give feedback.
-
take a look at #47 You can use the huawei_default as a guide |
Beta Was this translation helpful? Give feedback.
-
Hello, first of all I think your project is great. I have been looking for something open source and customizable like you made here. I currently have a Megarevo inverter connected to a RPi and been controlling the settings using minimalmodbus through USB RS485. I have the list of factory registers (I can share them with you if you are interested) and shouldn't have an issue changing the inverter definitions file you have to match my inverters registers to your list.
Is it possible to change the pymodbus to use the usb serial connection instead of the TCP internet based polling? I assume this is why I am getting an [Errno 98] when trying to test the program.
Thank you for your time and making this product!
Beta Was this translation helpful? Give feedback.
All reactions