Concepts dealt with:
Software components used:
Physical devices used:
GUIDE more indicated for:
Notes and disclaimer
"Tile"Is a device as simple as it is useful, especially for the most forgetful. As explained in our component sheet dedicated to it, Tile rappit is a very effective element for finding keys, wallets, clutches or other objects that, on a daily basisnameWe happen to be lost at home or in the office, or in other places.
The functionnamento it's elementary: once you have purchased one of these small "tiles" you can connect it to the profirst smartphone and / or tablet via theapp (available for Android e iOS) and, once the object to which it has been attached is lost (for example a key ring), it will be possible make her "play" simply by acting on theapp present on your smartphone, thus giving us the opportunity to find the lost object. The functionnamento also applies to the contrary: by pressing the button on the back of the Tile it is possible to make the telephone to which it is connected ring, so as to find it.
One of the most interesting aspects of this component is his home automation soul: in this guide we will see how, using the "Tile" platform, use these components as GPS position detectors to be implemented as "Device Tracker" At Home Assistant, enabling us a whole series of automations starting from those based on the concept "when I go out at home / go home do this, this, this one"
Such location information proare appgreasy byapp mobile present on users' smartphones which, ordinarily, is used to administer these convenient bluetooth devices.
Before approlook for the integration of Tile with Home Assistant the component must be correctly configured on the relative app phones.
Nb NO choose the mode "Facebook“, Otherwise the impossibility of integrating Tile with Home Assistant. Choose the mode "e-mail"
Once finished le procedures of new account registration and of smartphone / account / tile pairing, appThe display will show a summary dashboard with the list of configured and available tiles:
Nb It's important - rather, necessary - thatappfull access to the GPS location provided by the smartphone's operating system is guaranteed, otherwise the inability to provide such data to the cloud and, consequently, to Home Assistant.
When theapp should explicitly ask whether or not to use such data, to respond positively.
In case they are used more Tile in order to trace more elements of the family (or tenants of the domotic environment) is possible approChoose in two different ways:
- create a single "family" account to use on all app Tile installed on various smartphones, prohowever, seeing to associate each single Tile to the specific smartphone of the person to whom it is assigned;
- create many accounts how many people, e prosee to associate each Tile with each of them.
The advantage of the first approthe second is obviously the simplicity of the thing, but that road provides less privacy (each user views through theapp Tile the location of all the tiles associated with the account).
At this point it is possible to configure the integration between the Tile e platform Home Assistant.
the configuration basis of the "Tile" platform at the file configuration.yaml it's pretty simple.
It will be sufficient to insert an entry of this type:
# Esempio di entry su configuration.yaml device_tracker: - platform: tile username: email@example.com password: la_mia_password
where username e password rappthey will return the credentials used to register the account with theapp Tile.
If you use multiple different accounts, configure as follows:
# Esempio di entry su configuration.yaml device_tracker: - platform: tile username: firstname.lastname@example.org password: la_mia_password_1 - platform: tile username: email@example.com password: la_mia_password_2 # eccetera
Prosee now at reboot di Home Assistant.
At this point Home Assistant should have created so many entity of type "Device Tracker” how many tiles are combined together with the configured accounts.
Going to the list of entities of proprio Home Assistant (second icon from the left in the right column of the web interface "<>") and performing a search, they should appcreate new entities from the nomenclature:
where XXXXXXXXX will be the specific serial number of the surveyed Tile.
As you will notice, in addition to the "state"(In the example above set to" home "), the extent will report a series of "attributes"Typical of a type entity"Device Tracker”(List on the right).
At this point this entity (or such entities, based on how many will be integrated) can be used in all the typical scenarios of a device Tracker presso Home Assistant, type of entity of which we refer for approelucidation to the page dedicated to it.
|ATTENZIONE: remember that there is on our FORUM community an ad hoc section dedicated to Home Assistant, for any doubt, question, information on the specific merit of these components.|