FilipDem / Domoticz-BMW-plugin

Domoticz plugin working with BMW Connected Drive
4 stars 2 forks source link

I receive no update #8

Closed jpy475 closed 2 years ago

jpy475 commented 2 years ago

Hi,

I can create hardware and devices using the BMW plugin to connect a BMW X1 of 2021, but data are not updated. The only error I receive at startup is the following:

2022-02-13 16:57:27.806 Status: BMW_X1: (BMW_X1) Entering work loop. 2022-02-13 16:57:27.806 Status: BMW_X1: (BMW_X1) Started. 2022-02-13 16:58:11.999 Status: BMW_X1: (BMW_X1) Initialized version 3.1.0, author 'Filip Demaertelaere' 2022-02-13 16:58:15.006 Error: BMW_X1: (BMW_X1) General error TaskHandler: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Domoticz version 2021.1 is running on a Raspberry PI.

Can you help me?

Thank you Regards

Jean_Pierre

FilipDem commented 2 years ago

Did you try the command-line bimmerconnected? Did you well enter your password, username and VIN in the settings? I could suspect that one of them is left empty, because I had no defence in coding when they are empty. Potentially use the command line: bimmerconnected status [username] [password] rest_of_world Could you then paste the output you got? I have the same version and also running or RPI... F

jpy475 commented 2 years ago

Hi,

Thank you for your prompt answer.

You will find below the output I got.

Regards

DEBUG:bimmer_connected.account:Getting vehicle list DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): cocoapi.bmwgroup .com:443 DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-ucs/v 1/presentation/oauth/config HTTP/1.1" 200 580 DEBUG:bimmer_connected.account:Authenticating against GCDM with MyBMW flow. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): customer.bmwgrou p.com:443 DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth /authenticate HTTP/1.1" 200 411 DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth /authenticate HTTP/1.1" 302 0 DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth /token HTTP/1.1" 200 1957 DEBUG:bimmer_connected.account:got new token TpJ-7M6DBYA1wcLEp6JXnC2NGdU with ex piration date 2022-02-13 20:07:09.804506 DEBUG:bimmer_connected.account:Request to: https://cocoapi.bmwgroup.com/eadrax-v cs/v1/vehicles DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): cocoapi.bmwgroup .com:443 DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-vcs/v

