Windows companion applications can send workstation activity to Home Assistant over MQTT, providing additional inputs for lighting and other room automations. HASS.Agent documents this approach through sensors that publish PC data and commands that let Home Assistant request actions on the computer.
The project’s community examples include a light automation based on motion and PC activity, showing one use of workstation data in smart home room tracking.
PC data and automation rules
HASS.Agent lists sensors for session state, recent activity, active and named windows, process activity, CPU and GPU load, volume, and microphone and webcam activity. Its documented commands include locking a session, opening an application and emulating a keypress.
Possible room configurations include changing an indicator light in response to microphone or webcam activity, triggering a lighting scene when a selected game process is active, or delaying a lighting change after Windows locks. Each would require the corresponding sensor and an automation defining the response.
The community examples also include adjusting display brightness using ambient-light readings and session state, and allowing text-to-speech only when the microphone is inactive.
A local MQTT connection
The MQTT setup connects a Windows client to a broker and Home Assistant’s MQTT integration. Home Assistant documents Mosquitto as one broker option. Connection settings include the broker’s hostname or IP address, port and, where required, credentials.
Home Assistant supports MQTT discovery. When discovery is enabled and the client publishes the necessary discovery information, its configured sensors can appear as entities in Home Assistant.
HASS Workstation Service’s documentation describes a local configuration that communicates only through the user’s own MQTT broker. In HASS.Agent, the data shared depends on the sensors configured, including whether active-window or process readings are included.
Tool differences and operating limits
HASS.Agent’s introduction describes the application as intended for fully updated Windows 10 and 11 systems. It also distinguishes the desktop application from a separate satellite service: the desktop application’s sensors and commands do not run without a Windows user login, while the service can operate without one and with elevated privileges.
The documentation notes that some sensors and commands cannot run through the satellite service. Actions requiring a user interface, such as opening a browser, are unavailable through that service.
HASS Workstation Service also documents sensors and commands delivered through MQTT, but its repository states that the project is no longer actively developed.
IOT Link documents Windows monitoring and system-control functions over MQTT, including CPU and memory readings, volume control and session-lock commands. Its documentation says it was developed and tested only on Windows 10, Update 1803 or later.






