@@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 ?
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!
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.
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/
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
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!
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!
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 ruclips.net/video/ps6kVkLjJfc/видео.html
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": }
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
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.
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!
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 )
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.
@@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.
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.
Dear Mr.Kudzai Manditereza , thank you for your effort . it is really well organized demo for MQTT Sparkplug industrial use cases. Thank you HiveMQ
Hi Gürkan. We are glad the video was useful to you! Thank you.
@@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 ?
Excellent demonstration and delivery. Well structured and explained. I will be trying this out. Thank you.
Glad you like it! It would be great if you can share your experience with us after you try it out.
Very well simplified and easy to understand.
Hi Mon, glad you liked it!
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?
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!
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.
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/
excellent, well explained
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
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!
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!
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
ruclips.net/video/ps6kVkLjJfc/видео.html
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":
}
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.
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
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.
Hello, Thanks for this Video! How i can generate a TLS cetificate?
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!
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 )
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.
@@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.
@@gurkancekic9057 Awesome! Glad it's working!
Any tutorial for converting flat MQTT to SparkPlugB ?
Hi Reza, thank you for your question. There isn't a dedicated video tutorial yet, however, this video demonstrates that.
Do you know about AE, MN, IN and DHCP of MQTT, please guide me
Thank you for your comment. We have covered all the important concepts of MQTT Essentials here: www.hivemq.com/mqtt-essentials/
a mess..... 20 minutes to read a sensor...
May I have an email where I can contact you
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.