2 ms·
The best answer is "try it and see". You already managed to build a device that uses the Hall effect to measure the amount of current your TV is pulling, so ho
by jrockway 15y ago
The best answer is "try it and see". You already managed to build a device that uses the Hall effect to measure the amount of current your TV is pulling, so hooking up a photoresistor to an ohm meter and taping it to your TV while you turn the lights on and off should not be too difficult :)
Also, electrical tape is black and blocks light pretty well, so slather enough of that on there and you should be good :) I guess you won't know whether or not your TV is on, in that case, but you can always add another LED that mimics the status of the TV's LED.
(According to Wikipedia, you can use an LED as a photodiode. So you may not even have to buy anything to try this idea out! http://en.wikipedia.org/wiki/LEDs_as_Photodiode_Light_Sensors#LED_as_light_sensor http://en.wikipedia.org/wiki/LEDs_as_Photodiode_Light_Sensor... )
(Also, a hacked VGA cable may help xrandr report the TV power status. By default, VGA cables supply +5V to the DDC chip in the TV, so it can detect its presence even when off. Since you don't want this to happen, perhaps clipping that pin off will prevent the DDC information from being queried until the TV is turned on.)