Steam Status
Use with Domoticz
Show your or friends Steam status in Domoticz
- Topic
- Smarthome
- Includes
- Flow
Runs on
- Does not run on 32×8 (TC001 & DIY) Made for AWTRIX 3.
- Does not run on 52×16 (TC002) Made for AWTRIX 3.
- Runs on 32×8 with AWTRIX 3 (TC001 & DIY)
Flow description
⚙️ 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".
- In-Game: Fetches the game name from "Steam - %Username% Game Name", or defaults to
- 🛑 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:
- Domoticz: www.domoticz.com
- Domoticz AWTRIX3 Plugin: GitHub Repository
- Domoticz Steam Plugin: GitHub Repository
Sign in to view and copy the code of this flow.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
Have an idea?
Sign in to ask questions and join the conversation.