About This File
Ā
š§ What AOQ (All-in-One QuickApp) Offers
- Multi-System Control: Seamlessly manages HC3, HC2, and HCL controllers using master/slave architecture.
- Unified Automation: Replaces scattered Lua and Block scenes with one centralized QA.
- Device Intelligence: Auto-detects Z-Wave, ZigBee, Nice, QA devices, and scenes.
- Alarm Zone Management: Identifies breached zones/sensors and triggers actions.
- Custom Events & Profiles: Supports dynamic profiles and custom rule-based automation.
š ļø Core Configuration: Job Management -Ā jM{} Hash Table
Each line in jM{} includes:
| Field |
Description |
|
|---|---|---|
| Time Span |
Duration in minutes for monitoring or action. |
|
| IDs List |
Devices/scenes/variables/keywords (e.g., `"137,630" |
Ā |
| Criteria & Rules |
Optional conditions like |
|
| Action Tables |
Optional commands: |
š Device Aliasing with jS2n{}
Avoid hardcoding device IDs:
jS2n = {mSensor=200, boiler=137, dryer=630, light=230, timeScene="_17"}
Use aliases in jM{}:
jM={
{15,"`mSensor`",{state="value=true", trueAct={"`light`", "turnOn"},falseAct={"`light`", "turnOff"}}}
}
š Monitor Option
Detects inactivity or failure to report:
{8, "`timeScene` and _545", {timeSlot="10:00~22:00"}} -- scenes must be active every 8 min between 10am to 22pm
{10, "`boiler`and 145", {property="power"}} -- must report power every 10 min
{30, "`boiler`", {state="power>100"}} -- alert if power >100 for 30 min
āļø Control Option
Example: Turn on light when motion sensor is breached, turn off after 3 min when motion sensor back to safe:
jM={"`mSensor`",{state="value=true",trueAct={"`lightSw`","turnOn"},falseAct={"`lightSw`","turnOff", "180"}}}
To restrict to nighttime:
Ā
jM={"`mSensor`",{state="value=true",timeslot="18:00~07:00", trueAct={"`lightSw`","turnOn"},falseAct={"`lightSw`","turnOff", "180"}}}
Ā
Example: Turn on light when motion sensor is breached, turn off after 3 min (regardless of when motion sensor back to safe)Ā
jM={"`mSensor`",{state="value=true", trueAct={{"`lightSw`","turnOn"},{"`lightSw`","turnOff", "180"}}}}
š§Ŗ Debug & Table View
- Debugger Output: Shows executed commands with color-coded status.
- Table Header: Displays system info, sunrise/sunset, home/vacation mode, system traffic.Ā
-
Columns:
- Device type, ID, name, battery status
- Criteria evaluation
- Alerts and elapsed time
- Action tables and active rules
š Top Active Monitor (New)
AOQ now includes an enhanced Top Active Devices monitor designed to identify devices that may destabilize HC3 performance.
It analyzes lifetime activity, current load per hour, and burst behavior to detect devices generating excessive or abnormal traffic.
The table highlights devices that may cause delays, radio congestion, disconnects, or even controller restarts.
A Peak/h column appears only when abnormal bursts are detected, helping users quickly locate problematic devices without cluttering the interface.
š Want to Go Deeper?
You can find the full documentation and guides on the Smart Home Forum by FIBARO, including:
- AOQ Advanced Userās Guide
- AOQ Quick Guide
- AOQ HC-WebEye Viewer
Edited by cag014
Updated
What's New in Version 4.1 Ā Ā See changelog
Released
In the future Fibaro push notification requires user IDs and not mobile device IDs, due this new feature the code changed to support both options.
Ā
New features
1.Ā Added slave option to control other HC3/HC2/HCL controllers (master/slave)
2.Ā Added 5-deep nesting for jS2n table values.
3.Ā Added an option to use list of variables in setGlobal command.
4.Ā Added new table jP2n{} for constant parameters to prevent mix between deviceās alias to parameterās name.
5.Ā Added button to stop/start the AOQ.
6.Ā Added rptAction to execute repetitions of action tables in other lines
7.Ā Added an option to stop/restart AOQ.
Ā
Bugs Fix
1.Ā Under score in alarm keyword cause error.
2.Ā Error in timeSlot when using Luaās Math library.
3.Ā No changes at alarm zone state when no devices included.
4.Ā Front panel LEDs not displayed on startup and rearranged according to HC3 front panel.
5.Ā New line character ā\nā in push notifications shown as ā/nā
6.Ā Formula calculated delay time doesnāt displayed correctly āIn Bufferā line.
7.Ā Keyword items ($24clock, $blankā¦) fail when using $lineId in same line.
8.Ā Minor bugs fix.
Ā
Others
1.Ā Guide popup menu removed.
2.Ā Added āhuman readableā format to conditional parameter and time-based actions
3.Ā Added option to define item colors.
4. Added two QAs for download to emulate HC2/HCL sensors and switches as HC3 device.
Ā
I would like to take this opportunity to express my thanks to @Rover, @gggizmo, @Smartsystem and others for their time and contribution to debug and improve this QA
