Totally understand. I often bemoan the fact that there is no reference material for terms. Like what is Polling? What does it do? How does it help me? And why doesn’t Fade to Hue work at all on my damn lights!!!
But if you need help with things you can’t find in the main ST Apps, then check back in and we can set up something small for you. Good Luck.
It appears that the backyard sensor info is captured under $currentEventValue so I: Set decimal variable {backyardTemp = $currentEventValue}
Send Push notification “It's now {backyardTemp} outside which is hotter than upstairs, open a window and turn on house fan.”
I would still like to also display the indoor temperature. This piston evaluates both the backyard temperature value and the bedroom temperature so I would expect to see a place I could access both values somewhere?
There is probably an easier way to do this but temporarily, you can create a piston that subscribes to the temperature device you have and at each change of that temp update your @indoorTemp global variable so your notification piston can use its value.
"It's now {backyardTemp} outside which is hotter than upstairs' {@indoorTemp}, open a window and turn on house fan."
I see, well I don’t rely upon ST presence sensor (physical or phone) enough to trust them without some checks… but if you do then you can simply create a piston with a trigger based upon the presence of that particular sensor… have it kick off the events…
Here is an example of one thing that I do:
Another:
I also use a variable to track and stabilize presence status for another presence sensor I have. Ensuring that if it leaves and comes back within a short period of time - say 30 minutes the logic assumes it did not change status. This keeps them from fluctuating. I can provide examples if needed.
For reference, S7 is a phone presence. Jeep is a ST Fob presence sensor.
bamarayne
(Jason "The Enabler" as deemed so by @Smart)
1930
Just important to note, because ST presence sensors and ST phone presence is not stable enough to do what you have there. So @bridaus would need to define what method he is using.