Open brandungskieker opened 3 years ago
Hi, thank you! For this you can use the Plugin "Homebridge Http Advanced Accessory" https://github.com/staromeste/homebridge-http-advanced-accessory#readme
The BSB has a json API wich you can call like this "http://BSB_IP/JQ= 8700"
And here is an example config:
{
"accessory": "HttpAdvancedAccessory",
"service": "TemperatureSensor",
"name": "TEST",
"forceRefreshDelay": 150,
"debug": false,
"urls": {
"getCurrentTemperature": {
"url": "http://192.168.1.132/h7zTag615Gafha9/JQ=8700",
"mappers": [
{
"type": "jpath",
"parameters": {
"jpath": "$.8700.value"
}
}
]
}
},
"plugin_map": {
"plugin_name": "homebridge-http-advanced-accessory",
"index": 0
}
}
But don't forget to change the refresh rates to different values. The BSB cannot process several requests at the same time!!!
I very like this plugin! My thermostat provides some interesting sensor informations that I would like to expose as fields/sensors in Homebridge, like
Would be great if I could add further BSB IDs to expose them to Homebridge/Homekit!