- Edited
I think I should clarify what exactly I'd like to do, it's kind of what DUDU-Meng said:
When parking / shutting off engine (so no "Ignition" and power) I'd like the Dudu to just stop media playback (Tidal in my case). I should add: I got Start/Stop in my car.
I got the Dudu set up, so that it delays the shutdown for 10 seconds. So it's either just shutting down without me blasting everyone with my exceptional music taste while walking away (9 out of 10 times)
OR
if I decide to keep the Dudu running (e.g. Car wash, passenger stays in car, traincrossing) I could just put the ignition back on (so the Dudu stays on) . One could then either manually resume music or I could maybe even do some shenanigans with tasker and some kind of if statement.
The origin of any kind of variable doesn't matter to me, I just want to be able to use it within tasker. Where do I find the "Ignition off" trigger CHR12345 mentioned?