krauskopf / node-red-contrib-car-bmw

Node-RED nodes for BMW ConnectedDrive
Other
11 stars 8 forks source link

Not an issue: feature request #10

Closed bbwouters closed 1 year ago

bbwouters commented 2 years ago

Would it be possible to add an action:

Initiate Charging If the vehicle is plugged in, but not charging (due to an off peak setting?) it is possible to force the car to charge.

serviceType=CHARGE_NOW

With current focus on energy it would allow to trigger a charging session when there is an excess of solar energy or net capacity is available in these countries where you have capacity penalties.

Much appreciated

krauskopf commented 2 years ago

I have added the service, but did not have a chance to test it. Please give it a try and report back. Thanks and regards.

bbwouters commented 2 years ago

I get the following error for the charging command: 23/01/2022, 19:30:43node: 28196ee954d44ac8 msg : error "Error: Server http statusCode 502"

Flashing headlights etc.. works with no issue.

bbwouters commented 2 years ago

Installing the BMW node on a second instance gives (me) an error:

node-red-contrib-car-bmw 0.3.2 SyntaxError: Unexpected token = (line:27) car-bmw

2022-01-30T13:44:00.012Z Install : node-red-contrib-car-bmw 0.3.2

2022-01-30T13:44:02.036Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-car-bmw@0.3.2 2022-01-30T13:44:05.952Z [out] + node-red-contrib-car-bmw@0.3.2 2022-01-30T13:44:05.952Z [out] added 1 package from 1 contributor in 2.421s 2022-01-30T13:44:06.012Z rc=0

klessed commented 1 year ago

Error: Server http statusCode 404: Resource Not Found

krauskopf commented 1 year ago

Please try with version 0.5.3