Hilscher Community Forum
MQTT test - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: MQTT test (/thread-563.html)

Pages: 1 2


MQTT test - DSongra - February-27th-2020

Hello,

I am trying to communicate netPi with the MQTT fx, but it is not communicating. MQTT flow attached, same MQTT flow working fine with Hilscher NetConnect Gateway. 

Could you please help me to solve this issue.


Br,
Devendra


RE: MQTT test - Armin@netPI - February-27th-2020

The connect gateway is not supported in the forum. Gateway Connect is only supported via Hilscher hotline team.

Thx Armin


RE: MQTT test - DSongra - February-27th-2020

(February-27th-2020, 08:04 AM)Armin@netPI Wrote: The connect gateway is not supported in the forum. Gateway Connect is only supported via Hilscher hotline team.

Thx Armin

I looked on the other MQTT topics, and I tried the same, but I get the message in the docker container console, attached screenshot & NetPi MQTT node-red flow.


Br,
Devendra


RE: MQTT test - Armin@netPI - February-27th-2020

But which container are you loading? I don’t see any screen shot. Please send container start screen shot. Or do you use default software of Connect Gateway? But still this forum is not supporting this kind of device. Get in touch with hotline@hilscher.com


RE: MQTT test - DSongra - February-29th-2020

Hello,

I want to use MQTT in my Hilscher NetPi, what is the procedure to run MQTT. I have deployed "hilschernetpi/netpi-nodered"  container in my NetPi.


RE: MQTT test - Armin@netPI - February-29th-2020

You need to run also an MQTT Broker such as Mosquitto. There is an official Mosquitto container available on the internet I am pretty sure. You have to search on the internet. An MQTT Broker is responsible to receive data from clients such as Node-RED and to send data to all other clients that have subscribed to the same data tag name based.
Thx
Armin


RE: MQTT test - DSongra - March-2nd-2020

Hello Armin, 

I think mosquitto-client installed correctly? could you please confirm. As below the installation procedure.
 
https://mntolia.com/installing-mosquitto-mqtt-broker-on-ubuntu-debian-and-windows/

Also please let me know the next procedure.

Thanks.

Br,
Devendra


RE: MQTT test - Armin@netPI - March-2nd-2020

But I do not see setup of container in screen shot. So which container do you use? I see in your screen shot a lot of Linux commands but this is not official mosquitto container https://hub.docker.com/_/eclipse-mosquitto

Thx
Armin


RE: MQTT test - MGharat - October-20th-2020

Dear Armin,

we tried installing MQTT broker on netpi through docker command through Putty
Code:
docker run -it -p 1883:1883 -p 9001:9001 -v mosquitto.conf:/mosquitto/config/mosquitto.conf -v /mosquitto/data -v /mosquitto/log eclipse-mosquitto

we have not changed any configuration.

but we get below message as attached herewith:

BR
Madhumati


RE: MQTT test - Armin@netPI - October-20th-2020

Hello Madhumati,

the screen shot you sent ... this shows me a Linux console ... where is this Linux console heading to? To netPI container?

Thx
Armin