Home assistant custom component to support Renac Solar Inverter Only On-Grid type of Inverters (R3-xK-DT) are supported. The NV3-HV kind of Hybrid Inverter may work but requires testing due to the recent changes on the Renac API.
As from version 0.1.3, the configuration is now done through the UI. Remove the renac: section from the configuration.yml and configure the component from the UI directly.
The name of the various sensors also changed to include the name of the equipment (for future support of multiple equipements)
This version also includes a tentative support for the Hybrid Inverters. This hasn't been tested since I don't have access to it. I added the sensors that were proposed in one of the reported issues.
The session management should also be a bit more robust. The whole logic to interact with the Renac back-end server has been moved to the pyrenac project and has also been updated to use async logic everywhere. This is a requirement if we want to include this component as part of the official intergrations.
This version also includes a service to sync the recorder data (to fix wrong/missing long term statistics). So far all my attempts where rather unsuccessful in the way that the imported data looked good, but all subsequent data were broken... so don't use it unless you want to break everything have have to fix the recorder database by hand...
- The hybrid inverter changes in this PR (expanded sensors, new
binary_sensorplatform) were verified live against an N3-HV-10.0 hybrid inverter only. They rely on two fixes to thepyrenacpackage itself - correct hybrid-inverter detection and a missing signature header - proposed separately in gastush/pyrenac#4. Until that's merged and released, hybrid inverters still won't be detected correctly even with this PR applied. - The on-grid sensor field names (
SUM_ENERGY,OUTPUT_POWER,PV1_VOL, etc. inONGRID_SENSORS) were left untouched and have not been re-verified against the current RENAC Cloud API - given the API has changed multiple times (see #21, #26), they may or may not still be accurate. Reports from on-grid owners testing against current hardware are very welcome.
Step 1 — Add this repository to HACS:
If the button doesn't work, add manually:
- Open HACS → Integrations → click the ⋮ menu → Custom repositories
- Add this repository URL and select category Integration
- Find Renac Solar Inveter in the HACS store and click Download
- Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration → search for Renac Inveter
- Complete the setup wizard
- Download or clone this repository
- Copy the
renac/folder intoconfig/custom_components/:config/ └── custom_components/ └── renac/ ├── __init__.py ├── config_flow.py ├── const.py ├── coordinator.py ├── entity.py ├── manifest.json ├── sensor.yaml ├── services.yaml └── strings.json - Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration → search for Renac Inverter
To date, the following sensors are supported :
- AC generated power (W)
- Today's total generated power (kWh)
- PV 1,2 Voltage (V)
- PV 1,2 Current (A)
- PV 1,2 Power (W)
- R,S,T Voltage (V)
- R,S,T Current (A)
- R,S,T Frquency (Hz)
- Total generated power (kWh)
- Total Energy (kWh)
- Today's Energy (kWh)
- Load (W)
- PV (W)
- Battery (W)
- Grid (W)
- Charge (%)
