have added:
Family; Guests; Other1, Other2 groups (I guess 4 groups of iBeacons should be enough); you could could put all active recognized beans in to eg group other2 , then you have an overview of all active beacons
Each beacon is added in its device edit to one, 2.. or all of the groups, or no member of any group (default)
Then the following events for triggers are available:
- Code: Select all
<Event id="Family-allAway"> <Name>Family-allAway .. ALL devices in the group must be AWAY to trigger</Name> </Event>
<Event id="Family-oneAway"> <Name>Family-oneAway .. ONE device of the devices in the group must be AWAY to trigger</Name> </Event>
<Event id="Family-oneHome"> <Name>Family-oneHome .. ONE device of the devices in the group must be HOME to trigger</Name> </Event>
<Event id="Family-allHome"> <Name>Family-allHome .. ALL devices in the group must be HOME to trigger</Name> </Event>
<Event id="Guests-allAway"> <Name>Guests-allAway .. ALL devices ....</Name> </Event>
<Event id="Guests-oneAway"> <Name>Guests-oneAway</Name> </Event>
<Event id="Guests-oneHome"> <Name>Guests-oneHome</Name> </Event>
<Event id="Guests-allHome"> <Name>Guests-allHome</Name> </Event>
<Event id="Other1-allAway"> <Name>Other1-allAway</Name> </Event>
<Event id="Other1-oneAway"> <Name>Other1-oneAway</Name> </Event>
<Event id="Other1-oneHome"> <Name>Other1-oneHome</Name> </Event>
<Event id="Other1-allHome"> <Name>Other1-allHome</Name> </Event>
<Event id="Other2-allAway"> <Name>Other2-allAway</Name> </Event>
<Event id="Other2-oneAway"> <Name>Other2-oneAway</Name> </Event>
<Event id="Other2-oneHome"> <Name>Other2-oneHome</Name> </Event>
<Event id="Other2-allHome"> <Name>Other2-allHome</Name> </Event>
home is if a beacon is in status=up, away otherwise (=down or expired)
It also populates variable "Count-Family-Away" with the number of Beacons in group Family AWAY (same for HOME and the other groups )
You then have a count of beacons home/away for each group
Doing some testing,.. as soon as i(6+1) is available, it will be there
Karl