I have a Solis SOL-3.0K-RAI-48ES-5G-AC-V2 battery inverter and want to control it based on live Agile pricing based on each half hour slot, to charge on cheap rate, then reserve the charge until its well worth using.
If anyone has got this fully working I’d be interested to know how.
But for reference here is where I’m at:
First of all I bought myself a DLS-LAN stick, this turned out to be a waste of time and money as it doesn’t appear to be compatible with the above battery inverter and the TCP to RS485 modbus bridge appeared none functional.
Therefore I bought this TCP to RS485 Bridge:
Waveshare - Industrial Serial Server - RS485 to RJ45 Ethernet
UK shopping link:
https://thepihut.com/products/industrial-serial-server-rs485-to-rj45-ethernet?variant=41374103666883¤cy=GBP&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&gclid=CjwKCAiAleOeBhBdEiwAfgmXf-NPLph_Ursv_8xT6P7aMt8IpRxhXuxhXDVqI14lHbs4fbq5tk_5SBoCBZYQAvD_BwE
This was straight forward to setup via its own webserver page.
In home assistant setup the Modbus connection in config.yaml as follows:
modbus:
- name: "solis"
type: tcp
host: 192.168.0.200
port: 502
sensors:
- name: solisinvertertemperature
slave: 1
address: 33093
input_type: input
unit_of_measurement: "°C"
scan_interval: 60
data_type: uint16
count: 1
scale: 0.1
- name: solisbattarysoc
slave: 1
address: 33139
input_type: input
unit_of_measurement: "%"
scan_interval: 60
data_type: uint16
count: 1
- name: solisbatterycurrent
slave: 1
address: 33134
input_type: input
unit_of_measurement: A
scan_interval: 60
count: 1
precision: 1
data_type: uint16
scale: 0.1
Make sure the host and port match the bridge.
Your instance of home assistant will need rebooting to to fire up the TCP modbus.
You will then be able to keep and eye on the battery inverter status.
Install the Octopus addon through HACS which grabs data via their API, then create an instance through integrations, the setup should link you to the Octopus API page to generate and enable the API to your account.
Now you should have access to all the information needed to get started with the automations.
TBC.