I'm retrieving results from the Postgres database and my result set has a topic name, based on the topic name how do I will publish the messages to the MQTT publisher node.?
Input :
inject node = select id,COALESCE(name,default_topic) as topic,planid,status from public.topic
Node-red MQTT-publisher side publish the messages and subscriber side I'm creating HTML page their I need to consume the messages
MQTT subscriber part not working in browser-side js port number 8883 is not connecting . 8884 is connecting but node-red MQTT-publisher node side 8884 not working