<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: Change Profile at Lock Screen</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=019e7d4e-21e6-713a-a3c4-97603ccfa1dc" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=019e7d4e-21e6-713a-a3c4-97603ccfa1dc</link>
<description>DisplayFusion RSS: Change Profile at Lock Screen</description>
<lastBuildDate>Thu, 20 Aug 2026 01:52:53 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=019e7d4e-21e6-713a-a3c4-97603ccfa1dc</generator>
<item>
<title>RE: Change Profile at Lock Screen</title>
<link>https://www.displayfusion.com/Discussions/View/change-profile-at-lock-screen/?ID=019e7d4e-21e6-713a-a3c4-97603ccfa1dc#2</link>
<pubDate>Wed, 03 Jun 2026 03:44:58 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/change-profile-at-lock-screen/?ID=019e7d4e-21e6-713a-a3c4-97603ccfa1dc#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I accomplished this using Home Assistant (specifically using HASS Agent on my computer connected to Home Assistant on another device/server). I have the same setup where one display is in my office and one is my living room TV. This works even when the PC is locked.
On HASS Agent, I setup two co...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I accomplished this using Home Assistant (specifically using HASS Agent on my computer connected to Home Assistant on another device/server). I have the same setup where one display is in my office and one is my living room TV. This works even when the PC is locked.<br/>
<br/>
On HASS Agent, I setup two commands:<br/>
(1) "Gaming_PC_DisplayFusion_OLED_Only"<br/>
(2) "Gaming_PC_DisplayFusion_LvngRm_Only"<br/>
<br/>
Each of these commands is Type: "PowerShell"; Entity Type: "Button".<br/>
<br/>
The PowerShell command for (1) "Gaming_PC_DisplayFusion_OLED_Only" is:<br/>
<div class="Inline"><pre>& "C:\Program Files\DisplayFusion\DisplayFusionCommand.exe" -monitorloadprofile "OLED Only"</pre></div><br/>
<br/>
The PowerShell command for (2) "Gaming_PC_DisplayFusion_LvngRm_Only" is:<br/>
<div class="Inline"><pre>& "C:\Program Files\DisplayFusion\DisplayFusionCommand.exe" -monitorloadprofile "Living Room TCL Only"</pre></div><br/>
<br/>
Note that "OLED Only" and "Living Room TCL Only" are the exact names of my DisplayFusion profiles.<br/>
<br/>
Then in Home Assistant, I have the ability to "click" the virtual button that tells HASS Agent to fire the chosen PowerShell command, which in turn tells DisplayFusion to load the chosen profile.<br/>
<br/>
If you get into Home Assistant, you'll find you can trigger these actions from a voice assistant, dashboard, phone shortcut, webhook, tv input selection, etc.,<br/>
<br/>
.........................<br/>
<br/>
Sorry its not a super clean setup, but it works well enough. <br/>
<br/>
.........................<br/>
<br/>
My final thing to add is feedback to Home Assistant once a profile is loaded, to confirm it worked/errored out... but DisplayFusion is having issues triggering when a profile is changed (I have this issue in an open discussion with the DisplayFusion team). <br/>
<br/>
Here is a DisplayFusion function (to use in lieu with a DisplayFusion trigger(s)) to send notice to Home Assistant upon profile changes:<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code01a01cdf052675b191e8f332b115e0e9" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code01a01cdf052675b191e8f332b115e0e9Js'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code01a01cdf052675b191e8f332b115e0e9Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Net;

public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        using (var client = new WebClient())
        {
            client.UploadString(
                "http://HomeAssistantIPhere:HomeAssistantPortHere/api/webhook/displayfusion_monitor_changed",
                "POST",
                ""
            );
        }
    }
}</pre><textarea id="code01a01cdf052675b191e8f332b115e0e9" name="code01a01cdf052675b191e8f332b115e0e9" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Then in Home Assistant, a 'webhook triggered' automation(s) can be setup.<br/>
<br/>
This section is not stricly necessary though...<br/>
<br/>
.........................<br/>
<br/>
If you end up going this route and have any questions, please let me know!
</div>
]]></content:encoded>
</item>
<item>
<title>Change Profile at Lock Screen</title>
<link>https://www.displayfusion.com/Discussions/View/change-profile-at-lock-screen/?ID=019e7d4e-21e6-713a-a3c4-97603ccfa1dc</link>
<pubDate>Sun, 31 May 2026 09:12:13 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/change-profile-at-lock-screen/?ID=019e7d4e-21e6-713a-a3c4-97603ccfa1dc</guid>
<category>DisplayFusion</category>
<description><![CDATA[I have a desktop which is wired to 2 areas -- a display at my desk, and a TV in the living room.
I have 2 profiles set to display on either the desktop or on my TV (I never use both at the same time), and I have a shortcut set to switch between them (Ctrl + Shift + Alt + Arrow Key) and this work...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I have a desktop which is wired to 2 areas -- a display at my desk, and a TV in the living room.<br/>
<br/>
I have 2 profiles set to display on either the desktop or on my TV (I never use both at the same time), and I have a shortcut set to switch between them (Ctrl + Shift + Alt + Arrow Key) and this works fine when logged in.<br/>
<br/>
However, the primary use case of this setup is to swap the display when I am sat on the couch using my wireless keyboard (or back to my desk when I am sat there) and I usually want to do that right when the computer starts up (if I am sat on the couch and the display is over on my desk it is hard to get past the lock screen)<br/>
<br/>
It seems I cannot use my shortcuts when the screen is locked, does anyone know of any workarounds for this?
</div>
]]></content:encoded>
</item>
</channel>
</rss>