arrow1800 / Victron-VirtualBattery

8 stars 2 forks source link

Cannot get started, ho pass Values to the driver #1

Closed pos-ei-don closed 1 year ago

pos-ei-don commented 1 year ago

Hi! Wanted to try your driver. installed it and the nodered-Flow, butthere it is not documented how to paas the values to the rest-api http url you are using to comunicate. Can you help here?

arrow1800 commented 1 year ago

hi Poseidon, yes off course. do you want to know how the values are send from node-red to the driver?

arrow1800 commented 1 year ago

i added some extra info to the readme. does that help?

pos-ei-don commented 1 year ago

Thank you a lot, but sorry, it does not help me. How can I set Charge current to 150A? How do I calll this restservice?

arrow1800 commented 1 year ago

restservice is called by the driver. you dont have to do that.

setting charge current can be done here: image

pos-ei-don commented 1 year ago

This I understand. But what is at the right. Where does the payload "Flow to"

arrow1800 commented 1 year ago

i am using node-red flow variables. these are variables that are held in memory and are available through the whole flow. in other words. they can be retrieved at another place, for example here:

image

more info on flow variables: https://nodered.org/docs/user-guide/context

arrow1800 commented 1 year ago

i updated the example flow a bit more. maybe that clears things up a bit