1/vehicles?apptimezone=60.0&appDateTime=1644779240906&tireGuardMode=ENABLED HTTP /1.1" 200 6626 DEBUG:bimmer_connected.account:Request to: https://cocoapi.bmwgroup.com/eadrax-v cs/v1/vehicles DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): cocoapi.bmwgroup .com:443 DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1644779242203&tireGuardMode=ENABLED HTTP/1.1" 200 2 DEBUG:bimmer_connected.account:Getting vehicle list DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one. DEBUG:bimmer_connected.account:Request to: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): cocoapi.bmwgroup.com:443 DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1644779243387&tireGuardMode=ENABLED HTTP/1.1" 200 6626 DEBUG:bimmer_connected.account:Request to: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): cocoapi.bmwgroup.com:443 DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1644779244445&tireGuardMode=ENABLED HTTP/1.1" 200 2 Found 1 vehicles: X1 sDrive18d VIN: WBAxxxxxxxxxxxxx4 Mileage: (6692, 'km') Vehicle data: DEBUG:bimmer_connected.vehicle_status:No data available for attribute <function VehicleStatus.charging_level_hv at 0x757b9738>! DEBUG:bimmer_connected.vehicle_status:No data available for attribute <function VehicleStatus.fuel_percent at 0x757b97c8>! { "attributes": { "vin": "WBAxxxxxxxxxxxx4", "model": "X1 sDrive18d", "year": 2021, "brand": "BMW", "headUnit": "ID5", "isLscSupported": true, "driveTrain": "COMBUSTION", "puStep": "0321", "iStep": "F056-21-03-574", "telematicsUnit": "ATM", "hmiVersion": "ID5", "bodyType": "F48", "a4aType": "USB_ONLY", "capabilities": { "isRemoteServicesBookingRequired": false, "isRemoteServicesActivationRequired": false, "lock": { "isEnabled": true, "isPinAuthenticationRequired": false, "executionMessage": "Lock your vehicle now? Remote functions may take a few seconds." }, "unlock": { "isEnabled": true, "isPinAuthenticationRequired": true, "executionMessage": "Unlock your vehicle now? Remote functions may take a few seconds." }, "lights": { "isEnabled": true, "isPinAuthenticationRequired": false, "executionMessage": "Flash headlights now? Remote functions may take a few seconds." }, "horn": { "isEnabled": true, "isPinAuthenticationRequired": false, "executionMessage": "Using your horn is only allowed in certain situations in many countries. Responsibility for the use and adherence to the respective regulations lies solely with you as the user. \n\nDo you want to use the horn now? Remote functions may take a few seconds." }, "vehicleFinder": { "isEnabled": true, "isPinAuthenticationRequired": false, "executionMessage": "Find your vehicle now? Remote functions may take a few seconds." }, "sendPoi": { "isEnabled": true, "isPinAuthenticationRequired": false, "executionMessage": "Send POI now? Remote functions may take a few seconds." }, "lastStateCall": { "isNonLscFeatureEnabled": false, "lscState": "ACTIVATED" }, "climateNow": { "isEnabled": true, "isPinAuthenticationRequired": false, "executionMessage": "Do you want to ventilate now? Remote functions may take a few seconds.", "executionPopup": { "executionMessage": "Do you want to ventilate now? Remote functions may take a few seconds.", "popupType": "DIALOG", "title": "Start Ventilation", "primaryButtonText": "Start", "secondaryButtonText": "Cancel", "iconId": 59733 }, "executionStopPopup": { "executionMessage": "Stop climate control in your vehicle now? Remote functions may take a few seconds.", "title": "Climate control is running" } }, "isRemoteHistorySupported": true, "canRemoteHistoryBeDeleted": false, "climateTimer": { "isEnabled": true, "isPinAuthenticationRequired": false, "tile": { "iconId": 59774, "title": "Ventilation timer", "description": "Plan start time" }, "page": { "primaryButtonText": "SEND TO VEHICLE", "secondaryButtonText": "DEACTIVATE AND SEND TO VEHICLE", "title": "Ventilation timer", "subtitle": "Set start time", "description": "By setting a start time you let the vehicle know when you plan to use it." }, "isToggleEnabled": true }, "isChargingHistorySupported": false, "isScanAndChargeSupported": false, "isDCSContractManagementSupported": false, "isBmwChargingSupported": false, "isMiniChargingSupported": false, "isChargeNowForBusinessSupported": false, "isDataPrivacyEnabled": false, "isChargingPlanSupported": false, "isChargingPowerLimitEnable": false, "isChargingTargetSocEnable": false, "isChargingLoudnessEnable": false, "isChargingSettingsEnabled": false, "isChargingHospitalityEnabled": false, "isEvGoChargingSupported": false, "isFindChargingEnabled": false, "isCustomerEsimSupported": false, "isCarSharingSupported": false, "isEasyChargeSupported": false, "isSustainabilitySupported": false }, "connectedDriveServices": [], "isMappingPending": false, "isMappingUnconfirmed": false, "driverGuideInfo": { "title": "BMW\nDriver's Guide", "androidAppScheme": "com.bmwgroup.driversguide.row", "iosAppScheme": "bmwdriversguide:///open", "androidStoreUrl": " https://play.google.com/store/apps/details?id=com.bmwgroup.driversguide.row ", "iosStoreUrl": "https://apps.apple.com/de/app/id714042749?mt=8" }, "themeSpecs": { "vehicleStatusBackgroundColor": { "red": 127, "green": 129, "blue": 133 } }, "exFactoryPUStep": "0321", "exFactoryILevel": "F056-21-03-574" }, "status": { "status": { "lastUpdatedAt": "2022-02-12T16:48:35Z", "currentMileage": { "mileage": 6692, "units": "km", "formattedMileage": "6692" }, "issues": {}, "doorsGeneralState": "Locked", "checkControlMessagesGeneralState": "No Issues", "doorsAndWindows": [ { "iconId": 59757, "title": "Lock status", "state": "Locked", "criticalness": "nonCritical" }, { "iconId": 59722, "title": "All doors", "state": "Closed", "criticalness": "nonCritical" }, { "iconId": 59725, "title": "All windows", "state": "Closed", "criticalness": "nonCritical" }, { "iconId": 59706, "title": "Hood", "state": "Closed", "criticalness": "nonCritical" }, { "iconId": 59704, "title": "Trunk", "state": "Closed", "criticalness": "nonCritical" } ], "checkControlMessages": [ { "criticalness": "nonCritical", "iconId": 60197, "title": "Engine Oil", "state": "OK" } ], "requiredServices": [ { "id": "Oil", "title": "Engine oil", "iconId": 60197, "longDescription": "Next service due after the specified distance or date.", "subtitle": "Due in September 2023 or 18000 km", "criticalness": "nonCritical" }, { "id": "VehicleCheck", "title": "Vehicle check", "iconId": 60215, "longDescription": "Next vehicle check due after the specified distance or date.", "subtitle": "Due in September 2025 or 43000 km", "criticalness": "nonCritical" }, { "id": "BrakeFluid", "title": "Brake fluid", "iconId": 60223, "longDescription": "Next service due by the specified date.", "subtitle": "Due in September 2024", "criticalness": "nonCritical" } ], "recallMessages": [], "recallExternalUrl": null, "fuelIndicators": [ { "secondaryBarValue": 0, "infoIconId": 59930, "infoLabel": "Fuel Level", "rangeIconId": 59681, "rangeUnits": "km", "rangeValue": "415", "levelIconId": 59682, "isCircleIcon": false, "iconOpacity": "high", "chargingType": null, "mainBarValue": 0, "showsBar": false, "levelUnits": "l", "levelValue": "25", "isInaccurate": true } ], "timestampMessage": "Updated from vehicle 2/12/2022 05:48 PM" }, "properties": { "lastUpdatedAt": "2022-02-12T16:48:35Z", "inMotion": false, "areDoorsLocked": true, "originCountryISO": "BE", "areDoorsClosed": true, "areDoorsOpen": false, "areWindowsClosed": true, "doorsAndWindows": { "doors": { "driverFront": "CLOSED", "driverRear": "CLOSED", "passengerFront": "CLOSED", "passengerRear": "CLOSED" }, "windows": { "driverFront": "CLOSED", "driverRear": "CLOSED", "passengerFront": "CLOSED", "passengerRear": "CLOSED" }, "trunk": "CLOSED", "hood": "CLOSED" }, "isServiceRequired": false, "fuelLevel": { "value": 25, "units": "LITERS" }, "combustionRange": { "distance": { "value": 415, "units": "KILOMETERS" } }, "checkControlMessages": [], "serviceRequired": [ { "type": "OIL", "status": "OK", "dateTime": "2023-09-01T00:00:00.000Z", "distance": { "value": 18000, "units": "KILOMETERS" } }, { "type": "VEHICLE_CHECK", "status": "OK", "dateTime": "2025-09-01T00:00:00.000Z", "distance": { "value": 43000, "units": "KILOMETERS" } }, { "type": "BRAKE_FLUID", "status": "OK", "dateTime": "2024-09-01T00:00:00.000Z" } ], "vehicleLocation": { "coordinates": { "latitude": xx.760235, "longitude": xx.6783 }, "address": { "formatted": "Rue xxxxxxxxxxxxxxxxxxxxe" }, "heading": 28 }, "climateControl": {} }, "all_lids_closed": true, "all_windows_closed": true, "are_all_cbs_ok": true, "are_parking_lights_on": null, "charging_end_time": null, "charging_level_hv": null, "charging_start_time": null, "charging_status": null, "charging_time_label": null, "charging_time_remaining": 0.0, "check_control_messages": [], "condition_based_services": [ { "due_date": "2023-09-01 00:00:00+00:00", "state": "OK", "service_type": "OIL", "due_distance": [ 18000, "KILOMETERS" ], "description": null }, { "due_date": "2025-09-01 00:00:00+00:00", "state": "OK", "service_type": "VEHICLE_CHECK", "due_distance": [ 43000, "KILOMETERS" ], "description": null }, { "due_date": "2024-09-01 00:00:00+00:00", "state": "OK", "service_type": "BRAKE_FLUID", "due_distance": null, "description": null } ], "connection_status": null, "door_lock_state": "LOCKED", "fuel_indicator_count": 1, "fuel_percent": null, "gps_heading": 28, "gps_position": [ 50.760235, 4.996783 ], "has_check_control_messages": false, "has_parking_light_state": false, "is_vehicle_active": false, "last_charging_end_result": null, "last_update_reason": "Updated from vehicle 2/12/2022 05:48 PM", "lids": [ { "name": "trunk", "state": "CLOSED" }, { "name": "hood", "state": "CLOSED" }, { "name": "driverFront", "state": "CLOSED" }, { "name": "driverRear", "state": "CLOSED" }, { "name": "passengerFront", "state": "CLOSED" }, { "name": "passengerRear", "state": "CLOSED" } ], "max_range_electric": null, "mileage": [ 6692, "km" ], "open_lids": [], "open_windows": [], "parking_lights": null, "remaining_fuel": [ 25, "LITERS" ], "remaining_range_electric": [ null, null ], "remaining_range_fuel": [ 415, "km" ], "remaining_range_total": [ 415, "km" ], "timestamp": "2022-02-12 16:48:35+00:00", "windows": [ { "name": "driverFront", "state": "CLOSED" }, { "name": "driverRear", "state": "CLOSED" }, { "name": "passengerFront", "state": "CLOSED" }, { "name": "passengerRear", "state": "CLOSED" } ] }, "observer_latitude": null, "observer_longitude": null, "available_attributes": [ "gps_position", "vin", "remaining_range_total", "mileage", "remaining_fuel", "remaining_range_fuel", "fuel_percent", "condition_based_services", "check_control_messages", "door_lock_state", "timestamp", "last_update_reason", "lids", "windows" ], "available_state_services": [ "status" ], "brand": "bmw", "charging_profile": null, "drive_train": "COMBUSTION", "drive_train_attributes": [ "remaining_range_total", "mileage", "remaining_fuel", "remaining_range_fuel", "fuel_percent" ], "has_hv_battery": false, "has_internal_combustion_engine": true, "has_range_extender": false, "has_weekly_planner_service": false, "is_vehicle_tracking_enabled": true, "lsc_type": "ACTIVATED", "name": "X1 sDrive18d"

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le dim. 13 févr. 2022 à 18:15, Filip @.***> a écrit :

Did you try the command-line bimmerconnected? Did you well enter your password, username and VIN in the settings? I could suspect that one of them is left empty, because I had no defence in coding when they are empty. Potentially use the command line: bimmerconnected status [username] [password] rest_of_world Could you then paste the output you got? I have the same version and also running or RPI... F

— Reply to this email directly, view it on GitHub https://github.com/FilipDem/Domoticz-BMW-plugin/issues/8#issuecomment-1038272749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZ3S2CC3UF445TI3XC5UZLU27RL7ANCNFSM5OJH6VDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

jpy475 commented 2 years ago

Hi Filip,

I sent you yesterday the log I got. You will find in attachment a copy of the hardware definition. The settings seem correct to me.

As I explained, I can connect to the car and receive data but only once.

Thank you for your help.

Regards JP

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le dim. 13 févr. 2022 à 18:15, Filip @.***> a écrit :

Did you try the command-line bimmerconnected? Did you well enter your password, username and VIN in the settings? I could suspect that one of them is left empty, because I had no defence in coding when they are empty. Potentially use the command line: bimmerconnected status [username] [password] rest_of_world Could you then paste the output you got? I have the same version and also running or RPI... F

— Reply to this email directly, view it on GitHub https://github.com/FilipDem/Domoticz-BMW-plugin/issues/8#issuecomment-1038272749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZ3S2CC3UF445TI3XC5UZLU27RL7ANCNFSM5OJH6VDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

FilipDem commented 2 years ago

I have seen the info yesterday. Thanks. However will need to debug... Will probably not doing it very fast but will try to work regularly on it (I am working during the day :-)).

