Open livefeed opened 6 years ago
What version are you running? That was an issue back around beta 3-4 that got resolved. There should be a port number in the plugin preferences for HKB as pictured here, if it's not there then you are running some really old version.
Just updated today to 0.13.1 (Beta 13 Release 1)
I do have a homebridge custom server also running so I can use view cameras, should they not both be running?
Thank you for your help.
You can run HBB at the same time, it shouldn't be a problem. But do check the plugin prefs for the screenshot I posted to see what it says. The only way you should get that error is if you cancelled the initial dialog when you installed the plugin because even if that field is blank it wouldn't throw the error - the error says it's missing entirely.
This is getting stranger and stranger. I see the screenshot and given that there is no way on earth you should get the message. If that configuration saved then it should not get a message about it being missing entirely. Please restart the plugin and if it still happens then delete the prefs file from Indigo/Preferences/Plugins/
and the folder as well, both will be called com.eps.indigoplugin.homekit-bridge
. Also report if those files are not there because if they aren't then you have an Indigo problem since the prefs file is created by Indigo and not by the plugin.
Deleted both, reloaded and...
Feb 28, 2018 at 2:55:07 PM Reloading plugin "HomeKit Bridge 0.13.1" Stopping plugin "HomeKit Bridge 0.13.1" (pid 11264) Stopped plugin "HomeKit Bridge 0.13.1" Starting plugin "HomeKit Bridge 0.13.1" (pid 11348) Started plugin "HomeKit Bridge 0.13.1" HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 3942: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. HomeKit Bridge Rebuilding configuration for 'HomeKit Bridge' HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 3942: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. HomeKit Bridge Attempting to start 'HomeKit Bridge'
Please post that prefs file here.
On Feb 28, 2018, at 12:55 PM, livefeed notifications@github.com wrote:
Deleted both, reloaded and...
Feb 28, 2018 at 2:55:07 PM Reloading plugin "HomeKit Bridge 0.13.1" Stopping plugin "HomeKit Bridge 0.13.1" (pid 11264) Stopped plugin "HomeKit Bridge 0.13.1" Starting plugin "HomeKit Bridge 0.13.1" (pid 11348) Started plugin "HomeKit Bridge 0.13.1" HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 3942: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. HomeKit Bridge Rebuilding configuration for 'HomeKit Bridge' HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 3942: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. HomeKit Bridge Attempting to start 'HomeKit Bridge'
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/12#issuecomment-369362881, or mute the thread https://github.com/notifications/unsubscribe-auth/ATYzqd1PjyYTPnxRE3Kzyx1-KVtDB31uks5tZa9MgaJpZM4SXLbH.
I am happy to let you remote in if that would help?
That is beyond bizarre, you don’t have ANY of the plugin prefs in there - at all. Yea, a remote session may be in order, there’s something unique either about your Indigo or about how you set up HKB.
On Feb 28, 2018, at 12:59 PM, livefeed notifications@github.com wrote:
Prefs.zip https://github.com/Colorado4Wheeler/HomeKit-Bridge/files/1768623/Prefs.zip — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/12#issuecomment-369363971, or mute the thread https://github.com/notifications/unsubscribe-auth/ATYzqcWdBybeGBCMOBy4idyCCngLPT_Cks5tZbAsgaJpZM4SXLbH.
Whats the best way to have you remote in?
https://www.fastsupport.com/159181798 https://www.fastsupport.com/159181798
On Feb 28, 2018, at 1:05 PM, livefeed notifications@github.com wrote:
Whats the best way to have you remote in?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/12#issuecomment-369365586, or mute the thread https://github.com/notifications/unsubscribe-auth/ATYzqdTH-XwXkKTCBwILveBmyFHh_Xx5ks5tZbFvgaJpZM4SXLbH.
Ok, so in the end I think there may be something wrong with the system. All I did was open prefs and save and that fixed that problem, but then the username wasn't appearing in the server config, something else that - programmatically - cannot happen. I'll keep this issue open in case it happens to someone else but I think this is a one-off issue.
I'm getting something very similar. Afterwards though it seems to startup OK and basic testing so far doesn't seem to have caused any other errors:
HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 4056: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
HomeKit Bridge Error Unable to build server configuration for 'HK Bridge Test'. HomeKit Bridge Rebuilding configuration for 'HK Bridge Test' HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 4056: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
Did you try what I tried and what resolved the issue? Open the plugin prefs, and S A V E? I looked over the code more times than I can count to see if there was any way that the prefs aren't getting added and it just doesn't happen unless you cancel prefs (which pops up when you first start the plugin). Maybe it has something to do with the UK version of macOS or something, I don't know. I did mean to put in code that would break the plugin if that wasn't found.
Especially since, at this point, there are 20 users who have not gotten this error, so I feel pretty confident that it's not a bug.
Please go to the plugin menu -> HomeKit Bridge -> Support Information and post the results, it should be something similar to this:
#####################################################################
# HomeKit Bridge #
#####################################################################
# #
# Plugin Version : 0.15.0 #
# Template Version : 3.3.1 #
# Core Engine Version : 3.0.0 #
# Indigo Version : 7.1.1 #
# Indigo API Version : 2.0 #
# #
# Alphas, Betas and Pre-Releases can be downloaded from: #
# https://github.com/Colorado4Wheeler #
# #
# All support inquiries, questions or comments go to: #
# http://forums.indigodomo.com/viewforum.php?f=192 #
# #
# Copyright (c) 2018 - Colorado4Wheeler & EPS #
# #
#####################################################################
Here you go:
`#####################################################################
#####################################################################
##################################################################### `
And it still doesn't work? Even after going into prefs and saving?
Sorry thought i'd said it seemed to be working fine without even needing to do those instructions. That said i've just happened across this when i was adding a thermostat:
HomeKit Bridge Error Exception in homekit.detCharacteristicValues line 914: 'list' object has no attribute 'iteritems' CODE: for characteristic, getters in sourceDict.iteritems():
For object id 1999346732 alias 'Bathroom - Heating Control' HomeKit Bridge Error Exception in homekit.detCharacteristicValues line 914: 'list' object has no attribute 'iteritems' CODE: for characteristic, getters in sourceDict.iteritems():
For object id 1999346732 alias 'Bathroom - Heating Control'
If you have time for me to remote in to poke around: https://www.fastsupport.com/502400714
Hi, Getting the same problem as livefeed. Just saving the settings in 'Configure HomeKit Bridge' fixes the problem.
Did some testing doing fresh installs (v0.15.0). For some reason the initial dialog is not popping up while the install proces continues. Tested this a few times. When Homebridge Buddy is enabled there is no initial dialog and the errors occur. When Homebridge Buddy is disabled initial dialog is shown and installation continues without errors. However then there is no device HomeKit Bridge in de device folder 'HomeKit Bridge'.
2018-03-04 13:40:05.892 EPS - Homebridge Buddy EPS - Homebridge Buddy is loaded and ready to use 2018-03-04 13:40:30.988 Application Installing and enabling plugin HomeKit Bridge v0.15.0 2018-03-04 13:40:30.990 Application Loading plugin "HomeKit Bridge 0.15.0" 2018-03-04 13:40:30.992 Application Starting plugin "HomeKit Bridge 0.15.0" (pid 66209) 2018-03-04 13:40:32.092 Application Started plugin "HomeKit Bridge 0.15.0" 2018-03-04 13:40:32.124 HomeKit Bridge No servers detected, attempting to migrate from Homebridge-Indigo and/or Homebridge Buddy if they are installed and enabled 2018-03-04 13:40:32.124 HomeKit Bridge Migrating from Homebridge Buddy and Homebridge-Indigo to HomeKit Bridge... 2018-03-04 13:40:32.173 HomeKit Bridge Migrating Homebridge Buddy server 'Indigo' 2018-03-04 13:40:33.460 HomeKit Bridge adding 'Apple TV kijken' as a switch 2018-03-04 13:40:33.471 HomeKit Bridge adding 'Beveiliging' as a switch 2018-03-04 13:40:33.484 HomeKit Bridge adding 'Film kijken' as a switch 2018-03-04 13:40:33.497 HomeKit Bridge adding 'Muziek luisteren' as a switch 2018-03-04 13:40:33.511 HomeKit Bridge adding 'Nachtmodus' as a switch 2018-03-04 13:40:33.525 HomeKit Bridge adding 'Poort' as a door 2018-03-04 13:40:33.538 HomeKit Bridge adding 'Poort Scene' as a switch 2018-03-04 13:40:33.548 HomeKit Bridge adding 'Siri Links' as a switch 2018-03-04 13:40:33.561 HomeKit Bridge adding 'Siri Rechts' as a switch 2018-03-04 13:40:33.572 HomeKit Bridge adding 'Televisie kijken' as a switch 2018-03-04 13:40:33.643 HomeKit Bridge adding 'Slaapkamer Lamp 1' as a Lightbulb (autodetected) 2018-03-04 13:40:33.718 HomeKit Bridge adding 'Woonkamer Tafel Lamp 1' as a Lightbulb (autodetected) 2018-03-04 13:40:33.755 HomeKit Bridge adding 'EV Zone: Badkamer' as a Thermostat (autodetected) 2018-03-04 13:40:33.791 HomeKit Bridge adding 'EV Zone: Keuken' as a Thermostat (autodetected) 2018-03-04 13:40:33.827 HomeKit Bridge adding 'EV Zone: Slaapkamer' as a Thermostat (autodetected) 2018-03-04 13:40:33.862 HomeKit Bridge adding 'EV Zone: Werkkamer' as a Thermostat (autodetected) 2018-03-04 13:40:33.898 HomeKit Bridge adding 'EV Zone: Woonkamer' as a Thermostat (autodetected) 2018-03-04 13:40:33.940 HomeKit Bridge HomeKit Bridge server 'HomeKit Bridge' created 2018-03-04 13:40:34.099 HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 4056: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
2018-03-04 13:40:34.100 HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. 2018-03-04 13:40:34.112 HomeKit Bridge Rebuilding configuration for 'HomeKit Bridge' 2018-03-04 13:40:34.118 HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 4056: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
2018-03-04 13:40:34.118 HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. 2018-03-04 13:40:34.168 HomeKit Bridge Attempting to start 'HomeKit Bridge' 2018-03-04 13:40:50.152 Received X10 "Sensor 2" on 2018-03-04 13:41:10.250 Received X10 "Sensor 2" on 2018-03-04 13:41:29.477 Z-Wave received "008 - Woonkamer Sensor 1 Door/Window" status update battery level 52% 2018-03-04 13:41:29.848 Z-Wave received "008 - Woonkamer Sensor 1 Door/Window" status update battery level 48% 2018-03-04 13:41:34.285 HomeKit Bridge Error HomeKit server 'HomeKit Bridge' could not be started, please check the service logs for more information, now issuing a forced shutdown of the service to be safe. 2018-03-04 13:41:34.387 HomeKit Bridge Attempting to stop 'HomeKit Bridge' 2018-03-04 13:41:39.425 HomeKit Bridge HomeKit server 'HomeKit Bridge' has been stopped 2018-03-04 13:41:39.495 HomeKit Bridge Homebridge Buddy migration has completed, you will find any servers that were created in a folder called 'HomeKit Bridge' in your devices. 2018-03-04 13:41:43.680 HomeKit Bridge HomeKit Bridge is loaded and ready to use
2018-03-04 13:34:55.141 Application Installing and enabling plugin HomeKit Bridge v0.15.0 2018-03-04 13:34:55.142 Application Loading plugin "HomeKit Bridge 0.15.0" 2018-03-04 13:34:55.144 Application Starting plugin "HomeKit Bridge 0.15.0" (pid 66134) 2018-03-04 13:34:56.265 Application Started plugin "HomeKit Bridge 0.15.0" 2018-03-04 13:34:56.279 HomeKit Bridge No servers detected, attempting to migrate from Homebridge-Indigo and/or Homebridge Buddy if they are installed and enabled 2018-03-04 13:34:56.280 HomeKit Bridge Migrating from Homebridge Buddy and Homebridge-Indigo to HomeKit Bridge... 2018-03-04 13:34:56.397 HomeKit Bridge Homebridge Buddy migration has completed, you will find any servers that were created in a folder called 'HomeKit Bridge' in your devices.
Sorry closed by mistake. Still learning GitHub.
So, IndigoVaillant, the dialog only seems to pop up when HBB is disabled? That's very odd, thanks for that test, I'll do some testing on my side with that in mind to see if I can uncover anything.
Possibly fixed in the next release if the problem is what I believe it to be and that is that the plugin will immediately attempt to migrate HBB devices on startup if no servers are found, this may be exposing a bug in Indigo that won't pop the config UI if a process begins. Needs further testing but we'll see if this release addresses the problem.
Hi, I am getting the following error on start up;
HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 3942: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. HomeKit Bridge Rebuilding configuration for 'HomeKit Bridge' HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 3942: 'key apiport not found in dict' CODE: hb["port"] = self.pluginPrefs["apiport"]
HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. HomeKit Bridge Attempting to start 'HomeKit Bridge'