From aa1cb3b3e300d9e1d33d0f60563f7e90a0837f1d Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 24 Oct 2016 13:53:26 +0000 Subject: [PATCH] Site updated at 2016-10-24 13:53:26 UTC --- atom.xml | 2 +- blog/categories/community/atom.xml | 2 +- blog/categories/device-tracking/atom.xml | 2 +- blog/categories/esp8266/atom.xml | 2 +- blog/categories/how-to/atom.xml | 2 +- blog/categories/ibeacons/atom.xml | 2 +- blog/categories/internet-of-things/atom.xml | 2 +- blog/categories/iot-data/atom.xml | 2 +- blog/categories/micropython/atom.xml | 2 +- blog/categories/mqtt/atom.xml | 2 +- blog/categories/organisation/atom.xml | 2 +- blog/categories/owntracks/atom.xml | 2 +- blog/categories/presence-detection/atom.xml | 2 +- .../public-service-announcement/atom.xml | 2 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/survey/atom.xml | 2 +- blog/categories/talks/atom.xml | 2 +- blog/categories/technology/atom.xml | 2 +- blog/categories/user-stories/atom.xml | 2 +- blog/categories/video/atom.xml | 2 +- blog/categories/website/atom.xml | 2 +- components/history/index.html | 82 +++++++++---------- sitemap.xml | 30 +++---- 23 files changed, 76 insertions(+), 78 deletions(-) diff --git a/atom.xml b/atom.xml index d5a88ea02f..4171633071 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 08e11a1d92..802c868392 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 495e65a0e3..3aee7a3dbd 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 517cfdb63d..1c1b275d57 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 40449fa8c7..81ca76c7f4 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 34844f7bd0..da6f35b4df 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 59024b2965..3ab14b00db 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index d932d2907e..31abfdff62 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 967c490df2..7d78358f2f 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index b79e801f02..c279780fd7 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index bbac501b12..7802c14811 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 0dfbdfa417..1b0485d2c0 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index ff2cfbd5a4..024da9c3a6 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index d328e3d308..751a13375e 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index d0c17c815a..c17a284512 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 91ae339cae..f817e4907f 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index f6d30dba4e..d9dd1c88d9 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index e63f470d8d..147c5a0dac 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 80c72d4f0d..97eb8222d1 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 63822d11a8..9d5aa48e6d 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index b55a00fd5e..0e96e6030d 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-10-24T13:43:38+00:00 + 2016-10-24T13:51:26+00:00 https://home-assistant.io/ diff --git a/components/history/index.html b/components/history/index.html index 52b3e081c6..98beba944b 100644 --- a/components/history/index.html +++ b/components/history/index.html @@ -127,54 +127,52 @@ Events are saved in a local database. Google Graphs is used to draw the graph. D

Without any include or exclude configuration the history displays graphs for every entity (well that’s not exactly true - for instance hidden entities or scenes are never shown) on a given date. If you are only interested in some of the entities you several options:

-
    -
  • Define domains and entities to exclude (aka. blacklist). This is convenient when you are basically happy with the information displayed, but just want to remove some entities or domains. Usually these are entities/domains which do not change (like weblink) or rarely change (updater or automation). -
    # Example configuration.yaml entry with exclude
    +

    Define domains and entities to exclude (aka. blacklist). This is convenient when you are basically happy with the information displayed, but just want to remove some entities or domains. Usually these are entities/domains which do not change (like weblink) or rarely change (updater or automation).

    + +
    # Example configuration.yaml entry with exclude
     history:
    -exclude:
    -  domains:
    -    - automation
    -    - weblink
    -    - updater
    -  entities:
    -    - sensor.last_boot
    -    - sensor.date
    +  exclude:
    +    domains:
    +      - automation
    +      - weblink
    +      - updater
    +    entities:
    +      - sensor.last_boot
    +      - sensor.date
     
    -
    -
  • -
  • Define domains and entities to display by using the include configuration (aka. whitelist). If you have a lot of entities in your system and your exclude lists possibly get very large, it might be better just to define the entities or domains to display. -
    # Example configuration.yaml entry with include
    +
    + +

    Define domains and entities to display by using the include configuration (aka. whitelist). If you have a lot of entities in your system and your exclude lists possibly get very large, it might be better just to define the entities or domains to display.

    + +
    # Example configuration.yaml entry with include
     history:
    -include:
    -  domains:
    -    - sensor
    -    - switch
    -    - media_player
    +  include:
    +    domains:
    +      - sensor
    +      - switch
    +      - media_player
     
    -
    -
  • -
  • Use the include list to define the domains/entities to display, and exclude some of them with in the exclude list. This makes sense if you for instance include the sensor domain, but want to exclude some specific sensors. Instead of adding every sensor entity to the include entities list just include the sensor domain and exclude the sensor entities you are not interested in. -```yaml -

    Example configuration.yaml entry with include and exclude

    -

    history: -include: - domains: - - sensor - - switch - - media_player -exclude: - entities:

    -
      -
    • sensor.last_boot
    • -
    • sensor.date -```
    • -
    -
  • -
+ + +

Use the include list to define the domains/entities to display, and exclude some of them with in the exclude list. This makes sense if you for instance include the sensor domain, but want to exclude some specific sensors. Instead of adding every sensor entity to the include entities list just include the sensor domain and exclude the sensor entities you are not interested in.

+ +
# Example configuration.yaml entry with include and exclude
+history:
+  include:
+    domains:
+      - sensor
+      - switch
+      - media_player
+  exclude:
+    entities:
+     - sensor.last_boot
+     - sensor.date
+
+

Implementation details

-

The history is stored in a SQLite database home-assistant.db within your config directory.

+

The history is stored in a SQLite database home-assistant_v2.db within your configuration directory.

  • events table is all events except time_changed that happened while recorder component was running.
  • @@ -191,7 +189,7 @@ exclude:
-

When the history component queries the states table it only selects states where the state has changed: WHERE last_changed=last_updated

+

When the history component queries the states table it only selects states where the state has changed: WHERE last_changed=last_updated

On dates

diff --git a/sitemap.xml b/sitemap.xml index f03449908c..fc8f51e56d 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2250,62 +2250,62 @@ https://home-assistant.io/demo/frontend.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/index.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00 https://home-assistant.io/static/mdi-demo.html -2016-10-24T13:42:55+00:00 +2016-10-24T13:50:42+00:00