I find some new information in your message... Do I interpret correctly that your the devices are filled in with good information the first time (eg mileage), however at the next update (at the specified interval), there is no update anymore? I could see if this is indeed a good conclusion if you activate the "debug" information (the hardware screen of the plugin) and then give me the log (ideally in text format - attaching a file).

Not sure that I will get all the necessary information to identify the problem, but when necessary I could then send you a new version with some additional debug information.

I am pretty sure it will be sth stupid to fix... However as I said, I will need a bit of time as it is difficult to combine with my professional activities.

jpy475 commented 2 years ago

Thank you No problem, I am not in a hurry ;-)

In the log file, I have just noticed something special: Proxy: Error, reconnecting (Connection refused)

2022-02-14 11:48:06.088 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:06.088 BMW_X1: (BMW_X1) onHeartbeat called, run again in 20 heartbeats... 2022-02-14 11:48:13.586 Proxy: Error, reconnecting (Connection refused) 2022-02-14 11:48:16.054 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:16.054 BMW_X1: (BMW_X1) onHeartbeat called, run again in 19 heartbeats... 2022-02-14 11:48:20.713 Master: Light/Switch (Etat_Ptit_Coquin) 2022-02-14 11:48:26.072 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:26.072 BMW_X1: (BMW_X1) onHeartbeat called, run again in 18 heartbeats... 2022-02-14 11:48:27.675 Gateway Xiaomi: Color Switch (Xiaomi RGB Gateway) 2022-02-14 11:48:27.680 Gateway Xiaomi: Lux (Xiaomi Gateway Lux) 2022-02-14 11:48:28.622 Proxy: Error, reconnecting (Connection refused) 2022-02-14 11:48:36.089 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:36.089 BMW_X1: (BMW_X1) onHeartbeat called, run again in 17 heartbeats... 2022-02-14 11:48:43.683 Proxy: Error, reconnecting (Connection refused) 2022-02-14 11:48:46.054 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:46.054 BMW_X1: (BMW_X1) onHeartbeat called, run again in 16 heartbeats...

