The frontend of Home Assistant is served with the help of a local web server. If you have customized your installation you already use this functionality. The content of your folder www
in your Home Assistant configuration directory (.homeassistant
) is available under /local
(eg. https://localhost:8123/local).
The frontend of Home Assistant is served with the help of a local web server. If you have customized your installation you already use this functionality. The content of your folder www
in your Home Assistant configuration directory (.homeassistant
) is available under /local
(eg. http://localhost:8123/local for an index.html
file).
But there is more you can do! You can not only host images for customization there but HTML files or even web applications including CSS and Javascript.
diff --git a/components/device_tracker.owntracks/index.html b/components/device_tracker.owntracks/index.html index 1e25c0d044..0e9f48e948 100644 --- a/components/device_tracker.owntracks/index.html +++ b/components/device_tracker.owntracks/index.html @@ -128,15 +128,15 @@An example showing the inclusion of the mac
field for multiple component tracking. The mac
field will need to be added to the owntracks
device and will enable tracking by all components that track via the mac
address.
yaml
-USERNAME_DEVICE_ID:
- name: Friendly Name
- mac: EA:AA:55:E7:C6:94
- picture: https://home-assistant.io/images/favicon-192x192.png
- gravatar: test@example.com
- track: yes
- hide_if_away: no
-
USERNAME_DEVICE_ID:
+ name: Friendly Name
+ mac: EA:AA:55:E7:C6:94
+ picture: https://home-assistant.io/images/favicon-192x192.png
+ gravatar: test@example.com
+ track: yes
+ hide_if_away: no
+
+Using Owntracks regions
Owntracks can track regions, and send region entry and exit information to Home Assistant (HA). You set up a region in the Owntracks app which you should name the same as your HA Zone, and then make sure to turn on the share
option for the region in the owntracks app. Please see the owntracks documentation.