Skip to content

[IMPROVEMENT] Android intents control from other android applications #79

Description

@Kegetys

Is your feature request related to a problem? Please describe.
I'd like to be able to trigger MG4Control actions like setting drive modes etc. from other android applications. Primarily KeyMapper and Tasker. KeyMapper for example allows binding custom actions to more of the car buttons than MG4Control itself like the home button and phone + speech recognition steering wheel buttons. Rather than replicating this functionality in MG4Control, if KeyMapper could call MG4Control functions directly the customization options would be expanded significantly.

Describe the solution you'd like
KeyMapper and Tasker can call android intents, so maybe MG4Control could offer a sort of API with android intents to access its feature set. Like 'get drive mode', 'set drive mode', 'turn on heated seat', etc.

Describe alternatives you've considered
Developing a custom Tasker plugin for example or similar, but since all the code is already in MG4Control I feel this would be a handy solution for more advanced customization options without having to implement every possible variation in MG4Control itself (Like more advanced scripts possible with Tasker).

Additional context
KeyMapper can be found here, it works great with the car: https://github.com/keymapperorg/KeyMapper

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status
Ready for deployment

Relationships

None yet

Development

No branches or pull requests

Issue actions