Anybody know of a way to get a count of WebCoRE presence devices who’s currentPlace = “Home”?
Count of WebCoRE presence sensors at place?
wgmcg
#2
Robin
#3
define
device people = device1, device2, device3 etc.
device peopleHome = (leave as not set)
integer peopleHomeCount = (leave as not set)
If any of {people} ARE 'Home’
x2 Save matching devices to {PeopleHome} (click on the cog in the IF statement to find this)
THEN
set variable {peopleHomeCount} = count(peopleHome)