Virtual device Smart Home Monitor Status


#1

… and $shmStatus seem to represent different values. for example when Smart Home Monitor Status = off, $shmStatus = Disarmed.

either the values should be in sync or the names should be different.

thanks!


#2

ST uses both styles. Try see if you compare the virtual device to the variable, are they the same? :wink:


#3

Logs
9/19/2017, 9:00:08 PM +389ms
+760ms	║A:alarmSystemStatus^ D:Home^ DI:0^ DP:false^ U:^ V:off^ S:^
+775ms	║off
+790ms	║Disarmed

#4

What I was saying was comparisons may be smart enough to know off is Disarmed. Put them in an if together


#5

yes the comparisons are smart. but if you save Smart Home Monitor Status to a variable and later check for a previous value you have to figure out that you have to compare the variable to off/on not to Disarmed/…


#6

it’s off/stay/away - their display values are Disarmed/Armed Stay/Armed Away


#7

That’s what I mean :slight_smile: