Closed townsmcp closed 7 months ago
Can you turn on debug mode and get more logs?
@donavanbecker debug mode is currently on. According to the logs for the plugin, there has been no more entries. I tried adding this to a child bridge and restarting that a couple of times but nothing since (the time now is 1:01pm but as you can see, last update was at 9:14am, the 5 minute refresh doesnt seem to be involking):
[1/31/2024, 8:34:35 AM] Got SIGTERM, shutting down child bridge process...
[1/31/2024, 8:34:40 AM] [August] Child bridge process ended
[1/31/2024, 8:34:40 AM] [August] Process Ended. Code: 143, Signal: null
[1/31/2024, 8:34:47 AM] [August] Restarting Process...
[1/31/2024, 8:34:48 AM] [August] Launched child bridge with PID 83122
[1/31/2024, 8:34:49 AM] Registering platform 'homebridge-august.August'
[1/31/2024, 8:34:49 AM] [August] Loaded homebridge-august v2.0.0 child bridge successfully
[1/31/2024, 8:34:49 AM] Loaded 0 cached accessories from cachedAccessories.0E8EB1BF5AE1.
[1/31/2024, 8:34:49 AM] [August] [DEBUG] Using Config Logging: debug
[1/31/2024, 8:34:49 AM] [August] Finished initializing platform: August
[1/31/2024, 8:34:49 AM] [August] Platform Config: {"logging":"debug"}
[1/31/2024, 8:34:49 AM] [August] [DEBUG] Using Default Refresh Rate (5 minutes).
[1/31/2024, 8:34:49 AM] [August] [DEBUG] Config OK
[1/31/2024, 8:34:49 AM] [August] [DEBUG] Executed didFinishLaunching callback
[1/31/2024, 8:34:49 AM] [August] [DEBUG] augustId: XXXXXX, installId: XXXXXXX, password: XXXXXX, isValidated: true
[1/31/2024, 8:34:49 AM] [August] [DEBUG] countryCode: GB
[1/31/2024, 8:34:49 AM] [August] [DEBUG] August Credentials: {"installId":"XXXXXXXX","augustId":"XXXXXXX","password":"XXXXXX","countryCode":"GB"}
[1/31/2024, 8:34:49 AM] [August] [DEBUG] August Credentials: {"config":{"apiKey":"XXXXXXXX,"pnSubKey":"XXXXXXXXX","installId":"XXXXXXXX","idType":"email","augustId":"XXXXXXX","password":"XXXXXXX","countryCode":"GB"}}
[1/31/2024, 8:34:49 AM] Homebridge v1.7.0 (HAP v0.11.1) (August) is running on port 45631.
FetchError: Status 403 (undefined): undefined
[1/31/2024, 8:34:50 AM] [August] Discover Devices 2: TypeError: Cannot read properties of undefined (reading 'x-august-access-token')
[1/31/2024, 9:13:53 AM] [August] Restarting child bridge...
[1/31/2024, 9:13:53 AM] Got SIGTERM, shutting down child bridge process...
[1/31/2024, 9:13:58 AM] [August] Child bridge process ended
[1/31/2024, 9:13:58 AM] [August] Process Ended. Code: 143, Signal: null
[1/31/2024, 9:14:05 AM] [August] Restarting Process...
[1/31/2024, 9:14:07 AM] [August] Launched child bridge with PID 86076
[1/31/2024, 9:14:07 AM] Registering platform 'homebridge-august.August'
[1/31/2024, 9:14:07 AM] [August] Loaded homebridge-august v2.0.0 child bridge successfully
[1/31/2024, 9:14:07 AM] Loaded 0 cached accessories from cachedAccessories.0E8EB1BF5AE1.
[1/31/2024, 9:14:07 AM] [August] [DEBUG] Using Config Logging: debug
[1/31/2024, 9:14:07 AM] [August] Finished initializing platform: August
[1/31/2024, 9:14:07 AM] [August] Platform Config: {"logging":"debug"}
[1/31/2024, 9:14:07 AM] [August] [DEBUG] Using Default Refresh Rate (5 minutes).
[1/31/2024, 9:14:07 AM] [August] [DEBUG] Config OK
[1/31/2024, 9:14:07 AM] [August] [DEBUG] Executed didFinishLaunching callback
[1/31/2024, 9:14:07 AM] [August] [DEBUG] augustId: james.townsend79@outlook.com, installId: XXXXXXXX, password: XXXXXXX, isValidated: true
[1/31/2024, 9:14:07 AM] [August] [DEBUG] countryCode: GB
[1/31/2024, 9:14:07 AM] [August] [DEBUG] August Credentials: {"installId":"XXXXXXXXX","augustId":"XXXXXXXX","password":"XXXXXX","countryCode":"GB"}
[1/31/2024, 9:14:07 AM] [August] [DEBUG] August Credentials: {"config":{"apiKey":"XXXXXXX","pnSubKey":"XXXXXXXXXX","installId":"XXXXXXX","idType":"email","augustId":"XXXXXXX","password":"Cheryl08198!","countryCode":"GB"}}
[1/31/2024, 9:14:07 AM] Homebridge v1.7.0 (HAP v0.11.1) (August) is running on port 45631.
FetchError: Status 403 (undefined): undefined
[1/31/2024, 9:14:08 AM] [August] Discover Devices 2: TypeError: Cannot read properties of undefined (reading 'x-august-access-token')
I had this when I changed my country code to UK. I changed back to US as I’m guessing we’re using the US API (August) and I got error 401, which for me seems to have passed.
@wrcaston84 thanks for the info. I have just tried changing to US rather than UK but sadly I get a different error message the same as in https://github.com/donavanbecker/homebridge-august/issues/94 (Discover Devices 2: TypeError: Cannot convert undefined or null to object
)
That’s the same as what I had. I managed to pass that somehow by re-validating my email and phone a few times. My error now relates to lockid so looks to have passed authentication.
@wrcaston84 do you tick the 'Validated' box after you have added the validation code before restarting the child/homebridge? Or do you just leave it blank?
No, it should tick itself after it’s validated.
On Thu, 1 Feb 2024 at 12:55, James Townsend @.***> wrote:
@wrcaston84 https://github.com/wrcaston84 do you tick the 'Validated' box after you have added the validation code before restarting the child/homebridge? Or do you just leave it blank?
— Reply to this email directly, view it on GitHub https://github.com/donavanbecker/homebridge-august/issues/95#issuecomment-1921266712, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEQDN3E7YRPGPZVL5GPP2U3YROGFRAVCNFSM6AAAAABCSTURT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRRGI3DMNZRGI . You are receiving this because you were mentioned.Message ID: @.***>
Please try the latest beta and report back logs. Thanks.
@donavanbecker i deleted the current version and config, added the new beta. Still exactly the same in the logs as above. I tried country as GB, then because I had the same errors as above, deleted everything and set country to US. Same errors still
Latest beta:-
[01/02/2024, 20:44:40] [August] Launched child bridge with PID 30897
[01/02/2024, 20:44:41] Registering platform 'homebridge-august.August'
[01/02/2024, 20:44:41] [August] Loaded homebridge-august v2.0.1-beta.1 child bridge successfully
[01/02/2024, 20:44:42] Loaded 0 cached accessories from cachedAccessories.0EBFC6111D78.
[01/02/2024, 20:44:42] [August] [DEBUG] Using Config Logging: debug
[01/02/2024, 20:44:42] [August] Finished initializing platform: August
[01/02/2024, 20:44:42] [August] Platform Config: {"logging":"debug"}
[01/02/2024, 20:44:42] [August] [DEBUG] Using Default Refresh Rate (5 minutes).
[01/02/2024, 20:44:42] [August] [DEBUG] Config OK
[01/02/2024, 20:44:42] [August] [DEBUG] Executed didFinishLaunching callback
[01/02/2024, 20:44:42] [August] [DEBUG] Config Credentials: {"augustId":"xxx","password":"xxxx","contryCode":"UK","installId":"xxxxx","isValidated":true,"notice":"Keep your tokens a secret!"}, isValidated: true
[01/02/2024, 20:44:42] Homebridge v1.7.0 (HAP v0.11.1) (August) is running on port 32274.
FetchError: Status 401 (undefined): undefined
[01/02/2024, 20:44:42] [August] Validated, Discover Devices: TypeError: Cannot convert undefined or null to object
Just tried beta 2 and logs are exactly the same as above
Beta 4 - same errors reported. No change.
Same issue.
Changing to US does nothing.
FetchError: Status 401 (undefined): undefined
[2/10/2024, 10:09:59 PM] [August] Validated, Discover Devices: TypeError: Cannot convert undefined or null to object
[2/10/2024, 10:10:30 PM] [August] Initializing August platform...
[2/10/2024, 10:10:30 PM] [August] Finished initializing platform: August
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed as no further activity has occurred.
Validated, Discover Devices: TypeError: Cannot read properties of undefined (reading 'x-august-access-token')
Similar issues as above - tested multiple times with 2.0 and latest 2.0.x beta and now 1.3.4.
Debugging output:
[3/22/2024, 10:39:02 AM] [August] Initializing August platform...
[3/22/2024, 10:39:02 AM] [August] [DEBUG] Using Config Logging: debug
[3/22/2024, 10:39:02 AM] [August] [DEBUG] Finished initializing platform: August
[3/22/2024, 10:39:02 AM] [August] Platform Config: {"logging":"debug"}
[3/22/2024, 10:39:02 AM] [August] [DEBUG] Using Default Refresh Rate (5 minutes).
[3/22/2024, 10:39:02 AM] [August] [DEBUG] Config OK
[3/22/2024, 10:39:02 AM] [August] [DEBUG] Executed didFinishLaunching callback
[3/22/2024, 10:39:02 AM] [August] [DEBUG] isValidated: false
[3/22/2024, 10:39:02 AM] [August] countryCode: XX
[3/22/2024, 10:39:02 AM] [August] [DEBUG] August Credentials: {"installId":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX","augustId":"XXXX","password":"XXXX","countryCode":"XX"}
[3/22/2024, 10:39:02 AM] [August] [DEBUG] August Credentials: {"config":{"apiKey":"XXXXXX","pnSubKey":"sub-c-XXXXXX","installId":"XXXXX","idType":"email","augustId":"XXXX","password":"XXXXX","countryCode":"XX"}}
[3/22/2024, 10:39:02 AM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge - XXXXX) is running on port XXXXX.
FetchError: Status 403 (undefined): undefined
[3/22/2024, 10:39:02 AM] [August] Validated Error: TypeError: Cannot read properties of undefined (reading 'x-august-access-token')
Please try v2.1.0, if you still have an issue please open a new issue.
Describe The Bug
Clean install with version 2.0. I go through the setup process (add email address and password), recieve the email code, set the country to GB from dropdown selector, add the validation code, restart HB and in the logs receive the error message. Gave the plugin a go about a week ago for the first time but had similar issues so waited for the update
To Reproduce
See above
Expected behavior
No error message/devices detected
Relevant log output
Config for homebridge-august
Screenshots
No response
Device & Model
Yale Conexis L2 with Connect wifi bridge
Node.js Version
v20.10.0
NPM Version
unknown
Homebridge Version
v1.7.0
Homebridge August Plugin Version
v2.0.0
Homebridge Config UI X Plugin Version
v4.55.1
Operating System
Debian GNU/Linux Bookworm (12)