Virtual buttons / switches etc -- Advice needed


#1

Hi.

Im trying to create a piston in webcore to power on a pocket socket which in effect wakes the computer up. Then it should turn on the tv and receiver. When someone then clicks some random OFF button the computer should power down and when the socket reads less as 10W it should also power down. end of piston.

I would like to attach this piston to some virtual device or button which i can use to activate it. Ideally i want this button to appear on my action tiles dashboard. Ive been reading about several different types of virtual devices, but which one would be the right one for me? Any suggestions? Thanks!