2022-02-14 11:48:56.070 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:56.070 BMW_X1: (BMW_X1) onHeartbeat called, run again in 15 heartbeats... 2022-02-14 11:48:58.826 Proxy: Error, reconnecting (Connection refused)

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#m_-1613058817227133421_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le lun. 14 févr. 2022 à 11:00, Filip @.***> a écrit :

I have seen the info yesterday. Thanks. However will need to debug... Will probably not doing it very fast but will try to work regularly on it (I am working during the day :-)).

I find some new information in your message... Do I interpret correctly that your the devices are filled in with good information the first time (eg mileage), however at the next update (at the specified interval), there is no update anymore? I could see if this is indeed a good conclusion if you activate the "debug" information (the hardware screen of the plugin) and then give me the log (ideally in text format - attaching a file).

Not sure that I will get all the necessary information to identify the problem, but when necessary I could then send you a new version with some additional debug information.

I am pretty sure it will be sth stupid to fix... However as I said, I will need a bit of time as it is difficult to combine with my professional activities.

— Reply to this email directly, view it on GitHub https://github.com/FilipDem/Domoticz-BMW-plugin/issues/8#issuecomment-1038885434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZ3S2CQHSTEYTHD5HW3EB3U3DHFLANCNFSM5OJH6VDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

jpy475 commented 2 years ago

