Closed DerHexer closed 4 years ago
Could you please start homebridge in debug mode. This should expand the log and reveal the issue.
Regards,
Frank
Error happens in
with root potentially in
or
Debug logs required!
Hi, I'm seeing the same issue on a number of newly configured items. Debug logs show the following:
[2/24/2020, 5:38:49 PM] [openHAB2-Complete] Found accessory in config: 'Patio lights' (light)
[2/24/2020, 5:38:49 PM] [openHAB2-Complete] Creating new accessory: Patio lights
[2/24/2020, 5:38:49 PM] [openHAB2-Complete] Trying battery service for Patio lights
[2/24/2020, 5:38:49 PM] [openHAB2-Complete] Not configuring battery service for Patio lights: Not configuring battery warning characteristic for Patio lights: Required batteryItem for Patio lights not
defined: {"item":"nikohomecontrol_onOff_address_intentionally_removed","name":"Patio lights","type":"light","serialNumber":"************","version":"1.1.0"}
[2/24/2020, 5:38:49 PM] [openHAB2-Complete] Creating lightbulb service for Patio lights
[2/24/2020, 5:38:49 PM] [openHAB2-Complete] Checking cache for nikohomecontrol_onOff_address_intentionally_removed
[2/24/2020, 5:38:49 PM] [openHAB2-Complete] No value stored for key nikohomecontrol_onOff_address_intentionally_removed
[2/24/2020, 5:38:49 PM] [openHAB2-Complete] Unable to add accessory Patio lights: Error: Not configuring binary characteristic for Patio lights: Item type was not synced initially and is therefore not
available, skipping
Running openhab 2.5.2 + homebridge 0.4.50
I found the cause of the issue in my case: I referred incorrectly to the item. My "item" reference pointed to the openhab thing, not the channel. After correcting this, the error went away and the accessory was created and works fine.
Hi, I'm seeing the same issue on a number of newly configured items. Debug logs show the following:
[2/24/2020, 5:38:49 PM] [openHAB2-Complete] Found accessory in config: 'Patio lights' (light) [2/24/2020, 5:38:49 PM] [openHAB2-Complete] Creating new accessory: Patio lights [2/24/2020, 5:38:49 PM] [openHAB2-Complete] Trying battery service for Patio lights [2/24/2020, 5:38:49 PM] [openHAB2-Complete] Not configuring battery service for Patio lights: Not configuring battery warning characteristic for Patio lights: Required batteryItem for Patio lights not defined: {"item":"nikohomecontrol_onOff_address_intentionally_removed","name":"Patio lights","type":"light","serialNumber":"************","version":"1.1.0"} [2/24/2020, 5:38:49 PM] [openHAB2-Complete] Creating lightbulb service for Patio lights [2/24/2020, 5:38:49 PM] [openHAB2-Complete] Checking cache for nikohomecontrol_onOff_address_intentionally_removed [2/24/2020, 5:38:49 PM] [openHAB2-Complete] No value stored for key nikohomecontrol_onOff_address_intentionally_removed [2/24/2020, 5:38:49 PM] [openHAB2-Complete] Unable to add accessory Patio lights: Error: Not configuring binary characteristic for Patio lights: Item type was not synced initially and is therefore not available, skipping
Running openhab 2.5.2 + homebridge 0.4.50
I'm running the latest version of Openhab 2 (1.5), Homebridge, homebridge-openhab2-complete and Node. Unfortunately I'm having the following error message, when starting Homebridge: "Unable to add accessory Sofa: Error: Not configuring binary sensor characteristic for Sofa: Item type was not synced initially and is therefore not available, skipping"
See the log below:
The config looks like this: `
"Switch_Sofa" is the name used in openHAB2:
Switch Switch_Sofa "Sofa" <switch> [ "Switchable" ]{ channel="hue:0010:XXXXXXXXXXX:XX:switch" }
I tried reinstalling a couple of times, changed the node version but still can't get it to work.
Any advise?