Closed donavanbecker closed 1 year ago
Installed it. v 1.0.6-beta.13 Broke the plugin. Still can see to accessories but can't control anything and it doesn't get updated. Get this message on Hb Loading
[August] Discover Devices: ReferenceError: Config errors found: Missing config.installId or AUGUST_INSTALL_ID env var
Still have my ID/Password in the config and am still validated...
EDIT: removed isValidated and retried
it's working, got the lock to disappear in HomeKit and HB but I can keep the door contact w/ battery % in the room the lock is installed.
Great for that!
However, now I have this logging :
[11/3/2022, 8:33:41 PM] [August] Total August Locks Found: 7 [11/3/2022, 8:33:41 PM] [August] Restoring existing accessory from cache: David Lock ID: A redacted 9 [11/3/2022, 8:33:41 PM] [August] Restoring existing accessory from cache: Front Door Lock ID: C redacted 5 [11/3/2022, 8:33:41 PM] [August] Lock: Front Door Config: {"hidelock":true,"refreshRate":300} [11/3/2022, 8:33:41 PM] [August] Lock: Front Door Removing Lock Mechanism Service **[11/3/2022, 8:33:43 PM] [August] TypeError: Cannot read properties of undefined (reading 'hide_lock') [11/3/2022, 8:33:43 PM] [August] Lock: David failed lockStatus (refreshStatus), Error Message: "Cannot read properties of undefined (reading 'hidelock')"** [11/3/2022, 8:33:43 PM] [August] Lock: David was Unlocked [11/3/2022, 8:33:43 PM] [August] Lock: David was Closed [11/3/2022, 8:33:46 PM] [August] Lock: Front Door was Closed
It seems to be working just fine anyways..
EDIT :
the David lock is another lock I have at the office, I like having it in this instance of HomeKit so I don't want to hide it.
However, now I have this logging :
[11/3/2022, 8:33:41 PM] [August] Total August Locks Found: 7 [11/3/2022, 8:33:41 PM] [August] Restoring existing accessory from cache: David Lock ID: Aredacted9 [11/3/2022, 8:33:41 PM] [August] Restoring existing accessory from cache: Front Door Lock ID: Credacted5 [11/3/2022, 8:33:41 PM] [August] Lock: Front Door Config: {"hidelock":true,"refreshRate":300} [11/3/2022, 8:33:41 PM] [August] Lock: Front Door Removing Lock Mechanism Service **[11/3/2022, 8:33:43 PM] [August] TypeError: Cannot read properties of undefined (reading 'hide_lock') [11/3/2022, 8:33:43 PM] [August] Lock: David failed lockStatus (refreshStatus), Error Message: "Cannot read properties of undefined (reading 'hidelock')"** [11/3/2022, 8:33:43 PM] [August] Lock: David was Unlocked [11/3/2022, 8:33:43 PM] [August] Lock: David was Closed [11/3/2022, 8:33:46 PM] [August] Lock: Front Door was Closed
It seems to be working just fine anyways..
Fixed it :
The workaround for it was, for every other locks I have on my account that are "hide_device": false I had to add : "lock": { "hide_lock": false },
It fixes the logging issue
v1.1.0 has been release which resolves this.
I feel dumb not being able to figure this out; but how do I go about hiding all my locks aside from the contact sensor? Tried playing around with my config file but no go so far...
I feel dumb not being able to figure this out; but how do I go about hiding all my locks aside from the contact sensor? Tried playing around with my config file but no go so far...
In Homebridge, you can get the deviceid from the plugins settings > devices tab. You will then copy that deviceId and go to the settings tab to and input it into the deviceId field. From there you will get config options.
I feel dumb not being able to figure this out; but how do I go about hiding all my locks aside from the contact sensor? Tried playing around with my config file but no go so far...
In Homebridge, you can get the deviceid from the plugins settings > devices tab. You will then copy that deviceId and go to the settings tab to and input it into the deviceId field. From there you will get config options.
Awesome - that did it, thank you! I didn't realize that was a placeholder value in that DeviceID field. Thanks for the quick reply!
Discussed in https://github.com/donavanbecker/homebridge-august/discussions/24