New Plugin - BMW Connected Drive

Posted on
Sat Apr 10, 2021 3:52 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

Grab the latest commit, I removed that import statement.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Apr 10, 2021 6:06 pm
ChopOMatic offline
Posts: 110
Joined: Sep 12, 2014

Re: New Plugin - BMW Connected Drive

Is this the latest, Joe?
Attachments
bmwplugin.png
bmwplugin.png (23.16 KiB) Viewed 25844 times

Posted on
Sat Apr 10, 2021 6:15 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

I did not update the version number. You need to go to GitHub and download the latest commit.

https://github.com/FlyingDiver/Indigo-B ... -connected

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Apr 11, 2021 6:33 pm
ChopOMatic offline
Posts: 110
Joined: Sep 12, 2014

Re: New Plugin - BMW Connected Drive

Joe, when I download from https://github.com/FlyingDiver/Indigo-BMW-CD/tree/bimmer-connected, using CODE-->DOWNLOAD .ZIP, and install it, the attached screenshot is the result.
Attachments
2021-04-11_19-31-38.png
2021-04-11_19-31-38.png (31 KiB) Viewed 25802 times

Posted on
Sun Apr 11, 2021 6:45 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

Use this link to make sure you get the correct one: https://github.com/FlyingDiver/Indigo-B ... 36cd282896

Disable the plugin, download the most recent commit, drag it to the Disabled plugins folder (replacing the old one), then enable the plugin.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Apr 11, 2021 7:31 pm
ChopOMatic offline
Posts: 110
Joined: Sep 12, 2014

Re: New Plugin - BMW Connected Drive

I followed those exact instrux. No change. The moment I re-enabled the plugin (after replacing it with the one downloaded from your link), I got this:
Attachments
2021-04-11_20-29-38.png
2021-04-11_20-29-38.png (21.53 KiB) Viewed 25795 times

Posted on
Sun Apr 11, 2021 8:15 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

OK, I'm going to have to make an actual release package. Tomorrow.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Apr 11, 2021 11:16 pm
ChopOMatic offline
Posts: 110
Joined: Sep 12, 2014

Re: New Plugin - BMW Connected Drive

Big thanks for all your work on this, and on so many other great plugins.

Posted on
Mon Apr 12, 2021 9:11 am
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: New Plugin - BMW Connected Drive

ChopOMatic wrote:
Big thanks for all your work on this, and on so many other great plugins.


Agreed. We realize this is an after hours gig. Thank you for everything you do .

Posted on
Mon Apr 12, 2021 9:59 am
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive


joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Apr 12, 2021 11:02 am
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: New Plugin - BMW Connected Drive

FlyingDiver wrote:
https://github.com/FlyingDiver/Indigo-BMW-CD/releases/tag/1.0.1


1) Confirmed Python 3.8.2
2) Installed new plugin and enabled
3) Updated Account Device to choose Region
4) Updated Plugin Config to include path to Python3 = '/usr/bin/python3'
5) Restarted plugin

NOTE: In the vehicle device, I no longer have any options in the drop downs for Vehicle or State Key

Code: Select all
 Apr 12, 2021 at 12:55:30 PM
   Reloading plugin "BMW Connected Drive 1.0.1"
   Stopping plugin "BMW Connected Drive 1.0.1" (pid 31919)
   BMW Connected Drive Debug       runConcurrentThread ending
   BMW Connected Drive             BMW Account: Stopping cdAccount Device 372344672
   BMW Connected Drive             Ryan's BMW 540ix: Stopping cdVehicle Device 105421725
   BMW Connected Drive             Stopping Connected Drive
   Stopped plugin "BMW Connected Drive 1.0.1"
   Starting plugin "BMW Connected Drive 1.0.1" (pid 35365)
   BMW Connected Drive Debug       logLevel = 5
   Started plugin "BMW Connected Drive 1.0.1"
   BMW Connected Drive             Starting Connected Drive
   BMW Connected Drive Debug       updateFrequency = 300.0
   BMW Connected Drive             BMW Account: Starting cdAccount Device
   BMW Connected Drive Debug       BMW Account: deviceStartComm, argList = [u'/usr/bin/python3', './wrapper.py', u'redacted-email-address', u'redacted', u'north_america']
   BMW Connected Drive             Ryan's BMW 540ix: Starting cdVehicle Device
   BMW Connected Drive Debug       runConcurrentThread starting
   BMW Connected Drive Debug       Send wrapper message: {"cmd": "vehicles"}

