Skip to content
AWTRIX Flows
Submit flow
Steam Status shown on an AWTRIX display
Fig. 1 Steam Status, as Galadril runs it.

Steam Status

Show your or friends Steam status in Domoticz

Specifications
System Domoticz
Firmware AWTRIX 3
Topic Smarthome
Built by Galadril
File Xj8Yokl0OPpx.json · 2.1 KB
Icons
Published 6 Jan 2025
Downloads 4
Download flow

⚙️ Script Activation:

The script is active by default, as indicated by active = true.


⏰ Trigger:

The script is triggered when the device "Steam - %Username% Status" changes state.


📝 Logging:

Uses the logging level domoticz.LOG_INFO, with entries marked by "AWTRIX3_STEAM" for easy identification.


🚀 Execution:

When triggered, the script performs the following actions:

🔍 Condition Check:

Checks the new state of the "Steam - %Username% Status" device:

  • ✅ Recognized states include:
    • In-Game: Fetches the game name from "Steam - %Username% Game Name", or defaults to "In-game".
    • Online: Notification displays "Online".
    • Offline: Notification displays "Offline".
  • 🛑 If the state is unrecognized, the script logs a warning and stops further actions.

🔄 Action:

  • Sends a JSON payload (state and icon) to the "AWTRIX3 - Send Notification" device:
    • ✅ If the AWTRIX3 device is found: The notification is sent.
    • 🛑 If the AWTRIX3 device is not found: Logs an error.

More Information:

More flows for Domoticz or Smarthome

Something wrong with this flow? Report it.