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

Error and where to go with the accessory #57

Closed
SchafferApp opened this issue Jan 28, 2018 · 2 comments
Closed

Error and where to go with the accessory #57

SchafferApp opened this issue Jan 28, 2018 · 2 comments

Comments

@SchafferApp
Copy link

SchafferApp commented Jan 28, 2018

# 1
I added homebridge-mqtt as usual.
When I start Homebridge, I get the following error message in the terminal:

[2018-1-28 13:36:59] [mqtt] Connecting..
_tls_common.js:88
c.context.setCert(options.cert);
^

Error: error:0906D06C:PEM routines:PEM_read_bio:no start line
at Object.createSecureContext (_tls_common.js:88:17)
at Object.exports.connect (_tls_wrap.js:1047:48)
at Object.buildBuilder (/usr/local/lib/node_modules/homebridge-mqtt/node_modules/mqtt/lib/connect/tls.js:13:20)
at MqttClient.wrapper [as streamBuilder] (/usr/local/lib/node_modules/homebridge-mqtt/node_modules/mqtt/lib/connect/index.js:135:36)
at MqttClient._setupStream (/usr/local/lib/node_modules/homebridge-mqtt/node_modules/mqtt/lib/client.js:246:22)
at new MqttClient (/usr/local/lib/node_modules/homebridge-mqtt/node_modules/mqtt/lib/client.js:227:8)
at Object.connect (/usr/local/lib/node_modules/homebridge-mqtt/node_modules/mqtt/lib/connect/index.js:138:10)
at Model.start (/usr/local/lib/node_modules/homebridge-mqtt/lib/model.js:71:17)
at Controller.start (/usr/local/lib/node_modules/homebridge-mqtt/lib/controller.js:361:14)
at PluginPlatform. (/usr/local/lib/node_modules/homebridge-mqtt/index.js:69:23)

I understand that it means that something is wrong with certain lines of code. I did not touch these.

# 2
I do not know if my english is so bad or there is no description. But I can not figure out what to do with the accessory code or where to insert it.
Is there a complete introduction somewhere?

@cflurin
Copy link
Owner

cflurin commented Jan 28, 2018

Hi,

Have a look here:
https://github.com/cflurin/homebridge-mqtt/wiki/How-to-report-issues

To ask for help:

https://slackin-znyruquwmv.now.sh/

Channel: hombridge-mqtt

@cflurin
Copy link
Owner

cflurin commented Jan 31, 2018

Closing for now.

@cflurin cflurin closed this as completed Jan 31, 2018
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

2 participants