Has anyone found a way to bring their solar information into HA Energy ?
This is the website that Duracell has for web access:
https://pv.duracellpowercenter.app/platform/login
I see a ton for Enphase but nothing so far for Duracell.
Has anyone found a way to bring their solar information into HA Energy ?
This is the website that Duracell has for web access:
https://pv.duracellpowercenter.app/platform/login
I see a ton for Enphase but nothing so far for Duracell.
I would like to know this too as I’m looking at getting a Duracell inverter but so far have found no documented way to control it, other than from their apps.
@lampshade29 That link you had to Duracell power app – what is that for and how did you come across it? I have friends who already have a Duracell energy install and they have never come across that or been told about it from their installer.
Sorry, confusion on my part, ignore my post
… it looks like in US you have a product called “Duracell Power” based on micro-inverters
… but in UK we have a product called “Duracell Energy” based on a hybrid inverter and clearly nothing to do with each other except for the top level corporate ownership maybe.
Claude and I were able to get the data into HA but Duracell keeps autologging me out of the website every 24hrs on the dot.
Since Duracell Power Center has a web portal at pv.duracellpowercenter.app, you might be able to:
You’d need to configure sensors like this in your configuration.yaml:
yaml
sensor:
- platform: rest
resource: "https://pv.duracellpowercenter.app/api/your-endpoint"
headers:
Authorization: "Bearer YOUR_TOKEN"
name: "Solar Production"
value_template: "{{ value_json.power }}"
Then I had to put this in my configuration yaml
rest:
rest:
- resource: https://pv.duracellpowercenter.app/platform/api/gateway/pvm-data/data_count_station_real_data
method: POST
headers:
Content-Type: application/json
Cookie: >-
duracell_token="insert your cookie token here"
payload: '{"sid":9188200}'
scan_interval: 600
sensor:
- name: "Duracell Real Power"
unique_id: duracell_real_power
value_template: "{{ value_json.data.real_power | float }}"
unit_of_measurement: "W"
device_class: power
state_class: measurement
- name: "Duracell Output Percent"
unique_id: duracell_output_percent
value_template: >
{% set power = value_json.data.real_power | float %}
{{ ((power / 20500) * 100) | round(1) }}
unit_of_measurement: "%"
icon: mdi:percent
- name: "Duracell Today's Energy"
unique_id: duracell_todays_energy
value_template: >
{% set val = value_json.data.today_eq | default('0') %}
{% if val != 'null' and val != '' %}
{{ (val | float / 1000) | round(2) }}
{% else %}
0
{% endif %}
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
- name: "Duracell Last Update"
unique_id: duracell_last_update
value_template: >
{{ value_json.data.data_time | default("Unavailable") }}
icon: mdi:clock-outline
- name: "Duracell Capacity"
unique_id: duracell_capacity
value_template: "{{ value_json.data.capacitor | float }}"
unit_of_measurement: "kW"
device_class: power
This works too and talks to the panels
Hi @lampshade29
Sorry to be clear, are you saying the linked code works with Duracell inverters?
Have you tested this, or do you otherwise know that it obeys the same modbus specs?
Thanks