Installation using manual setup - HAEdwin/homeassistant-apsystems_ecu_reader GitHub Wiki
This guide will walk you through installing the APsystems ECU Reader integration manually without using HACS.
Before you begin
- With a manual installation, you won't receive notifications about the availability of a new version
- Please mention that you used the manual installation method if you need support
- Manual installations are not counted towards the total number of users for this integration.
Prerequisites
- Home Assistant Core 2021.12.0 or newer
- Access to your Home Assistant configuration directory
- An APsystems ECU device on your local network
Installation Methods
You can install this integration using one of two methods:
Method 1: Using Home Assistant File Editor Add-on (Recommended)
Method 2: Direct File System Access
Method 1: Installation Using File Editor Add-on
This is the easiest method for most users, especially those running Home Assistant OS or Supervised.
Step 1: Install File Editor Add-on
- In Home Assistant, go to Settings → Add-ons
- Click Add-on Store
- Search for "File Editor"
- Click on File Editor by Home Assistant Community Add-ons
- Click Install
- Once installed, click Start
- Optionally, enable Start on boot and Watchdog
Step 2: Access File Editor
- Go to Settings → Add-ons → File Editor
- Click Open Web UI
- You should now see your Home Assistant configuration files
Step 3: Create Directory Structure
- In the File Editor, navigate to the root of your config directory
- If the
custom_componentsfolder doesn't exist, create it:- Right-click in the file tree → New Folder
- Name it
custom_components
- Inside
custom_components, create another folder calledapsystems_ecu_reader
Step 4: Download and Upload Integration Files
-
Go to the APsystems ECU Reader GitHub repository
-
Navigate to
custom_components/apsystems_ecu_reader/ -
For each file in the directory, download it individually:
- Click on the file name (e.g., init.py)
- Click the Raw button
- Right-click → Save As and save to your computer
-
In File Editor, navigate to your
custom_components/apsystems_ecu_reader/folder -
For each downloaded file:
- Click the Upload button (folder icon with arrow) in File Editor
- Select the file from your computer
- Click Upload
Step 5: Verify Installation
In File Editor, verify that your custom_components/apsystems_ecu_reader/ folder contains these files:
__init__.pymanifest.jsonconfig_flow.pycoordinator.pyecu_api.pyecu_helpers.pysensor.pybinary_sensor.pyswitch.pynumber.pybutton.pyconst.py
When verified continue to the Final steps in this guide.
Method 2: Direct File System Access
Use this method if you have direct access to the Home Assistant file system or are using Home Assistant Core.
Step 1: Download the Integration Files
- Go to the APsystems ECU Reader GitHub repository
- Click the green Code button and select Download ZIP
- Extract the downloaded ZIP file to a temporary location on your computer
Step 2: Locate Your Home Assistant Configuration Directory
Your Home Assistant configuration directory is typically located at:
- Home Assistant OS/Supervised:
/config/ - Home Assistant Container: The directory you mounted as
/config - Home Assistant Core:
~/.homeassistant/or your configured config directory
Step 3: Create the Custom Components Directory Structure
- Navigate to your Home Assistant configuration directory
- If it doesn't already exist, create a folder called
custom_components - Inside the
custom_componentsfolder, create a new folder calledapsystems_ecu_reader
Your directory structure should look like this:
config/
├── custom_components/
│ └── apsystems_ecu_reader/
├── configuration.yaml
└── ... (other Home Assistant files)
Step 4: Copy the Integration Files
- From the extracted ZIP file, navigate to the
custom_components/apsystems_ecu_reader/folder - Copy all files from this folder into your newly created
config/custom_components/apsystems_ecu_reader/directory
Step 5: Verify File Permissions
Ensure that Home Assistant can read the files:
- Home Assistant OS/Supervised: No action needed
- Home Assistant Container: Ensure the files have appropriate read permissions
- Home Assistant Core: Run
chown -R homeassistant:homeassistant /path/to/config/custom_components/(adjust user and path as needed)
Final Steps (Both Methods)
Step 6: Restart Home Assistant
Restart Home Assistant to load the new integration:
- Go to Settings → System → Restart
- Click Restart and wait for Home Assistant to fully restart
Step 7: Add the Integration
- In Home Assistant, go to Settings → Devices & Services
- Click the + Add Integration button
- Search for "APsystems ECU Reader"
- Click on the integration when it appears
- Follow the configuration wizard to set up your ECU connection
Configuration
During setup, you'll need to provide:
- ECU IP Address: The local IP address of your APsystems ECU
- Update Interval: How often to poll the ECU for data (default: 30 seconds)
Verification
After successful installation, you should see:
- A new device in Settings → Devices & Services → APsystems ECU Reader
- Sensors for power production, energy totals, and inverter status
- Diagnostic entities for ECU status and communication
Updates
To update the integration:
Using File Editor:
- Download the latest files from GitHub
- Navigate to
custom_components/apsystems_ecu_reader/in File Editor - Upload the new files, replacing the existing ones
- Restart Home Assistant
Using Direct Access:
- Download the latest version from GitHub
- Replace all files in the
custom_components/apsystems_ecu_reader/directory - Restart Home Assistant