It's not done yet...
Well
it IS done now... however I am going to continue to test before I post the setup.
The problem I ran into is
motion sensors (or even PalmPad remotes)
can cause multiple ON signals. Since the little LCD TV I am using (and every other TV I know of) uses the same IR signal for On as Off. The "power" signal just reverses the status. So if AHP receives two On signals I could end-up with two IR signals. Twice.. I watched the TV turn On... and then Off.
Of course... the solution was simple enough.
I created conditional macros using flags. The On signal sets a flag, the Off clears the flag, and the condition is that the flag is cleared. I added a 3 second delay... after the power was turned on to both the TV and the video receiver. This allows the TV to power-up before it receives the IR signal.
NONE of the macro/flag setup is new in any way. I had never created a flag macro before... but had read enough about it that I knew the setup.
What is new here is
using the IR to automatically turn on a TV when cameras are triggered. And
that part is awesome. (When completed) my wife, or even a visitor can simply look at the screen to see who has entered the yard, driveway, or approached the door.
Adding the IR control to HA is really cool! And for the cost of the
USB-UIRT.. and
BVC to control it (and more).... is
well below a hunderd bucks.