Hi,

Sorry to bother you again. So I suppose there is no link betwee the plugin problem and the Proxy error.

However, when I disable the plugin BMW, Domoticz blocks each time. I have to stop and restart it through a SSH connection. I have no problem when I enable the plugin.

Regards

I disabled the plugin BMW and still have the same connection error.

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le lun. 14 févr. 2022 à 11:57, Jean-Pierre Youcken @.***> a écrit :

Thank you No problem, I am not in a hurry ;-)

In the log file, I have just noticed something special: Proxy: Error, reconnecting (Connection refused)

2022-02-14 11:48:06.088 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:06.088 BMW_X1: (BMW_X1) onHeartbeat called, run again in 20 heartbeats... 2022-02-14 11:48:13.586 Proxy: Error, reconnecting (Connection refused) 2022-02-14 11:48:16.054 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:16.054 BMW_X1: (BMW_X1) onHeartbeat called, run again in 19 heartbeats... 2022-02-14 11:48:20.713 Master: Light/Switch (Etat_Ptit_Coquin) 2022-02-14 11:48:26.072 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:26.072 BMW_X1: (BMW_X1) onHeartbeat called, run again in 18 heartbeats... 2022-02-14 11:48:27.675 Gateway Xiaomi: Color Switch (Xiaomi RGB Gateway) 2022-02-14 11:48:27.680 Gateway Xiaomi: Lux (Xiaomi Gateway Lux) 2022-02-14 11:48:28.622 Proxy: Error, reconnecting (Connection refused) 2022-02-14 11:48:36.089 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:36.089 BMW_X1: (BMW_X1) onHeartbeat called, run again in 17 heartbeats... 2022-02-14 11:48:43.683 Proxy: Error, reconnecting (Connection refused) 2022-02-14 11:48:46.054 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:46.054 BMW_X1: (BMW_X1) onHeartbeat called, run again in 16 heartbeats...

2022-02-14 11:48:56.070 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-14 11:48:56.070 BMW_X1: (BMW_X1) onHeartbeat called, run again in 15 heartbeats... 2022-02-14 11:48:58.826 Proxy: Error, reconnecting (Connection refused)

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#m_-2766218209537853166m-1613058817227133421_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le lun. 14 févr. 2022 à 11:00, Filip @.***> a écrit :

