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

Resetting entire addon in 1 minute #200

Closed
Gladesvensken opened this issue May 23, 2021 · 6 comments
Closed

Resetting entire addon in 1 minute #200

Gladesvensken opened this issue May 23, 2021 · 6 comments

Comments

@Gladesvensken
Copy link

Hello!
I'm new to HA and trying to get this to work but gets this error feel like i tried everyging can someone please help me
2021-05-23 05:21:40 INF [plejd-mqtt] Initializing MQTT connection for Plejd addon
Catastrophic error. Resetting entire addon in 1 minute Error: Missing protocol
at Object.connect (/plejd/node_modules/mqtt/lib/connect/index.js:67:13)
at MqttClient.init (/plejd/MqttClient.js:88:24)
at PlejdAddon.init (/plejd/PlejdAddon.js:111:21)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async main (/plejd/main.js:18:5)

@mattiaslang
Copy link

The same here:

Starting Plejd addon and reading configuration...
2021-05-24 19:45:09 DBG [plejd-main] Log level set to debug
2021-05-24 19:45:09 INF [plejd-main] Plejd add-on, version 0.7.1
2021-05-24 19:45:09 INF [device-comm] Starting Plejd communication handler.
2021-05-24 19:45:09 INF [plejd-ble] Starting Plejd BLE Handler, resetting all device states.
2021-05-24 19:45:09 INF [plejd-main] Main Plejd addon init()...
2021-05-24 19:45:09 INF [plejd-api] init()
2021-05-24 19:45:09 INF [plejd-api] Getting cached api response from disk
2021-05-24 19:45:09 DBG [plejd-api] Prefer cache? false
2021-05-24 19:45:09 DBG [plejd-api] Cache exists? Yes, created 2021-05-24T17:44:09.443Z
2021-05-24 19:45:09 INF [plejd-api] login()
2021-05-24 19:45:09 INF [plejd-api] logging into Flingevägen 6
2021-05-24 19:45:09 DBG [plejd-api] sending POST to https://cloud.plejd.com/parse/login
2021-05-24 19:45:09 INF [plejd-api] got session token response
2021-05-24 19:45:09 INF [plejd-api] Get all Plejd sites for account...
2021-05-24 19:45:09 DBG [plejd-api] sending POST to https://cloud.plejd.com/parse/functions/getSiteList
2021-05-24 19:45:10 INF [plejd-api] Got site list response with 1: Flingevägen 6
2021-05-24 19:45:10 INF [plejd-api] Site found matching configuration name Flingevägen 6
2021-05-24 19:45:10 INF [plejd-api] Get site details for 33fcd41a-7eaa-499f-99cd-39f3f40bf663...
2021-05-24 19:45:10 DBG [plejd-api] sending POST to https://cloud.plejd.com/parse/functions/getSiteById
2021-05-24 19:45:11 INF [plejd-api] got site details response
2021-05-24 19:45:11 INF [plejd-api] Site details for site id 33fcd41a-7eaa-499f-99cd-39f3f40bf663 found
2021-05-24 19:45:11 INF [plejd-api] Saving cached copy
2021-05-24 19:45:11 INF [plejd-api] Getting devices from site details response...
2021-05-24 19:45:11 INF [plejd-mqtt] Initializing MQTT connection for Plejd addon
Catastrophic error. Resetting entire addon in 1 minute Error: Missing protocol
at Object.connect (/plejd/node_modules/mqtt/lib/connect/index.js:67:13)
at MqttClient.init (/plejd/MqttClient.js:88:24)
at PlejdAddon.init (/plejd/PlejdAddon.js:111:21)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async main (/plejd/main.js:18:5)

@SweVictor
Copy link
Collaborator

Hmm.... I know we got some issue a while ago where the mqtt lib needed to be updated to fix the problem. This has been done in latest develop branch. Any chance you could install the dev version to test?

The error doesn't say much and is emitted from the mqtt lib so quite hard to know what's up unfortunately

@mattiaslang
Copy link

mattiaslang commented May 25, 2021 via email

@SweVictor
Copy link
Collaborator

Please follow the manual instructions in the readme, for the develop branch code

https://github.com/icanos/hassio-plejd/tree/develop/plejd#manual-installation

@mattiaslang
Copy link

mattiaslang commented May 25, 2021 via email

@SweVictor
Copy link
Collaborator

v0.8.0-beta is now out "public", closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants