Actually, i ended up writing my first plugin. It gives me 3 options. Stop oscam, Start oscam and Reload Keys.
It when i hit the yellow key, it issues the systemctl stop emu-oscam, when i hit the green button, it issues the systemctl start emu-oscam and when i hit the blue button it issues an http request to the oscam web server to reload the softcam.key file.
Took me 5 hours, but hey, it was my first program with Python. I spent most of my time searching for what the syntax language was to issue certain commands. It also helped immensely by looking at other plugin.py code to see how the dreambox menu system is called etc.