Just Add your ST and Magic home accounts to IFTT and it will allow you to create switches and other things. IFTTT - Automate business & home this page just shows some of your options.
Just a side note I had flashed all my magic home controllers with the custom firmware so I could use them directly with ST, found here in this post.
which works pretty well with ST, they are a giant pain to flash though. sometimes the cheap price is just not worth the hassle. But it was fun doing it.