Giter Club home page Giter Club logo

idriveconnectaddons's Introduction

IDriveConnectAddons

The Connected Apps protocol is very powerful and provides an unparalleled convergence experience. While the AAIdrive app focuses on a specific feature set, addons providing extra functionality have been built and released and creative people could implement their own ideas to unlock other possibilities!

Current Integrations

In recent AAIdrive builds, the CDS data is available through an Android Content Provider for any other apps to easily consume while the car is connected. A LiveData subclass has been implemented to enable incredibly convenient access to this data.

Built on top of this easy CDS access, a few example apps have been provided to inspire other apps:

  • androbd_gestalt provides CDS data to be viewed and recorded in AndrOBD
  • bimmerscrobbler watches the car's Multimedia information and announces any currently playing music to Simple Last.FM Scrobbler. Currently, this seems to provide the Bluetooth and USB music metadata, but unfortunately not Radio information.
  • cds_details provides a list of every single CDS data point provided by the car, with live-updating values.
  • cds_gauges provides a few needle gauges to represent a few select data points from the car.

There's also the concept of a Car Connection Addon, which starts up and shuts down together with the main car connection. These require implementing the full car app protocol and are much more complicated to develop, but can provide some incredible features:

  • screen_mirror adds an app to the car to show a copy of the phone screen on the car's screen.
  • Hass Gestalt provides access to Home Assistant dashboards in the car's screen
  • ReadYou Gestalt adds an RSS news app to the car's screen, based on ReadYou

Future Ideas

Car Data Service

The car provides so much data, what are possible ways to use it?

  • Trip logger, both locally and to the cloud in real-time
  • Fuel logger, automatically reporting fill-ups to Fuelly or Spritmonitor
  • Scrobbling of car-sourced music such as SiriusXM or USB (basic implementation in bimmerscrobbler)
  • Live gauges display of some basic performance data, without needing extra hardware (simple example in cds_gauges)
  • Car race recording, inspired by BMW M Laptimer (one attempt with androbd_gestalt)
  • Automatically load VIN from the car to decode the list of options that the car came with

Legacy Apps

There were previously some incredibly innovative features using the Connected Apps protocol, perhaps they can be brought back and updated?

  • Official Twitter client could be reused for Mastodon
  • Official RSS News reader (implemented as a fork of ReadYou)
  • Dynamic Music would be fun
  • Sports Displays could be reused for accelerometer display, perhaps?
  • Smart Things could be a frontend for Home Assistant (implemented as Hass Gestalt)
  • The GoPro app inspires a dashboard-integrated dashcam control/view interface, perhaps with support for real GoPros
  • Perhaps replicate the new IDrive Weather map for cars that don't include it
  • Bring OnlineSearch functionality (navigation, calling) to all cars, without relying on the car's own data service

AM App Icons

The car provides a basic API for adding placeholder icons, allowing an icon with any image and label to be placed in a variety of top-level menus. This icon is limited to only triggering a callback when selected, holding no other UI. Combined with the ability to change the name and image at will, this could be creatively used for quick functionality:

  • High-level direct access to toggle devices in a smart home
  • Trigger specific Tasker or Triggr actions from the car

Customizable apps

By using AM App Icons as launchers into other apps, we can essentially create custom apps to provide richer experiences:

  • An overview of upcoming traffic obstacles or a way to report them, using blitzer.de for example
  • An app to view and add to-do task list items, perhaps as voice memos, integrating into an existing tasklist app somehow

Unknown Possibilities

The protocol has some other APIs which haven't been fully explored, such as the Map api that takes a KMZ file. This might enable some fun features:

  • Add a POI layer to show speed traps (blitzer.de Flitsmeister Yanosik, for example). OSM has some of this data.
  • Add a POI layer to show addresses of contacts from the phone's address book

Turns out this map functionality is less of a POI layer and more like a mini map showing search results, which lends itself to different functionality:

  • Reimplement the parking/gas(charging) search functionality from BMW Connected
  • Viewing Redfin/Zillow prices of houses, or nearby open houses to tour

idriveconnectaddons's People

Contributors

hufman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

idriveconnectaddons's Issues

Connection problem after upgtate

After upgrade version aaldrive 1.4.1 and mini connect 2.12.3 it's impossible create app connection.
Bluetooth working weel for call but no data transfer.
Please help

Screen mirroring size toggle

Hello,

Is there any way to get the screen mirroring with the FPS cap removed, but the small display size ? The large display causes the IDrive to lock up on EntryEvoID5 after a while.

Could not change URL on Hass Gestalt

