Skip to content
AWTRIX Flows
Submit flow
Rotate Custom Apps shown on an AWTRIX display
Fig. 1 Rotate Custom Apps, as Galadril runs it.

Rotate Custom Apps

This script is designed to automate the switching between different custom apps on AWTRIX3 every minute.

Specifications
System Domoticz
Firmware AWTRIX 3
Topic Smarthome
Built by Galadril
File YjJZA6qY5yrL.json · 0.7 KB
Icons
Published 2 Jan 2025 · updated 7 Jan 2025
Downloads 4
Download flow
  1. ⚙️ Script Activation:

    • The script is active by default, indicated by active = true.
  2. ⏰ Trigger:

    • The script runs on a timed schedule, executing every 1 minute as specified by the trigger timer = { 'every 1 minutes' }.
  3. 📝 Logging:

    • Utilizes a custom logging level set to domoticz.LOG_INFO, with entries marked by "AWTRIX_NEXT" for easy identification in logs.
  4. 🚀 Execution:

    • When triggered, the script executes a defined function to perform its task.
  5. 🔍 Condition Check:

    • Examines the state of the device "AWTRIX3 - Power":
      • 🛑 If "AWTRIX3 - Power" is not found or is not "On", the script stops further actions (return).
  6. 🔄 Action:

    • ✅ If "AWTRIX3 - Power" is on, it proceeds to activate the 'AWTRIX3 - Next App' using appNextDevice.switchOn().

More information:

Domoticz:
www.domoticz.com

Domoticz AWTRIX3 Plugin:
https://github.com/galadril/Domoticz-AWTRIX3-Plugin

More flows for Domoticz or Smarthome

Something wrong with this flow? Report it.