IDriveConnectAddons icon indicating copy to clipboard operation
IDriveConnectAddons copied to clipboard

Pro Exhaust valve control

Open Condorello opened this issue 2 years ago • 3 comments

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

Condorello avatar Jul 11 '22 10:07 Condorello

That's nifty! Very neat implementation! I've only had experience with the Mini JCW Pro Exhaust, which has a little Bluetooth button to toggle it.

Having a dedicated car application to run such a script would be too complicated. A simpler method, I think, would be for your application to notice when the phone is connected to a BMW Bluetooth, and then maintain a constant connection to the relay's AP. With this connection open, you would then have a persistent notification on your phone with a text line saying what the current state is, and an action button to toggle it, and then both the user and AAIdrive's Notification functionality would be able to toggle the relay.

hufman avatar Jul 12 '22 00:07 hufman

That's nifty! Very neat implementation! I've only had experience with the Mini JCW Pro Exhaust, which has a little Bluetooth button to toggle it.

Having a dedicated car application to run such a script would be too complicated. A simpler method, I think, would be for your application to notice when the phone is connected to a BMW Bluetooth, and then maintain a constant connection to the relay's AP. With this connection open, you would then have a persistent notification on your phone with a text line saying what the current state is, and an action button to toggle it, and then both the user and AAIdrive's Notification functionality would be able to toggle the relay.

Hi Hufman, thanks for your reply. As soon as I have some free time I'll try to develop the app, let's see if we can integrate it :)

Condorello avatar Jul 12 '22 08:07 Condorello

Once you get a notification method to toggle the exhaust, it could be fun to extend this toggle with an AM icon in the car dashboard. AM app icons even have a dedicated Vehicle Info category that they could be put into :)

hufman avatar Feb 22 '24 06:02 hufman