Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in
Steam Status shown on an AWTRIX display
Steam Status, as Galadril runs it.

Steam Status

Show your or friends Steam status in Domoticz

Domoticz AWTRIX 3
Download flow
About this flow
Specifications
System Domoticz
AWTRIX version AWTRIX 3
Topic Smarthome
Built by Galadril
File Xj8Yokl0OPpx.json · 2.1 KB
Icons
Published 6 Jan 2025
Downloads 20
Is this your flow?

If you created this flow, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.

⚙️ 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.