ESPEasy and global variables
Posted: 25 Feb 2024, 06:13
Hi Dear!
How to create global variables in Rules ESPEasy?
For example, I find it tedious that, depending on the value of a global variable, when the same events occur, the program performs different actions. At the initial stage, the user selects the "operating mode" of the device - this is the first global variable. Then, in the process of work, there are "stages of work"-this is the second global variable. And depending on what is equal to "mode of operation" + "stages of operation", when you click on the same button, different actions occur.
How to create global variables in Rules ESPEasy?
For example, I find it tedious that, depending on the value of a global variable, when the same events occur, the program performs different actions. At the initial stage, the user selects the "operating mode" of the device - this is the first global variable. Then, in the process of work, there are "stages of work"-this is the second global variable. And depending on what is equal to "mode of operation" + "stages of operation", when you click on the same button, different actions occur.