timberline-secondary / hackerspace-scripts

Scripts for managing the Hackerspace's network
1 stars 2 forks source link

New script: turn TV on and off from Pi #12

Open tylerecouture opened 7 years ago

tylerecouture commented 7 years ago

Write two scripts, one that turns the attached tv on and one that turns the attached tv off. We would put these scripts on the pi and run them at the appropriate time using a cronjob (Mr C can do this, unless you want to learn about cronjobs)

TVs can be controlled via HDMI cable if they support CEC, which our Samsung TVs do. https://raspberrypi.stackexchange.com/questions/8698/how-can-my-raspberry-pi-turn-on-off-my-samsung-tv

Here is our exact model of TV: Samsung UN55KU6290 http://www.samsung.com/us/televisions-home-theater/tvs/4k-uhd-tvs/55-class-ku6290-6-series-4k-uhd-tv-2016-model-un55ku6290fxza/

Specs show: Anynet+™ (HDMI-CEC) = Yes

Don't know if we need special HDMI cables to support (some of those pis are using cheap cables), also might need to turn CEC on in TV settings.

PederSkaaravik commented 7 years ago

i will do some research when i'm not working, seems interesting. but i need a pi at home to practice on.