F30POST
F30POST
2012-2015 BMW 3-Series and 4-Series Forum
BMW Garage BMW Meets Register Today's Posts
BMW 3-Series and 4-Series Forum (F30 / F32) | F30POST > Technical Forums > Navigation, iDrive, Audio, Video, Bluetooth, Phone, Cameras, Electronics > Raspberry Pi in BMW F30 - Possible to Control Windows, Lights, Locks, etc?
ARMA SPEED
Post Reply
 
Thread Tools Search this Thread
      12-29-2019, 03:30 PM   #1
tcanuck42
Registered
1
Rep
2
Posts

Drives: BMW 328i
Join Date: Dec 2019
Location: California

iTrader: (0)

Raspberry Pi in BMW F30 - Possible to Control Windows, Lights, Locks, etc?

Hello! I had a 2004 E46 325i and was able to connect with the I-Bus (through wiretapping the OEM head unit connection). The Raspberry Pi was connected and over a serial connection I could read from and write to the bus -- roll down the windows, lock or unlock the vehicle, flash the hazard lights, control the volume, pop the trunk, etc.

I recently got a 2016 F30 328i and would like to accomplish something similar, however it appears I-Bus may no longer be used.

I understand there may be some limited functionality that can be accomplished strictly through the BMW ConnectedDrive APIs (such as lock / unlock).

Is it possible to hardwire a device into an F30 (such as a raspberry pi) and interact with devices in the vehicle such as windows, locks, volume, etc? Does a F30 have an alternative bus system that can be tapped/accessed for this purpose? Is a MOST bus system employed?
Appreciate 0
      12-29-2019, 09:05 PM   #2
les anderson
Second Lieutenant
146
Rep
201
Posts

Drives: 340i
Join Date: Jan 2019
Location: Miami

iTrader: (0)

I am interested in what your are actual use cases are?
Appreciate 0
      01-03-2020, 10:57 AM   #3
tcanuck42
Registered
1
Rep
2
Posts

Drives: BMW 328i
Join Date: Dec 2019
Location: California

iTrader: (0)

The objective is to create an Android app (with an accompanying Android Wear app for a smart watch) that accepts voice commands to perform the following tasks:

Use Cases:
- Roll down/up windows
- Lock/unlock vehicle
- Increase/decrease volume
- Go to next/previous track
- Toggle mode between radio, bluetooth, aux
- Open/close sunroof
- Flash the hazard lights
- Pop the trunk

For reference here's what I did in my E46: p1, p2, p3

For the E46 I replaced the OEM headunit with a 7" tablet, running the custom Android app. For the F30 I'd like to get the mobile app/wearable working and will likely leave the OEM display as is.
Appreciate 0
      01-03-2020, 05:00 PM   #4
AlbertoSONIC
Private First Class
98
Rep
155
Posts

Drives: 318d F30 LCI
Join Date: Sep 2018
Location: Italy

iTrader: (0)

Quote:
Originally Posted by tcanuck42 View Post
The objective is to create an Android app (with an accompanying Android Wear app for a smart watch) that accepts voice commands to perform the following tasks:

Use Cases:
- Roll down/up windows
- Lock/unlock vehicle
- Increase/decrease volume
- Go to next/previous track
- Toggle mode between radio, bluetooth, aux
- Open/close sunroof
- Flash the hazard lights
- Pop the trunk

For reference here's what I did in my E46: p1, p2, p3

For the E46 I replaced the OEM headunit with a 7" tablet, running the custom Android app. For the F30 I'd like to get the mobile app/wearable working and will likely leave the OEM display as is.
This is so cool! But would you leave the raspberry always powered, even when the car is parked? Aren't you worried about finding the car with a low battery charge?
Appreciate 0
      01-03-2020, 05:53 PM   #5
haagm58
Captain
haagm58's Avatar
United_States
810
Rep
919
Posts

Drives: F30 328d Sport Line
Join Date: Jan 2018
Location: South Carolina

iTrader: (0)

Garage List
Quote:
Originally Posted by AlbertoSONIC View Post
Quote:
Originally Posted by tcanuck42 View Post
The objective is to create an Android app (with an accompanying Android Wear app for a smart watch) that accepts voice commands to perform the following tasks:

Use Cases:
- Roll down/up windows
- Lock/unlock vehicle
- Increase/decrease volume
- Go to next/previous track
- Toggle mode between radio, bluetooth, aux
- Open/close sunroof
- Flash the hazard lights
- Pop the trunk

For reference here's what I did in my E46: p1, p2, p3

For the E46 I replaced the OEM headunit with a 7" tablet, running the custom Android app. For the F30 I'd like to get the mobile app/wearable working and will likely leave the OEM display as is.
This is so cool! But would you leave the raspberry always powered, even when the car is parked? Aren't you worried about finding the car with a low battery charge?
An external power supply would solve that issue.

Could remote start be a use case?
Appreciate 0
      01-03-2020, 06:16 PM   #6
jimbobiggens
Lieutenant
jimbobiggens's Avatar
United_States
839
Rep
440
Posts

Drives: 2013 335i xDrive
Join Date: Nov 2018
Location: jackson tn

iTrader: (0)

Garage List
Very interesting.
__________________
I'm not completely useless, I can be used as a bad example.
Appreciate 0
      01-03-2020, 06:43 PM   #7
hardparker
Father of Frankenfold
299
Rep
531
Posts

Drives: Yo daddy's 2014 X3 M Sport
Join Date: Jan 2017
Location: Albuquerque

iTrader: (2)

Garage List
2013 BMW X1  [0.00]
2014 BMW X3  [0.00]
I know there's a CNX Connected Car server thread over on spool street that might be relevant. There should be a way to accomplish what you're looking with with rPi and OBD to Ethernet adapter. I'm pretty sure most of that stuff works with canbus commands.
__________________
F25 X3 35i M Sport | Frankenfold 6662 | VRSF Race IC | FTP CP | BM3 tuned | XDI-35 HPFP | Stage 2 LPFP | Ethanol mixed | WMI | Oil cooler | xHP | X5/550i brakes
Appreciate 0
      01-04-2020, 04:51 PM   #8
sifi
New Member
3
Rep
12
Posts

Drives: 440i GC
Join Date: Dec 2019
Location: OHIO

iTrader: (0)

Quote:
Originally Posted by hardparker View Post
I know there's a CNX Connected Car server thread over on spool street that might be relevant. There should be a way to accomplish what you're looking with with rPi and OBD to Ethernet adapter. I'm pretty sure most of that stuff works with canbus commands.
~~~Do you have a link? I'd be interested in following it.~~~

I think Spool Street has private posts which make it hard to link to.

Last edited by sifi; 01-04-2020 at 04:57 PM..
Appreciate 0
      07-10-2020, 12:05 AM   #9
kdad
Private First Class
16
Rep
108
Posts

Drives: 2015 428i conv
Join Date: Nov 2015
Location: California

iTrader: (0)

tcanuck42 and others: curious if you've found a way? I can help with the Android side, but lack knowledge on BMW's protocol.

Also, would it be possible to use this protocol to code the vehicle?
Appreciate 0
Post Reply

Bookmarks

Tags
bmw f30 raspberry pi ibus python


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 07:55 AM.




f30post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST