Comments (17)
Made a release (v4.0.3), based on the contributions from @OABsoftware and @dzett. Thanks!
Please give it a try.
from node-red-contrib-car-bmw.
Same here.
The https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles returns a 403 error.
from node-red-contrib-car-bmw.
Same Problem since 2 days...
28.5.2022, 12:05:03node: BMW X1 Hybridmsg : error
"Error: Server http statusCode 403"
from node-red-contrib-car-bmw.
Please update row 290 of bmw.js to:
'x-user-agent': 'android(SP1A.210812.016.C1);bmw;2.5.2(14945);row',
from node-red-contrib-car-bmw.
Please update row 290 of bmw.js to: 'x-user-agent': 'android(SP1A.210812.016.C1);bmw;2.5.2(14945);row',
worked great, thanks!
from node-red-contrib-car-bmw.
Please update row 290 of bmw.js to:
'x-user-agent': 'android(SP1A.210812.016.C1);bmw;2.5.2(14945);row',
Worked here also. Thanks
from node-red-contrib-car-bmw.
hmm works not for me:
"Error: Server http statusCode 503"
from node-red-contrib-car-bmw.
I found out that the "row" part at the end of the user agent string is the abbreviation of "rest of world".
If your region is North America, "row" should be replaced by "na".
It it is China, it should be "cn".
So the last part of the user agent string needs to be made region dependant.
from node-red-contrib-car-bmw.
hi ... are here solutions on the way. or not and i can deinstall the nodes? While i get only loading statistic and specifications. The List not brings me up a empty array.
no details of the mini se
from node-red-contrib-car-bmw.
Hi @Donni1966, at least for BMW it is working with the list node. I selected in the List node as Output "as multiple messages, one per car" and receive two messages for my cars. In the message.payload I find most of the needed information in the "properties" Object (e.g. door status, fuel level and combined rangem) and "status" object (e.g. currentMileage).
I cross checked with bimmer_connected and it seems that the user agent 'x-user-agent': 'android(SP1A.210812.016.C1);bmw;2.5.2(14945)',
also contains the info of which brand app is requesting data (bmw or mini) maybe there is a check on the API for it?
from node-red-contrib-car-bmw.
that's the problem - I get with list and empty array.
no info inside
I cross checked with bimmer_connected and it seems that the user agent
'x-user-agent': 'android(SP1A.210812.016.C1);bmw;2.5.2(14945)',
also contains the info of which brand app is requesting data (bmw or mini) maybe there is a check on the API for it?
sorry do not understand this
from node-red-contrib-car-bmw.
Hi @Donni1966 ,
can you check if my modification helps? You would need to install the module out of my forked and modified repository: https://github.com/oemich/node-red-contrib-car-bmw if you report that it works, I could incorporate it also here.
I cannot verify it by my own as I have no mini to test.
from node-red-contrib-car-bmw.
@oemich i installed via palette the version 0.4.4 and i try a List request -> result: Empty array :-/ or is there a way to install your fork? Do not know exactly how to do this
from node-red-contrib-car-bmw.
@Donni1966 you would need to install it differently:
- Uninstall todays node
- Got to your nodered installation folder in the terminal and perfom
npm install https://github.com/oemich/node-red-contrib-car-bmw
(https://nodered.org/docs/user-guide/runtime/adding-nodes#installing-with-npm) - Restart nodered to see the newly installed node
Now you can try it ... the node is named the same way as from the original repository here.
from node-red-contrib-car-bmw.
puh that's mean I have to delete alle nodes with this config, deinstall and reinstall and configure again. For this I need more time as I have in the moment. it is possible to stop node-red install in the folder and start again?
from node-red-contrib-car-bmw.
I just tried it, and yes this would also work.
- Stop your node Red
- install the Updated "node" from my repository
npm install https://github.com/oemich/node-red-contrib-car-bmw
- Start your node red and test
Don't forget to install the original package after the test ... same steps as above just replace the npm install
step with npm install node-red-contrib-car-bmw
If you confirm that it works with the change, I will create a Pull Request with a configurable option for the manufacturer.
from node-red-contrib-car-bmw.
thanx @oemich for the instruction - but no changes. Still and empty array :-/ so, looks like only bmw cars are listed.
so i finally switch to Home Assistant and read the data from there to put in on the dashboard.
The switches like Horn, Climatic on off ans lock system works fine. the charging statistic also.
for me at the moment works fine. Thanx for helping and trying
from node-red-contrib-car-bmw.
Related Issues (20)
- Not an issue: feature request HOT 4
- Not an issue: function node for ChargingSessions HOT 1
- "Error: Couldn't find token in response" HOT 17
- charging profiles / departure time HOT 1
- Error: Server http statusCode 503 HOT 12
- Distances in miles instead of km HOT 1
- Error: Server http statusCode 400 HOT 1
- Getting Error: connect ECONNREFUSED HOT 4
- BMW Action Node "Climate Stop" not working HOT 2
- Server send http statusCode 200 on stage 2 HOT 6
- SyntaxError: Unexpected token = (line:27) HOT 1
- Socket hang up HOT 1
- Feature request HOT 4
- Error: Server send http statusCode 401 on stage 1 HOT 3
- Error: Server http statusCode 404 HOT 10
- Feature request - open/close all windows HOT 1
- ECONNREFUSED HOT 1
- Won't save region or password after first configuration
- statusCode 410 Error HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-car-bmw.