SAJ Solar Inverter
The saj
integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] will poll a SAJ
This sensor uses the web interface and to use it, you have to be able to connect to the solar inverter from your favorite web browser.
There is a difference between inverters that are connected via an ethernet module and those connected via a Wi-Fi module. The Wi-Fi module requires a username and password for authentication where the ethernet module does not.
Configuration
To enable this integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more], add the following lines to your configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file.
在更改了configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。 该集成现在显示在集成页面的 设置 > 设备与服务 下。其实体在集成卡片上以及实体标签上列出。
# Example configuration.yaml entry
sensor:
- platform: saj
host: IP_ADDRESS_OF_DEVICE
Configuration Variables
Username for logging in to SAJ Solar Inverter (only used when type is ‘wifi’ but can be skipped if the inverter still has the default credentials set: admin/admin)
Sensors
Sensors available in the library:
name | Unit | Description |
---|---|---|
current_power | W | Current power generated by the inverter. |
today_yield | kWh | Power yield for today. |
today_time | h | Inverter’s running time for today. |
today_max_current | W | Maximum current power for today. (only for connection via ethernet module) |
total_yield | kWh | Total kWh generated to date. |
total_time | h | Total running time of the inverter. |
total_co2_reduced | kg | Total CO2 in kg reduced. |
temperature | °C | Temperature of the inverter. |
state | N/A | Live state of the inverter. |
Full configuration example for Wi-Fi inverters
sensor:
- platform: saj
name: MY_INVERTER_NAME
host: IP_ADDRESS_OF_DEVICE
type: wifi
username: USERNAME
password: PASSWORD