- SamyGO Admin
- Posts: 3108
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
This is good. My mother also forgets to shut down TV after closing PC...
So It's will be good if we fix this issue.
But I don't know how we could handle that.
1. We needed to detect which source is active currently.
2. We needed to detect if signal is present at that input.
3. Place a program like watchdog to shutdown tv via MicomCtrl if signal is not exist...
Not look hard to do. It's possible...
As an alternative you could use one of those programmable electric socket that shuts down anything powered from it at defined time. Eg. On 2 a.m.
To much beer?viper3k wrote:... I find myself waking up too often with a screen that says (no signal)
AFAIRC function for getting "signal strength" was working fine for any external sources, not just ATV/DTV.
I.e, if there was a signal on active external input (or if TV was in media player/content library mode), it returned 100 (or was it 1?), and 0 otherwise.
I'm not sure turning TV off by MicomCtrl is a best possible approach; IMO it will be better/safer to send POWER_ON_OFF keycode via _ZN14SsKeyInputBase7SendKeyEi(), or something similar, to shutdown TV more gracefully.erdem_ua wrote: 3. Place a program like watchdog to shutdown tv via MicomCtrl if signal is not exist...
Happy coding .