From 9a22adb119ca49801149f013fce5aaad3c8b98c9 Mon Sep 17 00:00:00 2001 From: Sytone Date: Sun, 4 Sep 2016 02:45:02 -0700 Subject: [PATCH] Update local serving ofr files (#850) Added a entry to explain how the www directory maps to the local directory. --- source/_components/http.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/http.markdown b/source/_components/http.markdown index 3341d121ace..689e5e24261 100644 --- a/source/_components/http.markdown +++ b/source/_components/http.markdown @@ -49,3 +49,5 @@ The `http` platforms are not real platforms within the meaning of the terminolog To use those kind of [sensors](/components/sensor.http/) or [binary sensors](components/binary_sensor.http/) in your installation no configuration in Home Assistant is needed. All configuration is done on the devices themselves. This means that you must be able to edit the target URL or endpoint and the payload. The entity will be created after the first message has arrived. All [requests](/developers/rest_api/#post-apistatesltentity_id) need to be sent to the endpoint of the device and must be **POST**. + +If you want to host static files on your site this canbe done by making a www directory under the .htomassistant configuration path. Then static files in `.homeassistant/www/` can be accessed by using `http://your.domain:8123/local/`