I have seen the info yesterday. Thanks. However will need to debug... Will probably not doing it very fast but will try to work regularly on it (I am working during the day :-)).

I find some new information in your message... Do I interpret correctly that your the devices are filled in with good information the first time (eg mileage), however at the next update (at the specified interval), there is no update anymore? I could see if this is indeed a good conclusion if you activate the "debug" information (the hardware screen of the plugin) and then give me the log (ideally in text format - attaching a file).

Not sure that I will get all the necessary information to identify the problem, but when necessary I could then send you a new version with some additional debug information.

I am pretty sure it will be sth stupid to fix... However as I said, I will need a bit of time as it is difficult to combine with my professional activities.

— Reply to this email directly, view it on GitHub https://github.com/FilipDem/Domoticz-BMW-plugin/issues/8#issuecomment-1038885434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZ3S2CQHSTEYTHD5HW3EB3U3DHFLANCNFSM5OJH6VDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#m_-2766218209537853166_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

FilipDem commented 2 years ago

Seems I have the same problem.... Still got correct data yesterday evening after a ride at 20h. Today I drive 10 km, however Domoticz shows still 0 km... Mmmm as I changed nothing at my side, seems there is something... So I will need to investigate. To be continued...

FilipDem commented 2 years ago

Hi, I was looking into the problem but don't find anything by code reading... I suppose from the error message that a variable is NONE while it should be an integer... I looked in the bimmer_connected output and find back all I need.

You have given the logging when you had the proxy error... This means that the complete logging of the plugin is not available. It would help me if you activate the debug and let run the logging at least until the problem arrives and send it back.

Btw: my problem happened only during a short term and probably somewhere a small hick-up at the BMW server. Problem was solved automatically after less than one hour.

Sorry again, but without logging I cannot find the problem.

F

jpy475 commented 2 years ago

Hi,

Is that the log you mean?

Thank you for your help

Regards JP

Le jeu. 17 févr. 2022 à 20:58, Filip @.***> a écrit :

Hi, I was looking into the problem but don't find anything by code reading... I suppose from the error message that a variable is NONE while it should be an integer... I looked in the bimmer_connected output and find back all I need.

You have given the logging when you had the proxy error... This means that the complete logging of the plugin is not available. It would help me if you activate the debug and let run the logging at least until the problem arrives and send it back.

Btw: my problem happened only during a short term and probably somewhere a small hick-up at the BMW server. Problem was solved automatically after less than one hour.

Sorry again, but without logging I cannot find the problem.

F

— Reply to this email directly, view it on GitHub https://github.com/FilipDem/Domoticz-BMW-plugin/issues/8#issuecomment-1043364911, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZ3S2GOQGCYXXUJ4OBDPBDU3VHNVANCNFSM5OJH6VDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

