Hi all,
I installed the OpenHAB-HomeKit-Bridge and it seems to start fine and i don’t get any errors,
However the when I start the bridge the only printout i get is:
Starting the bridge myOpenHAB-Bridge …
I start it with the following parameters:
npm start – --name “myOpenHAB-Bridge” --server 127.0.0.1:8080 --sitemap homekit
The NPM version is 2.14.9 and the NodeJS version is v0.12.12.
When i take a look in the requests log of OpenHAB itself I get the following:
127.0.0.1 - - [15/Mar/2016:12:43:32 +0000] “GET /rest/sitemaps/homekit?type=json HTTP/1.1” 200 1353
127.0.0.1 - - [15/Mar/2016:12:43:33 +0000] “GET /rest/items/DimmedLight/state?type=json HTTP/1.1” 101 0
127.0.0.1 - - [15/Mar/2016:12:43:33 +0000] “GET /rest/items/DemoSwitch/state?type=json HTTP/1.1” 101 0
127.0.0.1 - - [15/Mar/2016:12:43:33 +0000] “GET /rest/items/Shutter_GF_Living/state?type=json HTTP/1.1” 101 0
127.0.0.1 - - [15/Mar/2016:12:43:33 +0000] “GET /rest/items/RGBLight/state?type=json HTTP/1.1” 101 0
127.0.0.1 - - [15/Mar/2016:12:43:33 +0000] “GET /rest/items/Temperature_GF_Living/state?type=json HTTP/1.1” 101 0
So it looks like the sitemap is fetched correctly but the fetching of the individual items seems to fail.
I don’t know if I interpret the logs correctly but I assume that the last number of every log entry stands for the number of bytes returned?
When i make the same request for for example the DemoSwitch via a browser i get a valid response:
127.0.0.1 - - [15/Mar/2016:12:52:13 +0000] “GET /rest/items/DemoSwitch/state?type=json HTTP/1.1” 200 3
While I get error 101 and 0 bytes when the bridge asks for it.
Does somebody has any idea what is wrong, or what I am doing wrong?
Thanks a lot!
Greetings,
Frederic