Apr 12, 2021 at 12:56:07 PM
   BMW Connected Drive Debug       getDeviceConfigUiValues, typeId = cdVehicle, devId = 105421725, pluginProps = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)
   BMW Connected Drive Debug       get_vehicle_state_list: typeId = cdVehicle, targetId = 105421725, valuesDict = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)
   BMW Connected Drive Debug       get_vehicle_list: typeId = cdVehicle, targetId = 105421725, valuesDict = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)
   BMW Connected Drive             Ryan's BMW 540ix: Stopping cdVehicle Device 105421725
   BMW Connected Drive Debug       getDeviceConfigUiValues, typeId = cdAccount, devId = 105421725, pluginProps = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)

Apr 12, 2021 at 12:56:36 PM
   BMW Connected Drive Debug       getDeviceConfigUiValues, typeId = cdAccount, devId = 105421725, pluginProps = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)
   BMW Connected Drive Debug       getDeviceConfigUiValues, typeId = cdVehicle, devId = 105421725, pluginProps = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)
   BMW Connected Drive Debug       get_vehicle_state_list: typeId = cdVehicle, targetId = 105421725, valuesDict = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)
   BMW Connected Drive Debug       get_vehicle_list: typeId = cdVehicle, targetId = 105421725, valuesDict = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)

Apr 12, 2021 at 12:57:23 PM
   BMW Connected Drive Debug       getDeviceConfigUiValues, typeId = cdVehicle, devId = 105421725, pluginProps = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)
   BMW Connected Drive Debug       get_vehicle_state_list: typeId = cdVehicle, targetId = 105421725, valuesDict = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)
   BMW Connected Drive Debug       get_vehicle_list: typeId = cdVehicle, targetId = 105421725, valuesDict = UiValuesDict : (dict)
     SupportsOnState : false (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : true (bool)
     account : 372344672 (string)
     address :  (string)
     state_key :  (string)

Apr 12, 2021 at 1:00:33 PM
   BMW Connected Drive Debug       Send wrapper message: {"cmd": "vehicles"}
   BMW Connected Drive Error       Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 138, in runConcurrentThread
  File "plugin.py", line 151, in wrapper_write
IOError: [Errno 32] Broken pipe

   BMW Connected Drive Error       plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   BMW Connected Drive Debug       runConcurrentThread starting

 

Posted on
Mon Apr 12, 2021 11:20 am
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

Ok, this is where it gets a little tricky. The API library is running in a separate Python3 process. To see any errors from that process, restart the plugin using the "Reload in Interactive Shell" menu command. Then post the output in that terminal window here.
Attachments
Screen Shot 2021-04-12 at 1.19.36 PM.png
Screen Shot 2021-04-12 at 1.19.36 PM.png (284.32 KiB) Viewed 25702 times

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Apr 12, 2021 11:28 am
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: New Plugin - BMW Connected Drive

I don't have that option in my menu.

Posted on
Mon Apr 12, 2021 11:40 am
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

ryanbuckner wrote:
I don't have that option in my menu.


Are you running the client on the same computer as the server?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Apr 12, 2021 11:48 am
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: New Plugin - BMW Connected Drive

I have a client on the server and a remote client. Neither have that option. :?

Page 7 of 12 1 ... 4, 5, 6, 7, 8, 9, 10 ... 12

Who is online

Users browsing this forum: No registered users and 5 guests