2022-02-19 11:33:18.016 Status: BMW_X1: (BMW_X1) Entering work loop. 2022-02-19 11:33:18.017 Status: BMW_X1: (BMW_X1) Started. 2022-02-19 11:33:20.502 BMW_X1: (BMW_X1) Update unit 9: BMW_X1 - Remote Services - 0 - 2022-02-19 11:33:20.505 BMW_X1: (BMW_X1) Update unit 10: BMW_X1 - Car - 0 - 0 2022-02-19 11:33:20.509 BMW_X1: (BMW_X1) Update unit 11: BMW_X1 - Mileage (Day) - 0 - 6715 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) Entering tasks handler 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'HardwareID':'7' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'HomeFolder':'/home/pi/domoticz/plugins/Bmw/' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'StartupFolder':'/home/pi/domoticz/' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'UserDataFolder':'/home/pi/domoticz/' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Database':'/home/pi/domoticz/domoticz.db' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Language':'en' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Version':'3.1.0' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Author':'Filip Demaertelaere' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Name':'BMW_X1' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Port':'0' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Key':'Bmw' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Mode1':'rest_of_world' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Mode2':'kxxxxxxxxxt.be' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Mode3':'Password' 2022-02-19 11:33:20.510 BMW_X1: (BMW_X1) 'Mode4':'Wxxxxxxxxxxxxx4' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) 'Mode5':'5' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) 'Mode6':'Debug' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) 'DomoticzVersion':'2021.1' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) 'DomoticzHash':'8547c5b7e' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) 'DomoticzBuildTime':'2021-04-17 17:29:11' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device count: 11 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device: 1 - ID: 69, Name: 'BMW_X1 - Mileage', nValue: 6715, sValue: '6715' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device ID: '69' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Mileage' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device nValue: 6715 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device sValue: '6715' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device: 2 - ID: 72, Name: 'BMW_X1 - Doors', nValue: 0, sValue: '0' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device ID: '72' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Doors' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device sValue: '0' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device: 3 - ID: 73, Name: 'BMW_X1 - Windows', nValue: 0, sValue: '0' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device ID: '73' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Windows' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device sValue: '0' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device: 4 - ID: 74, Name: 'BMW_X1 - Remain mileage (fuel)', nValue: 0, sValue: '' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device ID: '74' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Remain mileage (fuel)' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device sValue: '' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device: 5 - ID: 75, Name: 'BMW_X1 - Remain mileage (elec)', nValue: 0, sValue: '' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device ID: '75' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Remain mileage (elec)' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device sValue: '' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device: 6 - ID: 76, Name: 'BMW_X1 - Charging', nValue: 0, sValue: '' 2022-02-19 11:33:20.511 BMW_X1: (BMW_X1) Device ID: '76' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Charging' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device sValue: '' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device: 7 - ID: 77, Name: 'BMW_X1 - Charging time', nValue: 0, sValue: '' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device ID: '77' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Charging time' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device sValue: '' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device: 8 - ID: 78, Name: 'BMW_X1 - Battery Level', nValue: 0, sValue: '' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device ID: '78' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Battery Level' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device sValue: '' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device: 9 - ID: 71, Name: 'BMW_X1 - Remote Services', nValue: 0, sValue: '' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device ID: '71' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Remote Services' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device sValue: '' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device: 10 - ID: 79, Name: 'BMW_X1 - Car', nValue: 0, sValue: '0' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device ID: '79' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Car' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device sValue: '0' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device: 11 - ID: 80, Name: 'BMW_X1 - Mileage (Day)', nValue: 0, sValue: '6715' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device ID: '80' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device Name: 'BMW_X1 - Mileage (Day)' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device nValue: 0 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device sValue: '6715' 2022-02-19 11:33:20.512 BMW_X1: (BMW_X1) Device LastLevel: 0 2022-02-19 11:33:20.513 BMW_X1: (BMW_X1) Handling task: Login. 2022-02-19 11:33:20.469 Status: BMW_X1: (BMW_X1) Initialized version 3.1.0, author 'Filip Demaertelaere' 2022-02-19 11:33:23.636 Proxy: Error, reconnecting (Connection refused) 2022-02-19 11:33:25.606 BMW_X1: (BMW_X1) Car X1 sDrive18d found! 2022-02-19 11:33:25.613 BMW_X1: (BMW_X1) Update unit 2: BMW_X1 - Doors - 0 - 0 2022-02-19 11:33:25.619 BMW_X1: (BMW_X1) Update unit 3: BMW_X1 - Windows - 0 - 0 2022-02-19 11:33:25.626 BMW_X1: (BMW_X1) Update unit 10: BMW_X1 - Car - 0 - 0 2022-02-19 11:33:25.626 BMW_X1: (BMW_X1) Units (km) are not yet updated on device but hardcoded. 2022-02-19 11:33:25.634 BMW_X1: (BMW_X1) Update unit 1: BMW_X1 - Mileage - 6728 - 6728 2022-02-19 11:33:25.643 BMW_X1: (BMW_X1) Update unit 11: BMW_X1 - Mileage (Day) - 0 - 6728 2022-02-19 11:33:25.643 Error: BMW_X1: (BMW_X1) General error TaskHandler: int() argument must be a string, a bytes-like object or a number, not 'NoneType' 2022-02-19 11:33:28.075 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:33:28.075 BMW_X1: (BMW_X1) onHeartbeat called, run again in 5 heartbeats... 2022-02-19 11:33:38.091 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:33:38.091 BMW_X1: (BMW_X1) onHeartbeat called, run again in 4 heartbeats... 2022-02-19 11:33:38.661 Proxy: Error, reconnecting (Connection refused) 2022-02-19 11:33:48.057 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:33:48.057 BMW_X1: (BMW_X1) onHeartbeat called, run again in 3 heartbeats... 2022-02-19 11:33:53.686 Proxy: Error, reconnecting (Connection refused) 2022-02-19 11:33:58.073 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:33:58.073 BMW_X1: (BMW_X1) onHeartbeat called, run again in 2 heartbeats... 2022-02-19 11:34:00.260 EventSystem: Event triggered: Time_1 2022-02-19 11:34:08.089 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:34:08.089 BMW_X1: (BMW_X1) onHeartbeat called, run again in 1 heartbeats... 2022-02-19 11:34:08.710 Proxy: Error, reconnecting (Connection refused) 2022-02-19 11:34:18.055 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:34:23.736 Proxy: Error, reconnecting (Connection refused) 2022-02-19 11:34:28.072 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:34:28.072 BMW_X1: (BMW_X1) onHeartbeat called, run again in 29 heartbeats... 2022-02-19 11:34:38.088 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:34:38.088 BMW_X1: (BMW_X1) onHeartbeat called, run again in 28 heartbeats... 2022-02-19 11:34:38.761 Proxy: Error, reconnecting (Connection refused) 2022-02-19 11:34:48.054 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:34:48.054 BMW_X1: (BMW_X1) onHeartbeat called, run again in 27 heartbeats... 2022-02-19 11:34:53.788 Proxy: Error, reconnecting (Connection refused) 2022-02-19 11:34:58.069 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:34:58.070 BMW_X1: (BMW_X1) onHeartbeat called, run again in 26 heartbeats... 2022-02-19 11:35:00.271 EventSystem: Event triggered: Time_1 2022-02-19 11:35:08.085 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:35:08.085 BMW_X1: (BMW_X1) onHeartbeat called, run again in 25 heartbeats... 2022-02-19 11:35:18.051 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:35:18.051 BMW_X1: (BMW_X1) onHeartbeat called, run again in 24 heartbeats... 2022-02-19 11:35:23.838 Proxy: Error, reconnecting (Connection refused) 2022-02-19 11:35:28.067 BMW_X1: (BMW_X1) onHeartbeat called 2022-02-19 11:35:28.067 BMW_X1: (BMW_X1) onHeartbeat called, run again in 23 heartbeats...

