How to integrate Connext (data logger) device of your ZCS Azzurro Inverter
latest installations of ZCS azzurro are provided with a direct LAN connection to the inverter and the logging device called “CONNEXT”, connected to internet trough LTE/4G and capable of data logging of parameters coming from the inverter and forwarded to the Azzurro cloud services and Azzurro App.
To download real-time data form the inverter trough the Connext device you need to have also Connext connected to your local LAN, and you need to find the IP address of Connext.
Altought isn’t really easy to find the IP address of Connext, you can directly query the measure page (no user and password required), i.e. if your Connext device has the IP 192.168.1.100 (the IP is just an example, search for the IP assigned by your router/network) you can open the page in the browser: http://192.168.1.100 and read the measures:
To download data and use them in HASS you can configure a multiscrape sensor from daneldotnl github (see GitHub - danieldotnl/ha-multiscrape: Home Assistant custom component for scraping (html, xml or json) multiple values (from a single HTTP request) with a separate sensor/attribute for each value. Support for (login) form-submit functionality. on how to install multiscrape) and configure it as follow:
add this line to config.yaml:
multiscrape: !include multiscrape.yaml
and create a file multiscrape.yaml in the same directory (/config) with the following content:
- name: PV realtime measures
resource: http://IP_ADDRESS_OF_CONNEXT_HERE/inverter.shtml
scan_interval: 5 # 5 seconds refresh, change this but do not go under 1 sec
sensor:
- unique_id: zcs_production_kW
name: PV production
icon: mdi:solar-panel
select: "body > table:nth-child(6) > tbody > tr:nth-child(5) > td:nth-child(2)"
unit_of_measurement: "kW"
value_template: "{{ value | float }}"
- unique_id: zcs_net_kW
name: PV Net
icon: mdi:transmission-tower-import
select: "body > table:nth-child(6) > tbody > tr:nth-child(6) > td:nth-child(2)"
unit_of_measurement: "kW"
value_template: "{{ value | float }}"
- unique_id: zcs_home_kW
name: PV Home
icon: mdi:home-battery-outline
select: "body > table:nth-child(6) > tbody > tr:nth-child(7) > td:nth-child(2)"
unit_of_measurement: "kW"
value_template: "{{ value | float }}"
- unique_id: zcs_battery_kW
name: PV Battery
icon: mdi:battery
select: "body > table:nth-child(6) > tbody > tr:nth-child(8) > td:nth-child(2)"
unit_of_measurement: "kW"
value_template: "{{ value | float }}"
- unique_id: zcs_Tension
name: PV Tension
icon: mdi:flash-triangle
select: "body > table:nth-child(6) > tbody > tr:nth-child(9) > td:nth-child(2)"
unit_of_measurement: "V"
value_template: "{{ value | int }}"
- name: PV battery charge realtime
resource: http://IP_ADDRESS_OF_CONNEXT_HERE/evc.shtml
scan_interval: 30
sensor:
- unique_id: zcs_battery_charge
name: PV battery charge %
icon: mdi:battery
select: "body > table:nth-child(7) > tbody > tr:nth-child(3) > td:nth-child(5)"
unit_of_measurement: "%"
value_template: "{{ value | int }}"
hope this will help, I spent a lot of time to make things work with Solarman to download real time data from the inverter, just to discover that isn’t possible!