mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Updated README.md with new interface
This commit is contained in:
parent
d2a4d67cb0
commit
2e721f92a3
@ -22,7 +22,7 @@ Home Assistant also includes functionality for controlling HTPCs:
|
||||
* Download files
|
||||
* Open URLs in the default browser
|
||||
|
||||

|
||||

|
||||
|
||||
The system is built modular so support for other devices or actions can be implemented easily. See also the [section on architecture](#architecture) and the [section on customizing](#customizing).
|
||||
|
||||
@ -213,14 +213,12 @@ Registers service `browser/browse_url` that opens `url` as specified in event_da
|
||||
|
||||
Home Assistent runs a webserver accessible on port 8123.
|
||||
|
||||
* At http://localhost:8123/ it will provide a debug interface showing the current state of the system and an overview of registered services.
|
||||
* At http://127.0.0.1:8123/ it will provide an interface allowing you to control Home Assistant.
|
||||
* At http://localhost:8123/api/ it provides a password protected API.
|
||||
|
||||

|
||||
|
||||
In the package `homeassistant.remote` a Python API on top of the HTTP API can be found.
|
||||
|
||||
All API calls have to be accompanied by an 'api_password' parameter (as specified in `home-assistant.conf`) and will return JSON encoded objects. If successful calls will return status code 200 or 201.
|
||||
All API calls have to be accompanied by the header "HA-Access" with as value the api password (as specified in `home-assistant.conf`). The API returns only JSON encoded objects. Successful calls will return status code 200 or 201.
|
||||
|
||||
Other status codes that can occur are:
|
||||
- 400 (Bad Request)
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 140 KiB |
BIN
docs/screenshots.png
Normal file
BIN
docs/screenshots.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 185 KiB |
BIN
docs/states.png
BIN
docs/states.png
Binary file not shown.
Before Width: | Height: | Size: 78 KiB |
Loading…
x
Reference in New Issue
Block a user