I would like to change url in Hass Gestalt; however, I couldn't delete or change the existing url that I put in before. I pressed the logout button and nothing happened. Even I reinstalled the app, the existing url is still there. Any suggestions?

MGU Head unit

Hi there,

Just tested this app out and can't seem to get it connected Tor a MGU Head unit. Can somebody confirm that it will only work on NBT or NBT Evo head unit?

Thanks in advance ๐Ÿ˜
Kr,
Thomas

Phone mirroring not working

Installed AAIDRIVE and mirrorlink apk. Mirror shows up on infotainment screen, try to open it states opening but get message saying to allow app permissions for screen writing or something similar but unable to do so and I have to exit. Help

Screen Mirroring - Could not locate Smartthings Classic APK in external directory

I'm getting the following on my Samsung S22 Ultra:

Execution failed for task ':screen_mirror:confirmRHMIResources'.
> Could not locate Smartthings Classic APK in external directory

Is there a specific APK I need to download to my phone to get this app to work? Looked into installing https://www.apkmirror.com/apk/smartthings/smartthings-smartthings/smartthings-smartthings-2-20-1-release/#downloads but this still seems to be broken

Screen Mirror - Full screen

Hello,
Is there a way to enable screen mirror to display full screen navigation? Now it runs in a window, about 66% of the navigation screen .
Regards,

Installation

Hello

how can I install the addons?

thank you

Use touchscreen to control phone?

I find the screen mirroring very useful, especially for car navigation with Google maps or Waze. If the touchscreen on the car could be used to control the phone it would be even better. Then there would be no need for developing Mapbox. Would that be possible?

How to set up AndrOBD?

Maybe some more detailed instructions please? Have installed the plugin and AndrOBD, how to connect the two?

Is there a way to disable approval screen mirror popup?

Hey,

I was looking in the code but i cant figured out if there is a way to approve automatically the screen recording(mirror) popup just by clicking in the idrive icon app and not having to each time pick up the phone and approve?

Thanks in advance.

auto grant screen mirroring permission?

Hi,

We could add OP_PROJECT_MEDIA AppOps to the app to make click grant permission without popup an alert.
like: adb shell cmd appops set <pkg> PROJECT_MEDIA allow

so is there a way we can auto-grant it on the car without opening the app and clicking the button?

or how can I change the code to call this func https://github.com/BimmerGestalt/IDriveConnectAddons/blob/main/screen_mirror/src/main/java/io/bimmergestalt/idriveconnectaddons/screenmirror/MainController.kt#L7C17-L7C17

automatically when opening the screen-mirroring menu on the car.

Podcast addict won't allow any interactions

It only plays a podcast. It won't allow FF or rewind, either with left/right store buttons under center display or by steering wheel up/down media buttons. When it's interrupted by any other message, it stops and won't start again, even with the media power button cycling.

How to enable screen mirroring?

I've downloaded the apk and nothing happens...it is also not an app that can be launched on my phone. I have a Mini that doesn't have any network connections. Is it that it only works if you have wifi in the vehicle to connect the mirroring connection?

Add easy support for CDS-only apps

A variety of apps might only need access to CDS data. Instead of requiring a full cert and login setup, it would be convenient and more efficient to allow subscription and provide CDS data through the plugin host itself.

Pro Exhaust valve control

Hi, could be usefull for who have the Pro Exhaust (Mini or BMW) to have shortcut on the screen which render a script on the phone:

  • save the current connected access point
  • disconnect and connect the phone to defined access point
  • get the relay status and trigger the relay (http api call)
  • display a notification which say for ex. "valve closed"
  • reconnect to the saved access point.

here my work on the valve relay:
https://github.com/Condorello/JCW-Pro-Exhaust-Controller

Making the screen mirror size as big as the navigation map?

Hello,
First of all thanks for the app, i wanted to know is there a way to make the screen mirror size as big as the navigation map? As you can see in the pictures i will post, the screen mirror has a lot of bottom margins left without use while the navigation app is full screen and very beautiful.
If there is a way, if you could just give me a hint of which part of the code i have to change for this?
Thanks

IMG_20221029_094439
photo_2022-10-28_19-56-31

There is no audio in the applications

hello, first of all thank you for this great application. I just installed it in an F21 with NBT professional navigation, I can connect and get the Spotify applications through USB, but I don't have audio in the car, nor can I modify the volume with the radio. What could it be?
Thank you very much

Screen Mirror fps

I've read that the Android Auto app is to be discontinued. Is there a way to use Screen Mirror without the fps cap when not using the Android Auto app?

Add battery temp to CDS gauges

it would be great if the battery temperature was also displayed, as this is important for fast charging in electric cars

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.