-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HomeKit Bridge Error load error #12
Comments
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 |
Deleted both, reloaded and... Feb 28, 2018 at 2:55:07 PM HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. |
Please post that prefs file here.
… On Feb 28, 2018, at 12:55 PM, livefeed ***@***.***> 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 <#12 (comment)>, 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 ***@***.***> 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 <#12 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ATYzqcWdBybeGBCMOBy4idyCCngLPT_Cks5tZbAsgaJpZM4SXLbH>.
|
Whats the best way to have you remote in? |
… On Feb 28, 2018, at 1:05 PM, livefeed ***@***.***> 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 <#12 (comment)>, 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' HomeKit Bridge Error Unable to build server configuration for 'HK Bridge Test'. |
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:
|
Here you go: `##################################################################### HomeKit Bridge##################################################################### Plugin Version : 0.15.0Template Version : 3.3.1Core Engine Version : 3.0.0Indigo Version : 7.1.1Indigo API Version : 2.0Alphas, Betas and Pre-Releases can be downloaded from:https://github.com/Colorado4WheelerAll support inquiries, questions or comments go to:http://forums.indigodomo.com/viewforum.php?f=192Copyright (c) 2018 - Colorado4Wheeler & EPS##################################################################### |
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' For object id 1999346732 alias 'Bathroom - Heating Control' 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, Did some testing doing fresh installs (v0.15.0). With Homebridge buddy enabled:2018-03-04 13:40:05.892 EPS - Homebridge Buddy EPS - Homebridge Buddy is loaded and ready to use 2018-03-04 13:40:34.100 HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. 2018-03-04 13:40:34.118 HomeKit Bridge Error Unable to build server configuration for 'HomeKit Bridge'. With Homebridge buddy disabled:2018-03-04 13:34:55.141 Application Installing and enabling plugin HomeKit Bridge v0.15.0 |
Sorry closed by mistake. Still learning GitHub. |
Release Notes ========== * Added a check system to the server configuration builder to see if there are key fields missing from the plugin prefs. This is in direct response to two users reporting that their "apiport" was missing ([Issue #12](#12)) * Added ability for contact sensors, which already natively invert the on state of a device, to utilize the "invert" checkbox so that it can **not** invert it instead, this in direct response to [Issue #32](#32) * Added new utility to the Advanced Plugin Options (under the plugin menu) to [Simulate a HomeKit device](https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-M enu-Utilities#advanced-plugin-actions) to better diagnose what may be going on, this allows you to see what HomeKit will see when your device is sent to it * Removed all complications implementation from the plugin as it's going to be totally different when implemented than it was in the experimental implementation, yet the experimental settings were still in the plugin and causing confusion * Changed [Faucet](https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/HomeKit -Model-Reference#faucet) to be 3rd Party Only since in Home it constantly says "Updating". You can use [Valve](https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/HomeKit- Model-Reference#valve) instead if you want that icon and more functionality. This in direct response to [Issue #38](#38) * Fixed bug where the plugin was loading an unneeded library and **might** cause an error if it ran across a plugin that didn't have an info.plist file * Fixed bug where choosing a device that could not be auto detected (for instance a "custom" plugin device) then it would generate an error about being able to "iteritems". Now non detectable devices will default to a switch and a warning will show in the log that it could not be figured out. * [Issue #32](#32) resolved * [Issue #38](#38) resolved
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. |
Release Notes ========== * Total UI overhaul - if something on it isn't working don't blame me, I was trying to implement YOUR design requests :). As a result, a good portion of the Wiki will need to be scrapped and rewritten to document this new UI. * Added new Advanced Plugin Actions option to [view the Homebridge log](https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-Menu -Utilities#show-homebridge-log) * Added support for DSC Alarm plugin on Motion Sensors, Garage Door Opener, Smoke Sensor, Occupancy Sensor, Lock Mechanism, and Switch * Added failsafe check to make sure the user didn't cancel a brand new server config dialog, which would result in a port error. Pretty minor but an error is an error. * Added new [Advanced Plugin Device action to Rebuild Homebridge Folder](https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-M enu-Utilities#rebuild-homebridge-folder), this in case a folder becomes corrupt and needs to be removed and rebuilt, this is the current solution for [Issue #46](#46) but also serves additional utility for diagnostics as well so it ends up being a good solution * Changed behavior of clicking SAVE while editing a device ([Issue #34](#34) and [Issue #22](#22) and [Issue #14](#14)) so that now it will pop a warning to let the user know that the edit will be lost but they can click save again to continue * Removed last few areas where the old FILL command was still being added to forms * Removed automatic HBB upgrade in case that is causing a problem with not popping up the config dialong on fresh installs since it was reported that when HBB is enabled the dialog would not show but when it was disabled it would ([Issue #12](#12)) * Changed default for api port in saving the configuration in case any other users report a problem with not having the prefs file * Upgrade will flush out any devices that still reference the FILL command * Fixed bug in thermostat sensors that weren't honoring conversion from Fahrenheit if the device was a sensor device in Indigo ([Issue #33](#33)) * [Issue #33](#33) resolved * [Issue #12](#12) possibly resolved * [Issue #46](#46) resolved * [Issue #34](#34) resolved * [Issue #22](#22) resolved * [Issue #14](#14) resolved
* Added sanity checker to the configuration save functions to validate the folder structure and files to auto remove and rebuild the config folder if it detects something is wrong, this hopefully to finally close out the ongoing new-user-startup-issue that seems to always be resolve by rebuilding the config ([Issue #12](#12)) * Added URL message when the server cannot be started that points the user to the wiki page explaining how to rebuild the Homebridge folder if they are unable to start their server repeatedly * Added threaded startup for servers when the plugin is loaded to speed up the load time on the Homebridge servers * Added validation on plugin preference save that will not permit the user to save plugin prefs if there are any servers in a 'Starting' state * Added validation on plugin preferences where if a camera field is changed it will restart any servers impacted by that change (don't blame me, Indigo API limitations) ([Issue #75](#75) * Added new Advanced Plugin Action for devices to log the contents of the Homebridge configuration, mostly for camera debugging since it's the only thing that actively manipulates the configuration * Removed "under development" warnings from Advanced Plugin Actions * Fixed bug in plugin config's packet size validation where it would allow **any** value between 188 and 1316 instead of only values in increments of 188 * Fixed minor UI issue where the 'Model' field was not automatically populating when creating a new server * [Issue #75](#75) feature added
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'
The text was updated successfully, but these errors were encountered: