Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?
Save up to 50% on our desktop apps during our big Year End Sale!Save up to 50% on our desktop apps during our big Year End Sale, including DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!Save up to 50% on our desktop apps during our big Year End Sale!

User Image
Amaranth
22 discussion posts
I have my computer connected to my TV, and since unlike a monitor it stays on even without an active input, I have a Python script to turn it on and off remotely. The plan is calling this script before the PC goes to sleep and after it comes back up.

For the latter, I tried a DF trigger with the event "System Wakes from Sleep" but it only works if the TV is already on. I can tell by waiting a few seconds then turning the TV on manually, only then I can see the result of the trigger firing.
Nov 1, 2025  • #1
User Image
AB25
6 discussion posts
Quote:
I have my computer connected to my TV, and since unlike a monitor it stays on even without an active input, I have a Python script to turn it on and off remotely. The plan is calling this script before the PC goes to sleep and after it comes back up.

For the latter, I tried a DF trigger with the event "System Wakes from Sleep" but it only works if the TV is already on. I can tell by waiting a few seconds then turning the TV on manually, only then I can see the result of the trigger firing.


i went down this rabbit hole of turning the tv on and off on windows 11 on wake and shutdown two weeks ago. I think in my case the issue was that if the tv was off it was not registering as a device at all so the script would not do anything

Also, display fusion triggers are not the best way for the "turn off" script as a side note. you should look into adding it in group policy editor

the way i solved the issue of turning off and on was writing custom ps1 scripts and utilizing my TV's iot APIs.

I have a samsung TV. And for all their faults around ads and stuff one thing that is weirdly well documented are their APIs. You can basically do everything on your TV with their iot APIs.

If you dont have a samsung TV, check your manufacturer/model documentation and see if you can utilize their iot APIs. I believe sony has decent iot APIs as well.
Nov 8, 2025  • #2
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
What does your script outside of DisplayFusion do differently than the script inside? Is it the same idea just triggered by an iOT event? Or does your external script interface with the TV more directly? Thanks!
Nov 12, 2025  • #3
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)