Have a look at this thread, I set it up as an Android tv entity with IR for digits for my Kaon STB.
Try on/off command to test if it might work on your STB.