FilipDem commented 2 years ago

Seems there was a change in the bimmer_connected library wrt the initialisation of the fuel indicators. I made a published a patch. I am currently working on an update with some refactoring and it is tested inside my code. Hope I didn't make a stupid error while patching this version...

PS: next version will support geolocalisation and will detect when the car enters a zone around the house.

If it works, let me know pls.

Filip

jpy475 commented 2 years ago

Hi Filip,

It is working now. Thank you

But what you call "Mileage (Day)" is in fact for my car the remaining fuel. It is the same for you?

Can you inform me when the geolocalisation is working?

Thank you

Regards JP

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le sam. 19 févr. 2022 à 21:44, Filip @.***> a écrit :

Seems there was a change in the bimmer_connected library wrt the initialisation of the fuel indicators. I made a published a patch. I am currently working on an update with some refactoring and it is tested inside my code. Hope I didn't make a stupid error while patching this version...

PS: next version will support geolocalisation and will detect when the car enters a zone around the house.

If it works, let me know pls.

Filip

— Reply to this email directly, view it on GitHub https://github.com/FilipDem/Domoticz-BMW-plugin/issues/8#issuecomment-1046099432, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZ3S2D2MA7KIEJ22SXPDUDU376KXANCNFSM5OJH6VDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

FilipDem commented 2 years ago

No, this is really the mileage. See line 313: UpdateDevice(_UNIT_MILEAGE_COUNTER, 0, self.myVehicle.status.mileage[0]). I will let you know.

If you are happy with the plugin and support, a small contribution is always welcome!

Thanks,

FilipDem commented 2 years ago

Hi, The geolocation is implemented. Read well the readme file and please update all the files and add the extra files... There is quite a technical change on the plugin as the bimmer_connected library changed drastically.

jpy475 commented 2 years ago

Hi,

Thank you.

Best regards

Le sam. 23 avr. 2022 à 09:54, Filip @.***> a écrit :

Hi, The geolocation is implemented. Read well the readme file and please update all the files and add the extra files... There is quite a technical change on the plugin as the bimmer_connected library changed drastically.

— Reply to this email directly, view it on GitHub https://github.com/FilipDem/Domoticz-BMW-plugin/issues/8#issuecomment-1107419628, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZ3S2GXTQ2F5EQVWZEGFETVGOUCRANCNFSM5OJH6VDQ . You are receiving this because you authored the thread.Message ID: @.***>