Installation using HACS (Recommended) - HAEdwin/homeassistant-apsystems_ecu_reader GitHub Wiki
This guide will walk you through installing the APsystems ECU Reader custom integration for Home Assistant using HACS (Home Assistant Community Store).
Prerequisites
Before installing this integration, ensure you have:
- Home Assistant installed and running (version 2023.1 or later recommended)
- HACS (Home Assistant Community Store) installed and configured
- APsystems ECU device on your local network
- The IP address of your APsystems ECU device
What This Integration Provides
The APsystems ECU Reader integration allows you to monitor your APsystems solar power system directly from Home Assistant. It provides:
- Real-time monitoring of inverter power output
- Individual inverter status and performance metrics
- ECU device information and diagnostics
- Power generation statistics and historical data
- System health monitoring with alerts
- ECU management functions (reboot, settings)
Supported Devices
- ECU Models: ECU-R, ECU-R-Pro, ECU-B, ECU-C, ECU-3
- Inverter Series: YC500, YC600, YC1000, DS3, QS1, QT2
Step 1: Add Custom Repository
- Open Home Assistant and navigate to HACS
- In HACS, search for "APsystems ECU Reader"
- Click Download
Step 2: Restart Home Assistant
- Go to Settings > System > Restart
- Click RESTART and wait for Home Assistant to come back online
Configuration
Step 1: Add the Integration
- Navigate to Settings > Devices & Services
- Click + ADD INTEGRATION
- Search for "APsystems ECU Reader"
- Click on the integration to start configuration
Step 2: Configure Connection Settings
Fill in the required information:
Basic Settings
- ECU Host/IP Address: The IP address of your APsystems ECU device
- Example:
192.168.1.100 - You can find this in your router's device list or ECU web interface
- Example:
- Scan Interval: How often to poll the ECU for data (in seconds)
- Default:
300(5 minutes) - Minimum:
30seconds - Recommended:
60-300seconds
- Default:
Advanced Settings (Optional)
- Port Retries: Number of connection retry attempts
- Default:
3 - Range:
1-10
- Default:
- Cache Reboot: Enable automatic ECU reboot on communication issues
- Default:
Enabled
- Default:
- Show Graphs: Enable graphical data representation
- Default:
Enabled
- Default:
WiFi Credentials (Optional)
If you want to manage ECU WiFi settings:
- WiFi SSID: Your network name
- WiFi Password: Your network password
Step 3: Complete Setup
- Click SUBMIT to save the configuration
- The integration will attempt to connect to your ECU
- If successful, you'll see a confirmation message
- Click FINISH to complete the setup
Verification
Check Device Creation
- Go to Settings > Devices & Services
- Look for APsystems ECU Reader in the integrations list
- Click on it to see your ECU device and connected inverters
Verify Entities
The integration creates several types of entities:
Sensors
- ECU Power: Total system power output
- ECU Energy Today: Daily energy production
- ECU Energy Lifetime: Lifetime energy production
- Individual Inverter Power: Power output per inverter
- Individual Inverter Voltage: Voltage per inverter channel
- Signal Strength: Communication signal quality
Binary Sensors
- ECU Online Status: ECU connectivity status
- Individual Inverter Online: Per-inverter connectivity
Switches
- Inverter Enable/Disable: Control individual inverters
- Zero Export Mode: Enable/disable zero export functionality
Numbers
- Max Power Settings: Adjust maximum power output per inverter
Buttons
- ECU Reboot: Remotely reboot the ECU device
Troubleshooting
Common Issues
1. ECU Not Found / Connection Failed
Symptoms: Integration setup fails with connection error
Solutions:
- Verify the ECU IP address is correct
- Ensure ECU is powered on and connected to your network
- Check that Home Assistant can reach the ECU (same network/VLAN)
- Try pinging the ECU from your Home Assistant system
- Verify port 8899 is not blocked by firewall
2. No Data from Inverters
Symptoms: ECU connects but no inverter data appears
Solutions:
- Check if inverters are powered and producing power
- Verify inverters are properly connected to ECU
- Check ECU web interface to confirm inverters are detected
- Restart the integration from Settings > Devices & Services
3. Intermittent Connection Issues
Symptoms: Integration works sometimes but disconnects frequently
Solutions:
- Increase the scan interval to reduce ECU load
- Enable "Cache Reboot" option
- Check ECU power supply stability
- Verify network connectivity is stable
4. Integration Not Appearing in HACS
Symptoms: Can't find the integration in HACS
Solutions:
- Ensure you've added the custom repository correctly
- Refresh HACS repository list
- Check that the repository URL is correct
- Clear HACS cache and restart Home Assistant
Log Analysis
To enable debug logging for troubleshooting:
- Add this to your
configuration.yaml:logger: default: warning logs: custom_components.APsystems_ecu_reader: debug - Restart Home Assistant
- Check Settings > System > Logs for detailed information
Getting Help
If you continue to experience issues:
- Check the GitHub Issues page
- Review existing issues for similar problems
- Create a new issue with:
- Home Assistant version
- Integration version
- ECU model and firmware version
- Inverter models and quantities
- Relevant log entries
- Configuration details (without sensitive information)
Updates
- HACS will notify you when updates are available
- Go to HACS > Integrations
- Find APsystems ECU Reader and click UPDATE
- Restart Home Assistant after the update
Uninstallation
- Remove the integration from Settings > Devices & Services
- Delete entities if prompted
- Remove via HACS or delete the
custom_components/APsystems_ecu_reader/folder - Restart Home Assistant
- Clean up any related dashboard cards or automations