Monitor Arrival Sensor Signal Quality


#1

1) Give a description of the problem
Happy Boxing Day to everyone. I’m using the great little DH by @ady624 that exposes the signal quality of the ST Presence Sensor, “lqi” and “rssi”.
Basically I’m trying to send myself a Push Notification when the Signal Strength drops below 80% AND I’m trying to update the Piston State with the current value of the signal so I always have a visual.

2) What is the expected behavior?
As above.

3) What is happening/not happening?
The Push Notification works, but If someone could make the piston state work that would be great.

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS)


#2

You cannot use the $current**** variables in a timer - the device will always be location and the event name will always be time. Use a reference to the actual device variable and attribute [Arrival_Sensor:lqi]


#3

I’ve made some progress Ady and I appreciate your help.
I managed to get the signal quality and strength updating correctly in the Piston State by creating two variables, and using "{“The signal strength is " “{ Signal_quality}”} " and the signal quality is " “{ Signal_strength}””

BUT, now for some strange reason the push notifications won’t work! I’m using “if changes”, calling either the device or the variable, I’ve tried turning on/off async, turning on/off TCP but nothing is working. Surely “if Arrival Sensor signal changes” send Push should work?