diff --git a/atom.xml b/atom.xml index 39b31380e6..e9cdf5eac9 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
You will be prompted to configure the gateway through the Home Assistant interface, Enter the security key when prompted and click configure
-If you see an “Unable to connect” message, restart the gateway and try again. +If you see an “Unable to connect” message, restart the gateway and try again. Don’t forget to assign a permanent IP to your Trådfri gateway.
The gateway can also be manually configured by adding the following lines to your configuration.yaml
file:
# Example configuration.yaml entry
diff --git a/developers/rest_api/index.html b/developers/rest_api/index.html
index 1df1e70349..a1c8793c6c 100644
--- a/developers/rest_api/index.html
+++ b/developers/rest_api/index.html
@@ -234,11 +234,11 @@ You can append ?api_password=YOUR_PASSWORD
GET /api/history/period/<timestamp>
Returns an array of state changes in the past. Each object contains further details for the entities.
-The <timestamp>
is optional and defaults to 1 day before the time of the request. It determines the beginning of the period.
+The <timestamp>
(YYYY-MM-DDThh:mm:ssTZD
) is optional and defaults to 1 day before the time of the request. It determines the beginning of the period.
You can pass the following optional GET parameters:
filter_entity_id=<entity_id>
to filter on a single entity
- end_time=<timestamp>
to choose the end of the period (defaults to 1 day)
+ end_time=<timestamp>
to choose the end of the period in URL encoded format (defaults to 1 day).
[
[
@@ -258,8 +258,8 @@ You can append ?api_password=YOUR_PASSWORD
"unit_of_measurement": "\u00b0C"
},
"entity_id": "sensor.weather_temperature",
- "last_changed": "2016-02-06T22:15:00+00:00"",
- "last_updated": "2016-02-06T22:15:00+00:00"",
+ "last_changed": "2016-02-06T22:15:00+00:00",
+ "last_updated": "2016-02-06T22:15:00+00:00",
"state": "-1.9"
},
]
@@ -277,6 +277,11 @@ You can append ?api_password=YOUR_PASSWORD
=sensor.temperature
+$ curl -X GET -H "x-ha-access: YOUR_PASSWORD" \
+ -H "Content-Type: application/json" \
+ http://localhost:8123/api/history/period/2016-12-29T00:00:00+02:00?end_time=2016-12-31T00%3A00%3A00%2B02%3A00
+
+
GET /api/states
Returns an array of state objects. Each state has the following attributes: entity_id, state, last_changed and attributes.
[
diff --git a/sitemap.xml b/sitemap.xml
index 8ec8524f40..a41d53b317 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3374,7 +3374,7 @@
https://home-assistant.io/components/switch.hook/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/cookbook/automation_for_rainy_days/
@@ -4006,99 +4006,99 @@
https://home-assistant.io/docs/autostart/init.d/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/api/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/configuration/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/installation/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/operation/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/reboot/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/running/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/updating/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/windows/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/certificates/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/hadashboard/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/hass-configurator/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/ios/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/nginx/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/notebooks/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/scenegen/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/ecosystem/synology/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/tools/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/tools/dev-tools/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/tools/hass/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/docs/tools/scripts/
-2017-10-03T19:45:32+00:00
+2017-10-04T05:48:49+00:00
https://home-assistant.io/faq/after-upgrading/
@@ -5122,62 +5122,62 @@
https://home-assistant.io/demo/frontend.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/index.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00
https://home-assistant.io/static/mdi-demo.html
-2017-10-03T19:44:43+00:00
+2017-10-04T05:48:14+00:00