Skip to content
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

Homebridge just kept shutting itself down and trying to restart #7

Open
tfmteixeira opened this issue Feb 10, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@tfmteixeira
Copy link

Describe The Bug:

Hi! As soon as I installed this plugin and restarted, Homebridge wouldn't load - it just kept shutting itself down and trying to restart.

To Reproduce:
Enable Kia plugin and restart Homebridge.

Logs:

TypeError: Cannot read properties of undefined (reading 'forEach')
    at /var/lib/homebridge/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:274:35
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.Do (/var/lib/homebridge/node_modules/homebridge-kia-connect/node_modules/node-singleflight/lib/do.js:30:12)
    at KiaConnect.logIn (/var/lib/homebridge/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:251:5)
    at KiaConnect.vehicleInfo (/var/lib/homebridge/node_modules/homebridge-kia-connect/src/kiaconnect/client.ts:191:5)
    at Car.refresh (/var/lib/homebridge/node_modules/homebridge-kia-connect/src/platformAccessory.ts:258:17)

Plugin Config:

{
    "bridge": {
        "name": "Homebridge 7A36",
        "username": "xxxxxxxxxxxxx",
        "port": 51021,
        "pin": "xxxxxxxxxxxxxx",
        "advertiser": "avahi"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "cars": [
                {
                    "name": "Niro EV",
                    "targetTemperature": "68",
                    "vin": "xxxxxxxxxxxxxxx",
                    "refreshInterval": 3600000
                }
            ],
            "email": "xxxxxxxxxxxxxxxxxxx",
            "password": "xxxxxxxxxxxxxxx",
            "platform": "KiaConnect"
        },
    ]
}

Screenshots:

Environment:

  • Plugin Version: 1.2.0
  • Homebridge Version: 1.7.0
  • Node.js Version: 18.19.0
  • NPM Version:
  • Operating System: Debian GNU/Linux Bullseye (11)
@tfmteixeira tfmteixeira added the bug Something isn't working label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant