Trying to execute a piston if integer increases


#1

1) Give a description of the problem
Trying to execute a piston if integer variable increases

2) What is the expected behavior?
The piston executes!

3) What is happening/not happening?
The piston is not executing

4) Post a Green Snapshot of the pistonimage

What am I missing? I can only assume that ‘rises’ is not doing what I assume it’s supposed to do.


#2

The logs hold all the answers


#3

I have full logging on for the piston, but there are no logs. I assume it’s because it’s not actually getting triggered.


#4

Try disabling your expression. See if you can get it to fire.


#5

The expression evaluates to true according to the UI, but I have temporarily removed it. I’ll let ya know.


#6

Where are you setting the @homePopulation variable?


#7

I believe this triggers the way you want. Not sure though because I don’t see where you are setting the global variable. Also needs to be a integer type global variable


#8

Based on another thread I had about this troublesome piston, I ended up using this:

Now if the ST presence sensor would just work right…