Skip to content

Script to Read & Write data to a Solis Hybrid Inverter & integrate with Home Assistant

License

Notifications You must be signed in to change notification settings

dezfutak/thediybattery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

The DIY Battery

JK BMS Monitoring via:

Automation via:

Solis <-> Battery Closed-Loop Integration via:

Solis <-> Home Assistant Integration via:

Forked from:

Other Related Solis Modbus projects:

Reference document for Solis registers (might be Solis firmware dependent):

Website coming Soon: https://thediybattery.com

Full Documentation Coming Soon :)

  • solis_5g_modbus_charge.py is designed to run as a background script in the main OS (e.g.: nohup $HOME/solis_5g_modbus_charge.py & )

  • The Home Assistant instance is being run via supervised, which is considered to be the "Advanced installation" method; there's a detailed guide here showing how this is done:

  • https://peyanski.com/how-to-install-home-assistant-supervised-official-way/#Home_Assistant_Supervised_method

  • by doing this more convoluted HA installation, you get the flexibility of having a "full bells & whistles" HA instance, whilst also being able to run your mini PC/Raspberry Pi etc for other things too, including the solis_5g_modbus_charge.py script. I prefer this approach because sometimes a HA update can break things, so I prefer the code that communicates with the inverter to independent from HA (ie, greater robustness/reliability), especially when it comes to writing to the inverter for overnight charging.

  • solis_5g_modbus_charge.py relies on a direct connection to your Solis hybrid inverter, using a COM adapter such as this one: https://www.ebay.co.uk/itm/234764566206 & an RS485 to USB adapter, such as this one: https://amzn.to/3v7pOz3

To-do's

  • Upload:
    • wrapper bash scripts that call the solis python scripts
    • Additional python & bash scripts that calculate charge start time, dependent on Solcast data
  • Documentation:
    • Install How-to Guide
    • Hardware resources

About

Script to Read & Write data to a Solis Hybrid Inverter & integrate with Home Assistant

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages