1) Give a description of the problem
Guys and Girls, been searching on the google and trying to find an example to my issue but no luck. As I am still a noob in webcore and coding!
Purpose - Using Global variable “@_Presence_Counter” to indicate status of presence. Then subsequently other pistons can reference to the Global variable to determine which SMS notification to send in order to trigger different action for the heating system via IFTTT (as seperate piston).
- When Gary (owner) arrives “+ 1” to global variable and When Gary leaves “- 1” from Variable.
- When Jenny (Guest) arrives “+ 2” to global variable and When Jenny leaves “- 2” from Variable.
I have 1 more guest and 1 more owner to add but not yet finished.
2) What is the expected behavior?
Expecting the variable to be moving up and down pending on the presence status changes.
3) What is happening/not happening?
Unsure, hence want to check with your all how can I check the current value held in the Global Variable. As in the summary where all variable (Global and Local). Local ones shows values however the Global one is “Not set”.
**4) Post a Green Snapshot of the piston!
5) Attach any logs (From ST IDE and by turning logging level to Full)