Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

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

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

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

Hypnos3 opened this issue Nov 12, 2018 · 11 comments

Comments

@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
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
Copy link
Member

Have you got it working with these recommendations?

@Hypnos3
Copy link
Author

Hypnos3 commented Nov 24, 2018

No, same Problem.

@Hypnos3
Copy link
Author

Hypnos3 commented Nov 29, 2018

I try my self hosted docker instance.

@Hypnos3 Hypnos3 closed this as completed Nov 29, 2018
@peterkappelt
Copy link
Member

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
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
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
Copy link

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
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 as completed Jan 2, 2019
@peterkappelt
Copy link
Member

Ahh, that was too easy...

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

@Hypnos3
Copy link
Author

Hypnos3 commented Jan 2, 2019

Vielen Dank!

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

No branches or pull requests

4 participants