Closed Donni1966 closed 3 years ago
Hi, other solutions have problems, too and tell that they need to change from http://www.bmw-connecteddrive.de to http://www.bmw-connecteddrive.com
Thanx for this info - i am still configured on this address http://www.bmw-connecteddrive.com. there i get the error
Hi, try to do this - but not sure what i do :-)
i change the tokenmanger.js (/home/pi/.node-red/node_modules/node-red-contrib-car-bmw/lib/tokenmanager.js) with the changes, restart node
and get the same result :
{"_msgid":"6693b328.9c298c","vin":"WMWXP310302Pxxxxx","payload":{"statusCode":404,"requestUrl":"https://ise-bev-prod-emea.bmwgroup.net/bev/vehicle/efficiency/v1/WMWXP310302Pxxxxx","requestTimestamp":1616884456705,"logTransactionId":"-216861523;3349746"},"title":"efficiency“}
do i something wrong?
byby, Michael
Am 27.03.2021 um 22:46 schrieb jkellerer @.***>:
@Donni1966 https://github.com/Donni1966 , before I create a PR, can you verify my change 9ab0074 https://github.com/krauskopf/node-red-contrib-car-bmw/commit/9ab0074cef57a699270f33c72637a0dbd339500f? It fixed it for me for the moment.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/krauskopf/node-red-contrib-car-bmw/issues/5#issuecomment-808806927, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWN6HLYYGRDYLSL6IZB54DTFZG3RANCNFSM4ZLL3GXA.
Sorry, my bad. Was too quick in requesting a test. Had looked at the wrong timestamps, in fact it is not fixed.
Looks like the API is currently not available. The response seems to originate from the connected-drive servers themselves (an internal error response). The official app does not show efficiency values anymore, eventually it is currently being rebuilt or the function was removed entirely.
Yes I think so. They work on the interface. Thanks for try to fix it.
Am 27. März 2021 um 22:46:32, jkellerer @.**@.)) schrieb:
@Donni1966(https://github.com/Donni1966) , before I create a PR, can you verify my change 9ab0074(https://github.com/krauskopf/node-red-contrib-car-bmw/commit/9ab0074cef57a699270f33c72637a0dbd339500f)? It fixed it for me for the moment.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub(https://github.com/krauskopf/node-red-contrib-car-bmw/issues/5#issuecomment-808806927), or unsubscribe(https://github.com/notifications/unsubscribe-auth/AOWN6HLYYGRDYLSL6IZB54DTFZG3RANCNFSM4ZLL3GXA).
Can't test, because I have no PHEV, but in another forum I have read, that the values can be found in the "Dynamic" values now. https://www.active-tourer-forum.de/forum/thread/1231-auslesen-der-bmw-daten-mit-fhem-225xe/?pageNo=17 Maybe worth a try.
But with all this migration from connected drive to myBMW I fear, that the API will be shutdown sooner or later. And probably replaced by a closed one.
@krauskopf Here some current data of node dynamic for an i3, perhaps it helps:
{"unitOfLength":"km","remaining_range":"19",
"sunroof_state":"CLOSED","vehicle_tracking":"true",
"updateTime_converted":"27.03.2021 17:52","door_driver_rear":"CLOSED","beMaxRangeElectricKm":"90",
"door_passenger_rear":"CLOSED","beRemainingRangeFuelKm":"19",
"Segment_LastTrip_time_segment_end_formatted_date":"27.03.2021",
"door_driver_front":"CLOSED","shdStatusUnified":"CLOSED",
"hood_state":"CLOSED","charging_status":"CHARGINGENDED",
"kombi_current_remaining_range_fuel":"19","beMaxRangeElectric":"90",
"window_driver_rear":"CLOSED","beRemainingRangeElectricKm":"90",
"mileage":"78453","Segment_LastTrip_time_segment_end_formatted_time":"14:16",
"Segment_LastTrip_time_segment_end_formatted":"27.03.2021 14:16",
"unitOfEnergy":"kWh","overall_energy_consumption":"16.902",
"beRemainingRangeElectric":"90","sunroof_position":"0","soc_hv_percent":"82",
"single_immediate_charging":"false","updateTime_converted_time":"17:52",
"connectorStatus":"CONNECTED","chargingHVStatus":"FINISHED_FULLY_CHARGED",
"chargingLevelHv":"100","unitOfCombustionConsumption":"l/100km",
"gps_lat":"xxx","window_driver_front":"CLOSED","Segment_LastTrip_ratio_electric_driven_distance":"100",
"gps_lng":"xx","condition_based_services":"3,OK,2022-05,;100,OK,2022-05,;32,OK,2022-12,;",
"window_passenger_front":"CLOSED","window_passenger_rear":"CLOSED",
"lastChargingEndReason":"CHARGING_GOAL_REACHED",
"updateTime_converted_date":"27.03.2021","beRemainingRangeFuelMile":"11",
"beRemainingRangeFuel":"19","door_passenger_front":"CLOSED",
"beChargingLevelHv":"100","updateTime_converted_timestamp":"1616867561000",
"remaining_fuel":"2","heading":"63","lsc_trigger":"CHARGINGDONE",
"lights_parking":"OFF","door_lock_state":"SECURED","updateTime":"27.03.2021 17:52:41 UTC",
"beEnergyLevelHv":"16.902","remaining_charging_time_minutes":"0","trunk_state":"CLOSED",
"battery_size_max":"21","beRemainingRangeElectricMile":"90","charging_connection_type":"conductive",
"unitOfElectricConsumption":"kWh/100km","lastUpdateReason":"CHARGINGDONE",
"Segment_LastTrip_time_segment_end":"27.03.2021 14:16:00 UTC"}
Thanks, so aren't the attributes like 'beEnergyLevelHv' the ones which have previously been in the efficency category?
i miss in Dynamic:
last Trip infos for minutes and hours. and efficiencyQuotient the KM Level i found in Dynamic also ..
this is the dynamic request on a mini se {"unitOfLength":"km","remaining_range":"149","vehicle_tracking":"true","updateTime_converted":"28.03.2021 15:36","beMaxRangeElectricKm":"149","beRemainingRangeFuelKm":"149","Segment_LastTrip_time_segment_end_formatted_date":"27.03.2021","door_driver_front":"CLOSED","hood_state":"CLOSED","charging_status":"NOCHARGING","kombi_current_remaining_range_fuel":"149","beMaxRangeElectric":"149","beRemainingRangeElectricKm":"149","mileage":"4128","Segment_LastTrip_time_segment_end_formatted_time":"15:09","Segment_LastTrip_time_segment_end_formatted":"27.03.2021 15:09","unitOfEnergy":"kWh","overall_energy_consumption":"29.591","beRemainingRangeElectric":"149","soc_hv_percent":"100","single_immediate_charging":"false","updateTime_converted_time":"15:36","connectorStatus":"DISCONNECTED","chargingHVStatus":"INVALID","chargingLevelHv":"100","unitOfCombustionConsumption":"l/100km","gps_lat":"47.961426","window_driver_front":"CLOSED","Segment_LastTrip_ratio_electric_driven_distance":"100","gps_lng":"11.535486","condition_based_services":"100,OK,2022-12,;3,OK,2022-12,;","window_passenger_front":"CLOSED","lastChargingEndReason":"CHARGING_GOAL_REACHED","updateTime_converted_date":"28.03.2021","beRemainingRangeFuelMile":"92","beRemainingRangeFuel":"149","door_passenger_front":"CLOSED","beChargingLevelHv":"100","updateTime_converted_timestamp":"1616945789000","remaining_fuel":"0","heading":"62","lsc_trigger":"VEHCSHUTDOWN_SECURED","lights_parking":"OFF","door_lock_state":"SECURED","updateTime":"28.03.2021 15:36:29 UTC","beEnergyLevelHv":"29.591","remaining_charging_time_minutes":"0","trunk_state":"CLOSED","battery_size_max":"33.2","beRemainingRangeElectricMile":"149","charging_connection_type":"conductive","unitOfElectricConsumption":"kWh/100km","lastUpdateReason":"VEHCSHUTDOWN_SECURED","Segment_LastTrip_time_segment_end":"27.03.2021 15:09:00 UTC"}
Cool ... never red about a second way to get data from the api.
Sorry but the export can not importet
some typ error ... ca you export the flow a second time?
i changed my flows to a native api call so i can get allTrips and lastTrip working fine for my Mini SE feel free to use it, hopefully they will keep this api call working for compatibility reasons for a couple of years ;-) just edit the "prep request" node with VIN, username + password
Perfekt Thanx a lot. All Values i need are in this two requests, and much more... i never see at the other output.
I love good community :-)
solved
Hi ,
i don't get data after request from this Efficiency module. I get this in the debug
{"statusCode":404,"requestUrl":"https://ise-bev-prod-emea.bmwgroup.net/bev/vehicle/efficiency/v1/finfinfinfinfin","requestTimestamp":1616015515366,"logTransactionId":"c20ee54c-6a95-455e-a369-fededa96fab2"}
I think it is come today the first time. Are they changing the output?
cu.