Hi, I am trying to deploy the victron solar prediction into Home Assistant. I currently have Solcast but due to variable shading etc I would need to automate the updating of hourly damping factors. Luckily Victron themselves have something that looks quite close when I compare production to prediction
I am able to subscribe to the topic from the victron node red (node red is installed on victron) and I get
{
"success": true,
"records": {
"vrm_pv_charger_yield_fc": [
[
1730246400000,
0
],
[
1730250000000,
0
],
[
1730253600000,
0
],
[
1730257200000,
0
],
[
1730260800000,
0
],
[
1730264400000,
0
],
[
1730268000000,
0
],
[
1730271600000,
2.8281450271606445
],
[
1730275200000,
126.15819549560547
],
[
1730278800000,
162.32110595703125
],
[
1730282400000,
265.6812744140625
],
[
1730286000000,
323.0169677734375
],
[
1730289600000,
296.2081604003906
],
[
1730293200000,
241.34619140625
],
[
1730296800000,
167.84066772460938
],
[
1730300400000,
130.4510498046875
],
[
1730304000000,
67.40150451660156
],
[
1730307600000,
0
],
[
1730311200000,
0
],
[
1730314800000,
0
],
[
1730318400000,
0
],
[
1730322000000,
0
],
[
1730325600000,
0
],
[
1730329200000,
0
]
]
},
"totals": {
"vrm_pv_charger_yield_fc": 1783.2532625198364
},
"options": {}
}
The long numbers appear to be the epoch date and the small numbers the number of watt hours produced in the specific hour of the day
I have
mqtt:
sensor:
- name: "VRM PV Charger Yield Forecast"
state_topic: "VRM/Forecast_data"
value_template: "{{ value_json.totals.vrm_pv_charger_yield_fc }}"
json_attributes_topic: "VRM/Forecast_data"
json_attributes_template: "{{ value_json.records.vrm_pv_charger_yield_fc }}"
but when I look at this entity it only shows the final total value rather than an hourly breakdown.
I assume this is why I cannot use this on the energy dashboard for the solar prediction?
Any thoughts on what I am doing wrong?
Cheers