Ola Pedro, 
  
You have to create a VD, for exemaple: 
  
local TV = 152 --ID to one of your activity-- fibaro:call(TV, "changeActivityState") --turn on TV--   fibaro:call(114, 'turnOn')--turn on device no.114 
  
don't forget to put your IP: 192.168...... and TCP Port: 80