Skip to content

Plugin to monitor and control Solax inverter from Domoticz via ModBUS over TCP/IP

License

Notifications You must be signed in to change notification settings

saidlm/Domoticz-Solax-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domoticz-Solax-plugin

It is primary developed to be able to monitor Solax inverter from Domoticz software via Mod-bus over TCP/IP. Base on the requests from users I decided to implement also control functionality to the plugin. Finally current version support monitoring and remote control as well. The implementation works with registers which are dealing with real-time operation only. Basically it means that there are no configuration functions which are writing data into EEPROM of the device as a part of permanent configuration. Finally it means that there is no issue with limited number of write cycles to EEPROM. In the other hand if device is restarted remote control configuration will disappear.

There is new functionality avaiable from commit f56d71e. I allows to access Solax EV Charger via Inverter. Everything is done over IP network. There is no necessity to have RS-485 connection established between EV Charger and Domoticz device. EV Charger is automaticaly detected on plugin start phase. At the moment only R/O access is implemented.

Monitoring

All the standard operational information which are collected by default version are visible on pictures below.

Utility tab

Utility tab

Temperature tab

Temperature tab

Switches tab

Switches tab

Remote Control

Remote control functions are controlled by Domoticz devices on Utility tab which shown on picture.

Switches tab

Mode selection of the remote control and trigger button can be find on Switches tab. See picture below.

Switches tab

The whole process can be monitored via number od Domoticz devices shown on picture below.

Switches tab

Detail description of remote control modes is on: (https://kb.solaxpower.com/solution/detail/2c9fa4148ecd09eb018edf67a87b01d2)

Prerequisites

  • Running Domoticz software
  • The installation of additional python3 library – pymodbus is necessary.
sudo pip3 install -U pymodbus

The current version of the plugin was tested with Domoticz version 2024.4, python 3.11.2, libpython 3.11 and pymodbus 3.6.8

Installation

  • Place the folder inside Domoticz plugin folder e.g. :
/home/domoticz/plugin/Solax
  • Copy plugin.py from repository folder to the folder created in previous step.
  • Restart Domoticz.
sudo service domoticz.sh restart

or

docker restart domoticz

The exact command depends on your installation.

Configuration

Hardware configuration