Replies: 2 comments 7 replies
-
Could you please share a flow that shows the issue you have ... with redacted / simulated credentials of course. |
Beta Was this translation helpful? Give feedback.
3 replies
-
@mtoko – The MQTT node implementations on the MCU will use the user and password credentials when present. However, as you note, Node-RED does not export this information for security reasons. You can enter them manually in the flow JSON. The MCU plug-in is in a position to access the credentials, so it could add them to the exported flow with some additional work. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Firstly, thanks you to Peter and Ralph for all the hard work and fantastic progress
I am using an MQTT node with credentials and I vaguely remember that the configuration node credentials are only sent on the first deploy, so before the node mcu plugin the procedure was to copy the flow into node red mcu before deploy so that these were downloaded with the flow to the mcu. I assume now that I have the plugin working that the config node credentials would be downloaded.
Summary
I have a simple flow of an inject node and an MQTT out node to a MQTT broker that is known to work. The flow works correctly if there are no credentials in the MQTT out or the broker but does not connect if the node red mcu flow has credentials. I have tried to input credentials and then build before deploy (savings config setup) and also to build after deploy but neither works
The mcu is a ESP32/nodemcu
Any advice appreciated
Beta Was this translation helpful? Give feedback.
All reactions