NorthernMan54 / homebridge-alexa

Expose your homebridge controlled devices to Amazon Alexa.
https://www.homebridge.ca
458 stars 68 forks source link

ERROR: ( homebridge-alexa) Login to homebridge.ca failed, please validate your credentials in config.json and restart homebridge. #706

Closed betty02 closed 2 months ago

betty02 commented 2 months ago

Current Situation

I recently installed HomeBrige and then went to HomeBridge-Alexa login, crated my account on .ca and all was good and well. Logs in fine on the website, logs in fine on the skill, however in Homebridge with the exact same username and password (checked the .json) and it gives me the error below. I have purchased a subscription also

Logs

[9/11/2024, 11:38:18 AM] [Alexa] ERROR: ( homebridge-alexa) Login to homebridge.ca failed, please validate your credentials in config.json and restart homebridge.
[9/11/2024, 11:38:18 AM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Connected to 192.168.1.1 (UniFi Protect 4.1.53 running on UniFi OS 4.0.6).
[9/11/2024, 11:38:18 AM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Discovered nvr: Dream Machine Special Edition [UDM SE] (address: XXX.XXX.XXX.XXX mac: E4388322F3A4).
[9/11/2024, 11:38:18 AM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Discovered camera: Driveway Camera [G3 Flex] (address: XXX.XXX.XXX.XXX mac: 70A7415F0340).
[9/11/2024, 11:38:18 AM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Discovered camera: Front Door Camera [G3 Flex] (address: XXX.XXX.XXX.XXX mac: AC8BA90D0BCC).
[9/11/2024, 11:38:18 AM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Discovered camera: Courtyard Camera [G3 Flex] (address: XXX.XXX.XXX.XXX mac: E438830B5ADE).
[9/11/2024, 11:38:18 AM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Driveway Camera [G3 Flex]: Adding camera to HomeKit as a standalone device.
[9/11/2024, 11:38:18 AM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Syncing Protect device names to HomeKit.
[9/11/2024, 11:38:18 AM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Front Door Camera [G3 Flex]: Adding camera to HomeKit as a standalone device.
[9/11/2024, 11:38:18 AM] [UniFi Protect] Dream Machine Special Edition [UDM-PRO-SE]: Courtyard Camera [G3 Flex]: Adding camera to HomeKit as a standalone device.
[9/11/2024, 11:38:19 AM] Driveway Camera 6F4E is running on port 45467.
[9/11/2024, 11:38:19 AM] Please add [Driveway Camera 6F4E] manually in Home app. Setup Code: 143-14-505
[9/11/2024, 11:38:19 AM] Front Door Camera C20C is running on port 44281.
[9/11/2024, 11:38:19 AM] Please add [Front Door Camera C20C] manually in Home app. Setup Code: 143-14-505
[9/11/2024, 11:38:19 AM] Courtyard Camera 1F46 is running on port 41179.
[9/11/2024, 11:38:19 AM] Please add [Courtyard Camera 1F46] manually in Home app. Setup Code: 143-14-505
[9/11/2024, 11:38:38 AM] [Alexa] ERROR: HAP Discovery failed, please review config
[9/11/2024, 11:38:39 AM] [UniFi Protect] Front Door Camera [G3 Flex]: Unable to retrieve a snapshot.
[9/11/2024, 11:38:40 AM] [UniFi Protect] Front Door Camera [G3 Flex]: Streaming request from 192.168.1.8: 1280x720@30fps, 299 kbps. Transcoding 1920x1080@25fps (High) [H264], 6,000 kbps [RTSP].
[9/11/2024, 11:38:42 AM] [UniFi Protect] Front Door Camera [G3 Flex]: Stopped video streaming session.

Configuration

"name": "Alexa",
            "username": "sbetty02",
            "password": "MYPASSWORDISHERE",
            "pin": "143-14-505",
            "refresh": 900,
            "keepalive": 5,
            "CloudTransport": "mqtts",
            "filter": "192.168.1.250:8581",
            "deviceListHandling": "none",
            "platform": "Alexa"

Environment

Process Supervisor

Docker (Mention image name in Additional Context)

Additional Context

Running my Homebridge on Portainer, connected fine to my UniFi cameras and I can add them to my iPhone fine, just unable to do this Alexa Homebridge plugin. Skill logs in fine

betty02 commented 2 months ago

I fixed it. My Mac had changed my username to start with a capital S, didn't expect that section to be case sensitive so I have updated and now no errors.

NorthernMan54 commented 2 months ago

Good news, glad you resolved the issue