The only error you could see related to the members:
config option is “Invalid member name: XXX”, where XXX is one of the values you provided for this parameter. And per the doc page, the only requirements of these values are that they are a string which contains one, and only one, comma. Per the example provided:
members:
- mike, smith
- Joe,
- , Jones
These names come from Life360. That is, they are the First Name and/or Last Name provided in the members’ account information.
If you already have device_trackers from before you added the members:
parameter, then the object_id’s will include those names. Again, per the doc, for a member with both a First Name and Last Name, the device_tracker object_id will be prefix_firstname_lastname
. In this case the members:
entry should be FirstName, LastName
. For a member with only one name, it will be prefix_name
. In this case the members:
entry should be either FirstName,
or , LastName
, depending on whether it was a first or last name.
Basically, you need to know what the First Name and Last Name are in the corresponding member’s Life360 account. If the member only has one name in their Life360 account, and you don’t know whether it’s the first or last name, then try both – first try Name,
and if that doesn’t work, then try ,Name
. In fact, you could just enter it both ways. These names don’t have to be members. But members retrieved from the server have to match one of these entries to be tracked. So putting:
members:
- xxx,
- ,xxx
will track a member with a single name of “xxx”, whether it’s a first name or a last name.
Hmm, maybe I should add a new feature whereby if a member only has one name entered in Life360, you can just enter that single name (with no comma), and they will be tracked if it matches either the first or last name…