Change Windows resolution

I’m trying to create an automation that changes the resolution in Windows based on the lens memory (optical zoom) setting from a projector.

Getting the lens memory setting is one issue, but I want to focus on the resolution in Windows.

Is it possible to change the Windows resolution from Home Assistant? Unlike Android and iOS, there’s no native Home Assistant app for Windows.

Prior Art

I found this one, but it’s been 5 years since with very ilttle fanfare:

I was wondering if there’s a non-Python solution. Maybe a simple executable file you can configure to start up with Windows.

You could try something more maintained indeed.

Have a look at chocolately for example:

You can also use a powershell module:

So there seems to be a decent set of options to change a resolution on windows.

1 Like

Have a look at HASS Agent.

GitHub - hass-agent/HASS.Agent: Unofficial development project for the HASS.Agent platform.

You’ll likely be able to define a custom command that will change the resolution

1 Like