MQTT Sparkplug: Send and Receive messages Using Node-red, Raspberry Pi and HiveMQ Cloud

  Рет қаралды 10,922

HiveMQ

HiveMQ

Күн бұрын

Пікірлер: 35
@gurkancekic9057
@gurkancekic9057 2 жыл бұрын
Dear Mr.Kudzai Manditereza , thank you for your effort . it is really well organized demo for MQTT Sparkplug industrial use cases. Thank you HiveMQ
@HiveMQ
@HiveMQ 2 жыл бұрын
Hi Gürkan. We are glad the video was useful to you! Thank you.
@gurkancekic9057
@gurkancekic9057 2 жыл бұрын
@@HiveMQ I have returned with this fault. "No .proto types loaded! Check that the file exists and that node-red has permission to access it." could you help to sort this problem out ?
@dwsan1tx
@dwsan1tx 3 жыл бұрын
Excellent demonstration and delivery. Well structured and explained. I will be trying this out. Thank you.
@HiveMQ
@HiveMQ 3 жыл бұрын
Glad you like it! It would be great if you can share your experience with us after you try it out.
@monwil3296
@monwil3296 3 жыл бұрын
Very well simplified and easy to understand.
@HiveMQ
@HiveMQ 3 жыл бұрын
Hi Mon, glad you liked it!
@youriregnaud8461
@youriregnaud8461 3 жыл бұрын
Thank you for this demonstration. Would it be possible to explain the interest of encoding and decoding via the "Buffer" protocol instead of simply sending the message via MQTT? I understand well the interest of the topic and payload specifications, but I did not understand the interest of the encoding. Thanks
@HiveMQ
@HiveMQ 3 жыл бұрын
Hi Youri. Thank you. Here is the answer to your question: Using the Protobuf buffer is meant to serialize the MQTT message object in a way that the Sparkplug B-specific data types are preserved when decoding on the other end. Hope this helps!
@tupuro
@tupuro Жыл бұрын
excellent, well explained
@yazuraz
@yazuraz 2 жыл бұрын
Thank you for the explanation, could you suggest any video or link for setting up TSL configuration, I am confused on how to setup the TSL without which mqtt doesn't connect.
@HiveMQ
@HiveMQ 2 жыл бұрын
Hi there! Thank you for your comment. Please check out the blog post here, which might be useful: www.hivemq.com/blog/end-to-end-encryption-in-the-cloud/
@elvenkim
@elvenkim 3 жыл бұрын
Very interesting application on using the AC lamp. Raspberry is running on 5V. Possible to share how to connect to AC lamp? Is it using a Relay?
@HiveMQ
@HiveMQ 3 жыл бұрын
Hi Elven Kim. Thank you for your kind words and your question. Yes, an external relay board was used to switch on the AC lamp using the Raspberry Pi. Hope this helps!
@93GG93
@93GG93 Жыл бұрын
Thanks for the interesting video! I have a question about the metrics, the sparkplug b specification examples the following structure: group_id --> edge_node_id --> device_id --> metric level 1 --> metric level 2 --> metric name. What is your idea of implementing ISA-95 instead (Enterprise --> Site --> Area --> Line --> Cell)? Or will that destroy the concept of sparkplug B? Or do you even recommend it? Like to hear from you!
@HiveMQ
@HiveMQ Жыл бұрын
We actually encourage implementing ISA 95 using Sparkplug B. Please check out this video that shows you how we did it using the Ignition platform kzbin.info/www/bejne/pqSZnImhgc99nMU
@gurkancekic9057
@gurkancekic9057 2 жыл бұрын
Thank you again , I have been returned with this fault. "No .proto types loaded! Check that the file exists and that node-red has permission to access it." could you help to sort this problem out ? i attempted with many combination but not solved. is there any edit required in spakplub_proto file ? ( i am sure that extension is not txt but proto )
@HiveMQ
@HiveMQ 2 жыл бұрын
Hi Gürkan, no edit is required in sparkplug_b.proto file. From the error message, it seems that Node-RED either cannot find the sparkplug_b.proto on the device or cannot access it. Can you kindly check the path to the file and its access permissions? The file sparkplug_b.proto comes from the Eclipse Tahu repository. The file is used by the Node-RED to encode messages that are coming from the device. After encoding the message, Node-Red would send the message to the MQTT broker. So, please check the path and permissions and try again.
@gurkancekic9057
@gurkancekic9057 2 жыл бұрын
@@HiveMQ Thank you for your kind reply. With your concrete answer , i found that i used host directory of Rpi while i am using Docker container of Nodered. Then i changed director to "/data" which is the directory inside container. then now it is working.
@HiveMQ
@HiveMQ 2 жыл бұрын
@@gurkancekic9057 Awesome! Glad it's working!
@rezahamzeh3736
@rezahamzeh3736 3 жыл бұрын
Any tutorial for converting flat MQTT to SparkPlugB ?
@HiveMQ
@HiveMQ 3 жыл бұрын
Hi Reza, thank you for your question. There isn't a dedicated video tutorial yet, however, this video demonstrates that.
@ueliiff7802
@ueliiff7802 3 жыл бұрын
Hello, Thanks for this Video! How i can generate a TLS cetificate?
@HiveMQ
@HiveMQ 3 жыл бұрын
Hi Ueli, glad you like the video. If you are looking to configure server-side TLS with HiveMQ, read this doc: www.hivemq.com/docs/hivemq/4.6/user-guide/howtos.html. Hope this helps!
@frankkettner7687
@frankkettner7687 2 жыл бұрын
Thank you for this demo. I have tried to follow it on node red hosted on IBM's cloud server. How do I go about providing the node a location for the proto file, since I cannot give a local path? Many thanks
@HiveMQ
@HiveMQ 2 жыл бұрын
Thank you for your feedback! Could you please submit your question to community.hivemq.com? One of our team members will be able to help you out there.
@93GG93
@93GG93 Жыл бұрын
Hi Kudzai/HiveMQ, I tried the same and its working but I have a question about the "value" in the metrics. In Sparkplug B specification they mention the component "value" in the metrics and what values it can be. But at 08:36, you use floatValue instead of value. I tried to use value but then the value will be zero and thus not working. If I use floatValue, it works and see the value. I don't understand why, unfortunately.. Could you elaborate? In below the Sparkplug B payload as described in the Sparkplug B specification: { "timestamp": , "metrics": [{ "name": , "alias": , "timestamp": , "dataType": , "value": }], "seq": }
@HiveMQ
@HiveMQ Жыл бұрын
Thank you for reaching out. Could you please submit your question to community.hivemq.com? One of our team members will be able to help you out there.
@nguyenhoangvu3309
@nguyenhoangvu3309 3 жыл бұрын
Do you know about AE, MN, IN and DHCP of MQTT, please guide me
@HiveMQ
@HiveMQ 3 жыл бұрын
Thank you for your comment. We have covered all the important concepts of MQTT Essentials here: www.hivemq.com/mqtt-essentials/
@liteglow2000
@liteglow2000 Жыл бұрын
a mess..... 20 minutes to read a sensor...
@devotionchikutuva1984
@devotionchikutuva1984 2 жыл бұрын
May I have an email where I can contact you
@HiveMQ
@HiveMQ 2 жыл бұрын
Thank you for reaching out! In case you have a question please submit it to community.hivemq.com. One of our team members will be able to help you out there.
What is an MQTT Broker Clearly Explained
10:11
Opto Video
Рет қаралды 192 М.
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,1 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 37 МЛН
Raspberry Pi IoT Server Tutorial: InfluxDB, MQTT, Grafana, Node-RED & Docker
12:32
Learn Embedded Systems
Рет қаралды 224 М.
How to use MQTT in Node-Red: basics, examples, tip & tricks
29:21
Csongor Varga
Рет қаралды 42 М.
MQTT Sparkplug B data simulator
8:05
Amine Amaach
Рет қаралды 2,2 М.
Raspberry Pi Pico Home Temperature Monitoring System with Node-RED
14:11
element14 presents
Рет қаралды 14 М.
MQTT Sparkplug Basics | Sparkplug Essentials Part 1
5:42
MQTT + Sparkplug B, What They Are and Why Use Them
14:40
AVEVA Operations Control
Рет қаралды 8 М.
UNS Build Out Using Sparkplug MQTT - Episode 10
1:59:53
IntegrateLive!
Рет қаралды 1,8 М.
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,1 МЛН