diff --git a/components/recorder/index.html b/components/recorder/index.html
index a69b08ecb9..36ba91830e 100644
--- a/components/recorder/index.html
+++ b/components/recorder/index.html
@@ -266,6 +266,7 @@
+If you use MariaDB 10 you need to add port 3307 to the SERVER_IP, e.g., mysql://user:password@SERVER_IP:3307/DB_NAME?charset=utf8.
+If you are running a database server instance on the same server as Home Assistant then you must ensure that this service starts before Home Assistant. For a Linux instance running Systemd (Raspberry Pi, Debian, Ubuntu and others) then you should edit the service file.
bash
$ sudo nano /etc/systemd/system/home-assistant@homeassistant.service
diff --git a/components/vacuum.xiaomi_miio/index.html b/components/vacuum.xiaomi_miio/index.html
index fedf31bf09..741ca750fa 100644
--- a/components/vacuum.xiaomi_miio/index.html
+++ b/components/vacuum.xiaomi_miio/index.html
@@ -285,6 +285,7 @@
Retrieving the Access Token
+As per python-miio issue 185 the Mi-Home app no longer stores the token within the database (it’s retrieved from Xiaomi servers from version 5.0.31+). Currently the only known fix is to uninstall, then install a downgraded version of the apk. Apkmirror is a trusted source for older versions of the app. Mi-Home version 5.0.0 is confirmed as working for the following Android methods.
This token (32 hexadecimal characters) is required for the Xiaomi Mi Robot Vacuum, Xiaomi Philips Lights and Xiaomi IR Remote. The Xiaomi Gateway uses another security method and requires a key (16 alphanumeric chars), which can be obtained
easily via a hidden menu item at the Mi-Home app or using the miio command line tool.
diff --git a/developers/architecture/index.html b/developers/architecture/index.html
index ef2e76219b..fb4966eddb 100644
--- a/developers/architecture/index.html
+++ b/developers/architecture/index.html
@@ -96,7 +96,7 @@
-
+
Overview of the Home Assistant core architecture
diff --git a/images/architecture/ha_architecture.svg b/images/architecture/ha_architecture.svg
new file mode 100644
index 0000000000..dbe41b93bc
--- /dev/null
+++ b/images/architecture/ha_architecture.svg
@@ -0,0 +1,856 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ image/svg+xml
+
+
+
+
+
+
+ Home Assistant Core Architecture
+
+ Timer
+
+ Event Bus
+
+ State Machine
+ listen for events/ fire event
+
+ Service Registry
+
+
+
+ Light
+
+
+
+ Many more...
+ Device Tracker
+ Switch
+ Components
+ set state
+
+
+
+
+
+
+
+ call event listeners
+ publish service
+ call service
+
+
+ call_service events
+
+ service_called events
+ time_changed events
+ state_changed events
+
+
diff --git a/sitemap.xml b/sitemap.xml
index 6e560d2acb..74ac028bc3 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4090,7 +4090,7 @@
https://home-assistant.io/components/switch.hook/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/cookbook/automation_for_rainy_days/
@@ -4778,131 +4778,131 @@
https://home-assistant.io/docs/autostart/init.d/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/api/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/configuration/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/installation/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/operation/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/reboot/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/running/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/updating/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/windows/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/certificates/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/hadashboard/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/hass-configurator/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/ios/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/nginx/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/notebooks/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/scenegen/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/ecosystem/synology/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/benchmark/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/check_config/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/credstash/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/db_migrator/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/dev-tools/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/ensure_config/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/hass/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/influxdb_import/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/influxdb_migrator/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/keyring/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/docs/tools/scripts/
-2018-03-06T22:25:59+00:00
+2018-03-07T14:38:38+00:00
https://home-assistant.io/faq/after-upgrading/
@@ -6098,62 +6098,62 @@
https://home-assistant.io/demo/frontend.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/index.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00
https://home-assistant.io/static/mdi-demo.html
-2018-03-06T22:25:18+00:00
+2018-03-07T14:37:46+00:00