krauskopf / node-red-contrib-car-bmw

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

Update user-agent to fix 403 #16

Closed dzett closed 2 years ago

dzett commented 2 years ago

Hi @krauskopf, as suggested in https://github.com/krauskopf/node-red-contrib-car-bmw/issues/15#issuecomment-1140243316 I have updated the user agent string. I don't know your workflow, but "works on my machine" ;-) Best, dzett

dzett commented 2 years ago

Fix is maybe a bit too quick-and-dirty, I guess the "row" part of the user agent should actually depend on the region setting. Also noticed that all fields in the status of the BMW List node are now in miles...

jkellerer commented 2 years ago

Have omitted the “;row” suffix and mileage and range remain in km (doesn’t have to be the reason though). The suffix isn’t required to fix the auth issue.

krauskopf commented 2 years ago

Thanks @dzett , works also on my machine ;-). Will remove the suffix and make a release.

krauskopf commented 2 years ago

Thanks @jkellerer , will remove the row and make a releas.