ioBroker / AdapterRequests

This Place is used to track the status of new Adapter-Requests.
248 stars 36 forks source link

Adapter for Victron VRM portal #374

Open gidhap opened 4 years ago

gidhap commented 4 years ago

Although several registers of the Victron PV inverters are accessible via Modbus, it is difficult to calculate energy consumption and generation. Victron provides a nice portal (the VRM portal ) where all relevant data and statistics are available. I'd love to be able to include this data into my ioBroker setup. Good thing is... there is an API provided by Victron. even as a PDF Unfortunately I have no clue about coding...

Hope to get some thumbs up for this one

gidhap commented 4 years ago

@Apollon77 I could give you access to my VRM portal, so you don't need hardware, hope this helps :)

Apollon77 commented 4 years ago

Thank you and the developer that finds this issue would be happy to also get that offen ;-) It most likely will not be me because I have too many other duties on my plate :-)

gidhap commented 4 years ago

worth a try ;o)

mbad82 commented 4 years ago

Also interested!

weigejer commented 4 years ago

would also be interested. greetings Jรถrg

elkja commented 4 years ago

would also be interested

SimonBard commented 4 years ago

I think I might be able to help out here. Can someone mail me login-data for the account? mail-user is notmyham, I am using gmail.

gidhap commented 4 years ago

@SimonBard I sent you an e-mail :)

rbagia commented 3 years ago

any update here my friends?

gidhap commented 3 years ago

no news so far on my side, else than I replaced my Victron stuff recently.

blaumsass commented 2 years ago

iยดve been interrestet

Eyergeorges commented 1 year ago

iยดve been interrestet

Apollon77 commented 1 year ago

For all "me too" poster ... if you do not vote in the initial post here with a thumbs up NOONE will see it ... and please do that and no "Me too" posts. Thank you

derAlff commented 1 year ago

For information: At the moment I develop an adapter for Victron Energy devices ๐Ÿ˜Ž

mcm1957 commented 1 year ago

@derAlff Thanks for the info and especially for your effort and spending your time. Please post the link to the repository as soon as you have committed some usaeable code.

derAlff commented 1 year ago

Hey ho, no problem. I need my Energy Storage in my ioBroker... so I can spend the code ๐Ÿ‘Œ

At the moment I'm in the testing phase. Is this solved, I commit the code to GitHub and post the link here and in the forum too ๐Ÿ‘

derAlff commented 1 year ago

Dear all,

I have created an adapter. Now, can you tell me your preferred values you want?

For test respectively at the moment I read the following values:

  1. Mode (Grid, Shore,...)
  2. Consumption on L1, L2, L3 (voltage, amperes and watts)
  3. Grid usage on L1, L2, L3 (voltage, amperes and watts)
  4. Inverter production on L1, L2, L3 (voltage, amperes and watts)
derAlff commented 1 year ago

Hey ho, here is the Link to the repo. Please test it ;)

https://github.com/derAlff/ioBroker.ve

Apollon77 commented 1 year ago

Is "ve" as name really the best choice?

derAlff commented 1 year ago

No, not the best. But I am talking with Victron Energy for usage of name and logo the last days. If that is not clear I use "ve" as name ๐Ÿ˜…

HolgerCR commented 1 year ago

to set some values over Iobroker whpuld be fine , example i use also the Charger so i can set the cahrcing to 8 instead 16... To read the voltage about the batteries whould also be fine and many more values thanks in advance

derAlff commented 1 year ago

Is noticed ๐Ÿ‘ Thank you for your feedback ๐Ÿ‘Œ

incase commented 1 year ago

@derAlff IIUC, you are using the modbus interface. The request here was for using the VRM API though. The VRM API has one very large plus over the modbus interface: It allows reading forecast data.

curl --request GET --url "https://vrmapi.victronenergy.com/v2/installations//stats?type=custom&attributeCodes[]=vrm_pv_inverter_yield_fc&interval=hours&start=&end=" --header 'Content-Type: application/json' --header 'x-authorization: Bearer '

where VRM_portal_ID is the token number (usually 6 digits, I guess) that is also part of the URL when you are logged in via a browser) and is what you get when you send a login request. The request here asks for the predicted inverter yield (if you have a PV inverter connected to the GX device via modbus / sunspec), vrm_pv_charger_yield_fc would return the predicted yield from an MPPT.

derAlff commented 1 year ago

@derAlff IIUC, you are using the modbus interface. The request here was for using the VRM API though. The VRM API has one very large plus over the modbus interface: It allows reading forecast data.

curl --request GET --url "https://vrmapi.victronenergy.com/v2/installations//stats?type=custom&attributeCodes[]=vrm_pv_inverter_yield_fc&interval=hours&start=&end=" --header 'Content-Type: application/json' --header 'x-authorization: Bearer '

where VRM_portal_ID is the token number (usually 6 digits, I guess) that is also part of the URL when you are logged in via a browser) and is what you get when you send a login request. The request here asks for the predicted inverter yield (if you have a PV inverter connected to the GX device via modbus / sunspec), vrm_pv_charger_yield_fc would return the predicted yield from an MPPT.

Parallel I create an adapter for using VRM. But this adapter is not ready for tests. Please wait for release.

KIRK-NRW commented 2 weeks ago

@derAlff do you have any update on the progress of the adapter for using VRM? When are you planning to release?