diff --git a/CNAME b/CNAME_old similarity index 100% rename from CNAME rename to CNAME_old diff --git a/_config.yml b/_config.yml index 6ddce8a5d27..25e61933536 100644 --- a/_config.yml +++ b/_config.yml @@ -46,32 +46,6 @@ kramdown: smart_quotes: lsquo,rsquo,ldquo,rdquo parse_block_html: true - # enable_coderay: true - - # coderay: - # coderay_wrap: div - # coderay_line_numbers: nil - # coderay_line_number_start: 1 - # coderay_tab_width: 4 - # coderay_bold_every: 10 - # coderay_css: class - -# syntax_highlighter_opts: -# wrap: div -# line_numbers: nil -# line_number_start: 1 -# tab_width: 4 -# bold_every: 10 -# css: class - - # block: - # wrap: div - # line_numbers: nil - # line_number_start: 1 - # tab_width: 4 - # bold_every: 10 - # css: class - highlighter: rouge gems: diff --git a/architecture/index.html b/architecture/index.html new file mode 100644 index 00000000000..56b6a3e6117 --- /dev/null +++ b/architecture/index.html @@ -0,0 +1,144 @@ + + + + + + + + + + + + architecture - Home Assistant + + + + + + + + + + + + + + + +
+
+
+ + + + + + +
+
+
+ + + +
+
+ +
+ + +
+ + +
+

+ Architecture +

+
+
+ + +

+ +

The core of Home Assistant exists of the following parts.

+ +

The Event Bus facilitates the firing and listening of events. This is the beating heart of Home Assistant.

+ +

The State Machine keeps track of the states of things. Fires a state_changed event when a state has been changed.

+ +

The Service Registry listens on the event bus for call_service events and allows other code to register services.

+ +

The Timer will send every 10 seconds a time_changed event on the event bus.

+ +

Take for example the device_tracker component. This component is responsible for keeping track which devices are home. It checks which devices are home every time a time_changed event is fired on the event bus. It will then update the state machine with the information for each device.

+ +

This setup allows us to create simple yet powerful logic for controlling your home:

+ +
In the event that the state of device 'Paulus Nexus 5' changes to the 'Home' state:
+  If the sun has set and the lights are not on:
+    Turn on the lights
+
+In the event that the combined state of all tracked devices changes to 'Not Home':
+  If the lights are on:
+    Turn off the lights
+
+In the event of the sun setting:
+  If the lights are off and the combined state of all tracked device equals 'Home':
+    Turn on the lights
+
+ +

By using the Bus as a central communication hub between components it is easy to replace components or add functionality. If you would want to change the way devices are detected you only have to write a component that updates the device states in the State Machine.

