is it possible to wake an echo dot, and immediately run some python code? That's all I need, nothing else. The device will be solely used for this task.
Hello and thanks for posting.
Doing this will still require you to launch a custom skill, it is not possible to trigger a skill just waking up a device.
In the first case, your python code would run on the skill's endpoint, but please take into account that it should be publicly accessible.