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

[doku] can you provide an example for Node-Red #13

Closed
Hypnos3 opened this Issue Nov 12, 2018 · 11 comments

Comments

Projects
None yet
4 participants
@Hypnos3
Copy link

Hypnos3 commented Nov 12, 2018

I was not able to get a mqtt connection of gbridge with node-red.

To rule out whether this is a local problem, it would be nice if someone could point out an example of a working node-red configuration that you might also be able to include in the documentation.

My (not working) configuration is:
TLS:
image

MQTT 1:
image

MQTT 2:
image

Many Thanks

@peterkappelt

This comment has been minimized.

Copy link
Member

peterkappelt commented Nov 13, 2018

I don't use NodeRed regularly, so I would write examples blindly.

Try:

  • Removing the "CA Certificate" (thus leaving it empty)
  • Checking "Verify server certificate"
  • Checking "Use legacy MQTT 3.1 support"

This configuration worked for some users who requested support and for me in a test environment.

Have a good one!

@peterkappelt

This comment has been minimized.

Copy link
Member

peterkappelt commented Nov 24, 2018

Have you got it working with these recommendations?

@Hypnos3

This comment has been minimized.

Copy link
Author

Hypnos3 commented Nov 24, 2018

No, same Problem.

@Hypnos3

This comment has been minimized.

Copy link
Author

Hypnos3 commented Nov 29, 2018

I try my self hosted docker instance.

@Hypnos3 Hypnos3 closed this Nov 29, 2018

@peterkappelt

This comment has been minimized.

Copy link
Member

peterkappelt commented Nov 29, 2018

I wouldn't like to close this issue yet. I don't really know wheter this problem just exists for you or for all NodeRed users.

It did work for a couple of NodeRed users around two months ago. It is possible that an update of NodeRed somehow broke the compatibility with gBridge's MQTT servers

Can you give additional information? Are there any log files? What's the exact problem (Is your NodeRed instance unable to make a connection to gBridge? Do you receive no messages? ...)

Best regards,
Peter Kappelt

@peterkappelt peterkappelt reopened this Nov 29, 2018

@Hypnos3

This comment has been minimized.

Copy link
Author

Hypnos3 commented Nov 29, 2018

the only error is:

29 Nov 22:57:35 - [info] [mqtt-broker:xgbridgePlain] Connection failed to broker: mqtt://mqtt.gbridge.kappelt.net
29 Nov 22:57:35 - [info] [mqtt-broker:xGBridge] Connection failed to broker: mqtts://mqtt.gbridge.kappelt.net
@marquel

This comment has been minimized.

Copy link

marquel commented Dec 28, 2018

Hi, For me it works without TLS configuration. Just enable secure connection, but don't add anything in the configuration.

@unicornrobot

This comment has been minimized.

Copy link

unicornrobot commented Jan 1, 2019

I had similar connection problems, but solved it by changing the MQTT password as mine had a $ character which was causing authentication error. Mine works with TLS enabled but not configured. gBridge is great, thanks!

@Hypnos3

This comment has been minimized.

Copy link
Author

Hypnos3 commented Jan 2, 2019

Thank you!! This was the problem. I Have the # sign in the password. I have changed this and now it is working.

@Hypnos3 Hypnos3 closed this Jan 2, 2019

@peterkappelt

This comment has been minimized.

Copy link
Member

peterkappelt commented Jan 2, 2019

Ahh, that was too easy...

I've wrote a guide for Node-RED integration: https://doc.gbridge.io/integration/tasmota.html

@Hypnos3

This comment has been minimized.

Copy link
Author

Hypnos3 commented Jan 2, 2019

Vielen Dank!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment