Closed hartmood closed 5 years ago
Your config.json
is not correct. You are using the configuration of the other Homebridge OpenHAB plugin but my npm module.
Check out my README on how to correctly configure the plugin, or use the other plugin :)
Thanks @steilerDev - There was also a bug with my Homebridge installation. I have it running now, at least with the switches that appear in my home app on iOS. However, my thermostats are ignored for some reason.
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"ports": {
"start": 52100,
"end": 52150
},
"platforms": [
{
"platform": "openHAB2-Complete",
"name": "openHAB",
"host": "192.168.179.90",
"port": "8080",
"sitemap": "Home",
"useLabelForName": true,
"accessories": [
{
"type": "switch",
"items": [
{
"name": "Alarm",
"item": "Alarm"
},
{
"name": "Wifi 2.4",
"item": "fboxWifi24"
}
]
},
{
"type": "thermostat",
"items": [
{
"name": "Thermostat EG",
"currentTempItem": "zwave_device_414e6662_node14_sensor_temperature",
"targetTempItem": "zwave_device_414e6662_node14_setpoint_heating",
"tempUnit": "Celsius"
},
{
"name": "Thermostat DG",
"currentTempItem": "zwave_device_414e6662_node15_sensor_temperature",
"targetTempItem": "zwave_device_414e6662_node15_setpoint_heating",
"tempUnit": "Celsius"
}
]
}
]
}
]
}
If you look into the log you can see an error along the lines of "heatingItem or cooling Item is required".
You have to specify a switch that shows, if the device is currently heating and/or cooling.
@steilerDev Makes sense, thanks. Unfortunately my z-wave Thermostats from Eurotronic do not support this. See screenshot. Can I use a virtual switch that is set by a rule based on the dimmer?
Of course you can use a virtual switch. Alternatively, if you don't care about seeing, if the thermostat is heating, just create a switch that is permanently off.
Describe the bug Homebridge Openhab2 Complete not loading
Configurations
~/.homebridge/config.json
)/etc/openHAB2/items/*.items
, see openHAB Documentation for the file paths in your environment)Logs:
Environment (please complete the following information):