diff --git a/atom.xml b/atom.xml index 6cb5f204cf..101155bd21 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
ffmpeg
binary in your system
$ sudo apt-get -t jessie-backports install ffmpeg
-
+We can use now following in the configuration:
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
diff --git a/developers/websocket_api/index.html b/developers/websocket_api/index.html
index 7f0d48180a..3996485b7d 100644
--- a/developers/websocket_api/index.html
+++ b/developers/websocket_api/index.html
@@ -90,13 +90,15 @@
Home Assistant contains a websocket API. This API can be used to stream information from the Home Assistant server to any client that implements websockets. Implementations in different languages:
+Home Assistant contains a websocket API. This API can be used to stream information from a Home Assistant instance to any client that implements websockets. Implementations in different languages:
Connect your websocket implementation to ws://localhost:8123/api/websocket
.
During the command phase, the client attaches a unique identifier to each message. The server will add this identifier to each message so that the client can link each message to it’s origin.
-Each API message is a JSON serialized object containing a type
key. After the authentication phase messages also must contain an id
, an integer that contains the number of interactions.
When a client connects to the server, the server will test if the client is authenticated. Authentication will not be necessary if no api_password is set or if the user fulfills one of the other criteria for authentication (trusted network, password in url/header).
@@ -188,7 +190,7 @@ b. Server can send results of previous commands. -During this phase the client can give commands to the server. The server will respond to each command with a result
message indicating when the command is done and if it was successful.
You can unsubscribe from previously created subscription events. Pass the id of the original subscription command as value to the subscription field.
@@ -298,7 +300,7 @@ b. Server can send results of previous commands. -This will call a service in Home Assistant. Right now there is no return value. The client can listen to state_changed
events if it is interested in changed entities as a result of a service call.
This will get a dump of all the current states in Home Assistant.
@@ -347,7 +349,7 @@ b. Server can send results of previous commands. -This will get a dump of the current config in Home Assistant.
@@ -369,7 +371,7 @@ b. Server can send results of previous commands. -This will get a dump of the current services in Home Assistant.
@@ -391,7 +393,7 @@ b. Server can send results of previous commands. -This will get a dump of the current registered panels in Home Assistant.
@@ -413,7 +415,7 @@ b. Server can send results of previous commands. -If an error occurs, the success
key in the result
message will be set to false
. It will contain an error
key containing an object with two keys: code
and message
.