Using Vaydeer macro keys to control routine?

I am trying to control a heater with a macro keyboard(vaydeer 9 key keyboard).
My goal is to program a few keys with different routines to get a heater to stay ON for 5/15/30min by creating a routine for each duration and then hopefully toggle each routine to a specific key in the macro keyboard.
I googled around and some of the most sugested solutions are deprecated things like eventghost and webcore.

anyone able to guide me on how to achieve this basic automation?
this might be important info, i am using the keyboard connected to my laptop and the laptop is running the SmartThings app where I currently can click the routine to run it but this requirs me to exit game/movie.