I have a ceiling mount projector, a google home and a hooked up ikea trådfri outlet.
- I can power the ikea trådfri outlet or projectors mains power with a google command
- When the projectors mains power is switched on, it starts in standby
- The remote can be used to turn on the projector without touching the projector (so it doesnt misalign)
- I have captured the IR code and can successfully turn the projector on and off with an arduino and an IR LED
So i need a way to 'detect' when the ikea trådfri outlet is on, so I can tell the arudino to take the projector out of standby, and also a way to 'detect' when its off to put the projector back into standby.
possible options:
- shove a light sensor on the ikea trådfri outlet, theres a LED when its on - that could detect it - bit sketchy
- some fancy current sensing equipment - overkill?
- plug a transformer into the ikea trådfri outlet, plug straight into arudino detector pin - different grounds = bang
- interface with the ikea zigbee - make the arudino a ikea switching target
Any other simple way im missing? any guidance would be super useful - thanks!