Тёмный

Python MQTT for Data-Driven Engineering 

APMonitor.com
Подписаться 76 тыс.
Просмотров 5 тыс.
50% 1

MQTT (Message Queue Telemetry Transport) is a protocol for machine-to-machine communication that is popular in IoT (Internet of Things) networks. The broker manages data transport from clients that publish or subscribe to updates. It was created around 1998 and has increased in popularity with the increase of IoT devices. It is especially good for ad hoc networking of devices that have varying levels of latency and communication bandwidth. MQTT typically runs over TCP/IP for bi-directional and lossless connections.
Source Code: apmonitor.com/dde/index.php/M...

Наука

Опубликовано:

 

15 фев 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@estherhozy9475
@estherhozy9475 10 месяцев назад
Dear Sir, Thank you thank you for this series. I have watched the whole playlist. I have a project whereby I have to get rid of the Modbus gateway between the plc and Raspberry Pi. I saw that I can use MQTT or OPC UA. My question is which is better. Can I use it to run plc even without a Raspberry PI since it's not industrial? Thank you so much
@apm
@apm 10 месяцев назад
MQTT is probably better for your application because the connection may be unreliable. OPC requires a reliable connection and MQTT is built for IoT applications.
@muddymkamba352
@muddymkamba352 2 месяца назад
is it possible for device like teltonika FMB920 to send data to MQTT bROCKER
@apm
@apm 2 месяца назад
The Teltonika FMB920 can transmit data using LTE or via a local gateway using a Raspberry Pi. For LTE, ensure the micro-SIM is active and configure the device with network and MQTT settings to send data directly to an MQTT broker over the internet. Alternatively, use a Raspberry Pi as a local gateway by enabling Bluetooth on both devices for local data transfer, and configure the Raspberry Pi to send this data to an MQTT broker using installed MQTT client software. This setup not only allows flexibility based on connectivity and mobility needs but also the possibility of integrating additional processing capabilities through the Raspberry Pi.
@yorha2b278
@yorha2b278 3 месяца назад
I want to create an MQTT client to listen to a host machine but I do not know the "topics" hence I am not able to subscribe to them. Is there any way I can find out what are the available topics from the host? Anyone?
@apm
@apm 3 месяца назад
In MQTT (Message Queuing Telemetry Transport), topics are used as the routing information for messages, and clients subscribe to these topics to receive messages that interest them. However, MQTT does not have a built-in feature to discover topics because it is designed to be lightweight and simple. Topics are typically determined by the application design or the configuration of the MQTT broker and its clients. If you're working with an MQTT broker and you don't know the topics, here are a few approaches you can take to discover or manage topics: Broker Configuration and Logs: Check Broker Configuration: If you have access to the MQTT broker, you can check its configuration files. Some brokers might list the topics that have been configured or have defaults. Broker Logs: Some MQTT brokers log details about connected clients and their subscriptions. By examining these logs, you might be able to identify active topics. Contact System Administrator or Developer: If you're working in a managed environment, the system administrator or the developer who set up the MQTT broker might have a list of topics or documentation about the topic structure.
@timecop1983Two
@timecop1983Two 7 месяцев назад
Port:80 Likes
@anubhavss
@anubhavss 7 месяцев назад
and I made it port 83 ;)
Далее
Python Modbus
16:31
Просмотров 20 тыс.
OPC UA with Python
15:59
Просмотров 18 тыс.
How to Get Started with MQTT
13:38
Просмотров 399 тыс.
MQTT and Apache Kafka: A Match Made in Heaven
32:36
Просмотров 1,4 тыс.
What is an MQTT Broker Clearly Explained
10:11
Просмотров 189 тыс.
Protocols vs ABCs in Python - When to Use Which One?
15:31
Websockets in Python
17:52
Просмотров 29 тыс.
MQTT Beginner Guide with Python
18:00
Просмотров 60 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 852 тыс.
How I Would Learn To Code (If I Could Start Over)
23:50
Чем нельзя протирать экран?
0:44
Что стало с Windows Phone?
0:43
Просмотров 271 тыс.