+ + +
+ + +
+ + +
+
+ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/jwplayer/glow/controlbar/background.png b/assets/jwplayer/glow/controlbar/background.png new file mode 100644 index 00000000000..c2824cc432c Binary files /dev/null and b/assets/jwplayer/glow/controlbar/background.png differ diff --git a/assets/jwplayer/glow/controlbar/blankButton.png b/assets/jwplayer/glow/controlbar/blankButton.png new file mode 100644 index 00000000000..010159f3eb7 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/blankButton.png differ diff --git a/assets/jwplayer/glow/controlbar/divider.png b/assets/jwplayer/glow/controlbar/divider.png new file mode 100644 index 00000000000..77cd829a4b5 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/divider.png differ diff --git a/assets/jwplayer/glow/controlbar/fullscreenButton.png b/assets/jwplayer/glow/controlbar/fullscreenButton.png new file mode 100644 index 00000000000..e06aa50ca29 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/fullscreenButton.png differ diff --git a/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png b/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png new file mode 100644 index 00000000000..d2bc4fc75a8 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png differ diff --git a/assets/jwplayer/glow/controlbar/muteButton.png b/assets/jwplayer/glow/controlbar/muteButton.png new file mode 100644 index 00000000000..40c40ab2734 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/muteButton.png differ diff --git a/assets/jwplayer/glow/controlbar/muteButtonOver.png b/assets/jwplayer/glow/controlbar/muteButtonOver.png new file mode 100644 index 00000000000..96fe7bb0242 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/muteButtonOver.png differ diff --git a/assets/jwplayer/glow/controlbar/normalscreenButton.png b/assets/jwplayer/glow/controlbar/normalscreenButton.png new file mode 100644 index 00000000000..22295074029 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/normalscreenButton.png differ diff --git a/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png b/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png new file mode 100644 index 00000000000..15db44d4e66 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png differ diff --git a/assets/jwplayer/glow/controlbar/pauseButton.png b/assets/jwplayer/glow/controlbar/pauseButton.png new file mode 100644 index 00000000000..e399bf34cb9 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/pauseButton.png differ diff --git a/assets/jwplayer/glow/controlbar/pauseButtonOver.png b/assets/jwplayer/glow/controlbar/pauseButtonOver.png new file mode 100644 index 00000000000..409d89d29a3 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/pauseButtonOver.png differ diff --git a/assets/jwplayer/glow/controlbar/playButton.png b/assets/jwplayer/glow/controlbar/playButton.png new file mode 100644 index 00000000000..f8d9a0079af Binary files /dev/null and b/assets/jwplayer/glow/controlbar/playButton.png differ diff --git a/assets/jwplayer/glow/controlbar/playButtonOver.png b/assets/jwplayer/glow/controlbar/playButtonOver.png new file mode 100644 index 00000000000..3fe284845fa Binary files /dev/null and b/assets/jwplayer/glow/controlbar/playButtonOver.png differ diff --git a/assets/jwplayer/glow/controlbar/timeSliderBuffer.png b/assets/jwplayer/glow/controlbar/timeSliderBuffer.png new file mode 100644 index 00000000000..73b371abbca Binary files /dev/null and b/assets/jwplayer/glow/controlbar/timeSliderBuffer.png differ diff --git a/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png b/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png new file mode 100644 index 00000000000..72322171bd5 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png differ diff --git a/assets/jwplayer/glow/controlbar/timeSliderCapRight.png b/assets/jwplayer/glow/controlbar/timeSliderCapRight.png new file mode 100644 index 00000000000..626444a66a7 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/timeSliderCapRight.png differ diff --git a/assets/jwplayer/glow/controlbar/timeSliderProgress.png b/assets/jwplayer/glow/controlbar/timeSliderProgress.png new file mode 100644 index 00000000000..132a8e7dc90 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/timeSliderProgress.png differ diff --git a/assets/jwplayer/glow/controlbar/timeSliderRail.png b/assets/jwplayer/glow/controlbar/timeSliderRail.png new file mode 100644 index 00000000000..27851dfdf36 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/timeSliderRail.png differ diff --git a/assets/jwplayer/glow/controlbar/unmuteButton.png b/assets/jwplayer/glow/controlbar/unmuteButton.png new file mode 100644 index 00000000000..3658453cfc1 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/unmuteButton.png differ diff --git a/assets/jwplayer/glow/controlbar/unmuteButtonOver.png b/assets/jwplayer/glow/controlbar/unmuteButtonOver.png new file mode 100644 index 00000000000..138ebb35ba8 Binary files /dev/null and b/assets/jwplayer/glow/controlbar/unmuteButtonOver.png differ diff --git a/assets/jwplayer/glow/display/background.png b/assets/jwplayer/glow/display/background.png new file mode 100644 index 00000000000..391152f5e2f Binary files /dev/null and b/assets/jwplayer/glow/display/background.png differ diff --git a/assets/jwplayer/glow/display/bufferIcon.png b/assets/jwplayer/glow/display/bufferIcon.png new file mode 100644 index 00000000000..a3819c1ef19 Binary files /dev/null and b/assets/jwplayer/glow/display/bufferIcon.png differ diff --git a/assets/jwplayer/glow/display/muteIcon.png b/assets/jwplayer/glow/display/muteIcon.png new file mode 100644 index 00000000000..e0408bbda5e Binary files /dev/null and b/assets/jwplayer/glow/display/muteIcon.png differ diff --git a/assets/jwplayer/glow/display/playIcon.png b/assets/jwplayer/glow/display/playIcon.png new file mode 100644 index 00000000000..cb384278722 Binary files /dev/null and b/assets/jwplayer/glow/display/playIcon.png differ diff --git a/assets/jwplayer/glow/dock/button.png b/assets/jwplayer/glow/dock/button.png new file mode 100644 index 00000000000..391152f5e2f Binary files /dev/null and b/assets/jwplayer/glow/dock/button.png differ diff --git a/assets/jwplayer/glow/glow.xml b/assets/jwplayer/glow/glow.xml new file mode 100644 index 00000000000..71bdced0100 --- /dev/null +++ b/assets/jwplayer/glow/glow.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + +