Replies: 6 comments 11 replies
-
Hi. nice work, but i have some issues with "Bearer TokenID". If is possible, it will be nice to get a screenschot of integration file. |
Beta Was this translation helpful? Give feedback.
-
I have made some progress. Thank you for your help. Can you tell me how I can fix this? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hey nice work! Some feedback: The Installtion stats are always historical data (i.e. last day), is it possible to get current data? Seems like you would have to querry different url endpoints which doesnt seem to be possible with the custom api? Matthias |
Beta Was this translation helpful? Give feedback.
-
Btw i just realized you can use a token generated in VRM: Don't forget to change |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically closed due to inactivity. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
here is my customapi widget for my solar power plant from victron.
icon: /icons/victron.png # your own icon link
href: https://vrm.victronenergy.com/installation/**yourInstalationnumber**/dashboard
ping: https://vrm.victronenergy.com/installation/**yourInstalationnumber**/dashboard
widget:
type: customapi
url: https://vrmapi.victronenergy.com/v2/installations/**yourInstalationnumber**/stats?interval=15mins
refreshInterval: 60000 # 1min. - in milliseconds, defaults to 10s
method: GET # optional, e.g. POST
headers:
Content-Type: application/json
x-authorization: Bearer your_Bearertoken
mappings:
- field:
totals: total_solar_yield
label: Erzeugung
format: number
suffix: kWh
- field:
totals: total_consumption
label: Verbrauch
format: number
suffix: kWh
- field:
totals: grid_history_to
label: Abgabe
format: number
suffix: kWh
- field:
records:
bs:
95: 1
label: Batterie
format: percent
Beta Was this translation helpful? Give feedback.
All reactions