Feature Request: Enhancements for Homey Pro Advanced Flows
Here are a few feature suggestions that would significantly improve the creation of complex and reliable automations in Advanced Flows.
- Set/Reset (SR) Flip-Flop Logic Block
A dedicated Set/Reset (SR) logic block would be a fantastic addition to the existing AND/OR functions. This would eliminate the need for cumbersome workarounds using multiple boolean variables to simulate this essential function.
- Problem: Currently, creating a latching or stateful logic (e.g., keeping a device on after a trigger until a specific reset condition is met) requires creating at least two separate flows and a boolean variable to manage the state. This process is complex, clutters the variable list, and can become unreliable in complex automations.
- Solution: A native “SR Flip-Flop” block would have two inputs: Set (S) and Reset (R).
- Sending a signal to the Set input would turn the block’s output to TRUE.
- The output would remain TRUE until a signal is sent to the Reset input, which would turn the output to FALSE.
- Benefit: This would dramatically simplify automation logic, reduce the number of required variables, and make flows cleaner and more robust.
- Variable Management with Folders
As the number of variables grows, managing them becomes increasingly difficult. The ability to group variables into folders would be a massive improvement for organization.
- Problem: The current flat list of variables is disorganized and hard to navigate, especially in complex setups with many devices and flows.
- Solution: Allow users to create folders to categorize variables (e.g., by room, device type, or function like “Lighting,” “Security,” or “Heating”).
- Benefit: This would provide a much clearer and more structured overview, making it easier to find, manage, and debug variables.
- Calculation and Math Functions for Numeric Variables
A function to perform mathematical calculations directly within a flow would be incredibly powerful for creating dynamic automations.
- Problem: Currently, any mathematical operation (like applying an offset to a sensor value or combining two numbers) cannot be done directly. This limits the possibilities for creating sophisticated, data-driven automations.
- Solution: Introduce a “Calculate” or “Math” block that allows basic arithmetic operations (+, -, *, /) on numeric variables. For example:
- [Sensor A Value] + 5 = Output
- [Variable X] * [Variable Y] = Output
- Benefit: This would enable the creation of offsets, dynamic adjustments, and complex interactions between different numerical data points, unlocking a new level of automation creativity.