DISCLAIMER: This is a personal project for local monitoring of Easun ISolar inverters and has no affiliation with EASUN POWER CO., LTD or any related companies. This project is shared "as is" without any warranty or commitment to maintenance. Use at your own risk.
This project is open source and shared with no commercial interest. It is intended for personal use and educational purposes only.
EasunPy is a Python library and monitoring tool for Easun ISolar inverters. It provides both a command-line interface for monitoring and a Home Assistant integration through HACS.
- Auto-discovery of inverters on the network
- Real-time monitoring of:
- Battery status (voltage, current, power, SOC, temperature)
- Solar status (PV power, charging, daily/total generation)
- Grid status (voltage, power, frequency)
- Output status (voltage, current, power, load)
- System status (operating mode, inverter time)
- Home Assistant integration via HACS
- Interactive dashboard for continuous monitoring
- Simple output mode for scripting
- Open HACS in your Home Assistant instance
- Click the three dots in the top right corner and select "Custom repositories"
- Add the repository URL as shown:
- Select "Integration" as the category and click "Add"
- The integration will now appear in HACS
- Install it and restart Home Assistant
- Go to Settings > Devices & Services
- Click "Add Integration"
- Search for "Easun Inverter"
- Follow the configuration steps:
- The integration will attempt to auto-discover your inverter
- If auto-discovery fails, you can manually enter the inverter IP
- Configure the update interval (minimum 15 seconds)
The repository includes two example dashboard configurations:
ha-cockpit.yaml
- A simple dashboard that groups all sensors without any additional dependenciesha-dashboard.yaml
- A more advanced dashboard with energy flow visualization (requires additional dependencies)
The monitor.sh
script provides an easy way to start monitoring your inverter. It supports both auto-discovery and manual configuration.
# Auto-discover inverter and show single update
./monitor.sh
# Show continuous dashboard view
./monitor.sh --continuous
# Specify inverter IP manually
./monitor.sh --inverter-ip 192.168.1.100
# Specify local network interface
./monitor.sh --local-ip 192.168.1.2
# Custom update interval
./monitor.sh --interval 10 --continuous
--inverter-ip IP
: Manually specify inverter IP address--local-ip IP
: Manually specify local network interface--interval N
: Update interval in seconds (default: 5)--continuous
: Show interactive dashboard with continuous updates--single
: Run once and exit (default mode)--debug
: Enable debug logging--help
: Show help message
- Python 3.9 or higher
rich
library for dashboard displayasyncio
for async operations
git clone https://github.com/yourusername/easunpy.git
cd easunpy
pip install -e .
Contributions are welcome! Please feel free to submit a Pull Request.
- Additional inverter features support
- Documentation improvements
- Bug fixes and testing
- UI/UX improvements
This project is licensed under the MIT License - see the LICENSE file for details.
Thanks to all contributors and the Home Assistant community for their support and feedback.