homebridge-http-temperature-humidity
homebridge-http-temperature-humidity copied to clipboard
DOESNT WORK AT ALL
I have my config.json :
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
"ports": {
"start": 52100,
"end": 52150,
"comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be bind to."
},
"accessories": [
{
"accessory": "HttpTemphum",
"name": "Living Room Weather",
"url": "http://192.168.1.24/dht",
"httpMethod": "GET",
"humidity": true,
"cacheExpiration": 60
}
],
"platforms": [
]
}
and my result of the adress :
and this doesn't work at all... i have this when i reload my Home App on my iPhone :
[Living Room Weather] HTTP success ({"method":"GET","uri":"http://192.168.1.24/dht","params":null,"options":{"accept":"application/json"}})
but temp and humidity is still at 0 and when i do console.log on res.body it still gave me {}
Sorry, I haven't used this plugin in years. If you find out what's happening, feel free to create a PR to fix the documentation
Oh, verry sad to listen. I don't understand what you've done in index.js with your request.
Btw now there is a plugin for temp http. I will try to inspired and made a PR in futur weeks.
I Have the same problem.. is this already fixed?
@louia Unfortunately, this repo is no longer maintained. However, there is a working fork out there. See repo here. It is not listed in the NPM registry, so to install, you will have to run
sudo npm install -g vknabel/homebridge-http-temperature-humidity#master