-
-
Notifications
You must be signed in to change notification settings - Fork 7
Installation using HACS (Recommended)
This guide will walk you through installing the APSystems ECU Reader custom integration for Home Assistant using HACS (Home Assistant Community Store).
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
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)
- ECU Models: ECU-R, ECU-R-Pro, ECU-B, ECU-C, ECU-3
- Inverter Series: YC500, YC600, YC1000, DS3, QS1, QT2
- Open Home Assistant and navigate to HACS
- Click on Integrations
- Click the three dots menu (⋮) in the top right corner
- Select Custom repositories
- Add the following repository:
-
Repository URL:
https://github.com/haedwin/homeassistant-apsystems_ecu_reader -
Category:
Integration
-
Repository URL:
- Click ADD
- In HACS, search for "APSystems ECU Reader"
- Click on the integration when it appears
- Click INSTALL
- Select the latest version and click INSTALL again
- Wait for the installation to complete
- Go to Settings > System > Restart
- Click RESTART and wait for Home Assistant to come back online
If you prefer to install manually or don't have HACS:
- Download the latest release from the GitHub repository
- Extract the contents
- Copy the
apsystems_ecu_readerfolder to your Home Assistantcustom_componentsdirectory:config/custom_components/apsystems_ecu_reader/ - Restart Home Assistant
- Navigate to Settings > Devices & Services
- Click + ADD INTEGRATION
- Search for "APSystems ECU Reader"
- Click on the integration to start configuration
Fill in the required information:
-
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:
-
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:
If you want to manage ECU WiFi settings:
- WiFi SSID: Your network name
- WiFi Password: Your network password
- 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
- 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
The integration creates several types of entities:
- 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
- ECU Online Status: ECU connectivity status
- Individual Inverter Online: Per-inverter connectivity
- Inverter Enable/Disable: Control individual inverters
- Zero Export Mode: Enable/disable zero export functionality
- Max Power Settings: Adjust maximum power output per inverter
- ECU Reboot: Remotely reboot the ECU device
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
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
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
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
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
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)
Create energy monitoring dashboards using the provided entities:
type: gauge
entity: sensor.apsystems_ecu_power
name: Solar Power
min: 0
max: 3000
severity:
green: 0
yellow: 1000
red: 2500type: statistic
entity: sensor.apsystems_ecu_energy_today
name: Today's Production
stat_type: max
period: 5minutetype: grid
cards:
- type: entity
entity: binary_sensor.apsystems_inverter_1_online
name: Inverter 1
- type: entity
entity: sensor.apsystems_inverter_1_power
name: Poweralias: "Solar: Low Production Alert"
trigger:
- platform: numeric_state
entity_id: sensor.apsystems_ecu_power
below: 100
for: "01:00:00"
condition:
- condition: sun
after: sunrise
after_offset: "02:00:00"
- condition: sun
before: sunset
before_offset: "-02:00:00"
action:
- service: notify.mobile_app
data:
message: "Solar production is unexpectedly low"- 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
- Download the latest release
- Replace the files in
custom_components/apsystems_ecu_reader/ - Restart Home Assistant
- 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
- Documentation: GitHub Repository
- Issues: GitHub Issues
- Discussions: Home Assistant Community
Version: 2.12.1
Last Updated: October 2025
Maintainer: @haedwin