HI All,
I’m really struggling on how to put the pieces together. I have an iTach WIFI 2 IR that i want to use as my TV controller.
so i created a device type ( called iTach ) that is effectively a bunch of standard tiles each of which fire a custom commands like ( TVON, TVOFF, SET_INPUT_1, etc…) when you tap on the tiles. I made the tiles an extension of the ‘switch’ device.
This works fine… Then i created a smartapp that listens for the TVON.TVOFF. etc events and sends the appropriate IR CODE to the itach and voila… This also works perfectly in the simulator…I can hit any tile and it controls the tv correctly.
where everything falls apart is … How do i now get the app on my phone connected to a ‘virtual’ device an not an actual device ? if i connect it to a switch for example, when i turn that switch on/off it does also trun my tv on and off, but i actually want to have my martapp be the virtual switch …
Is that even possible… the abstractions in this paradigm are so abstract i seem to get lost…
Can someone point me in the right direction ? is there a different capability that would get me closer ?
Cheers from a confused, but excited enthusiast
J