Python MQTT for Data-Driven Engineering

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 10

  • @estherhozy9475
    @estherhozy9475 ปีที่แล้ว +1

    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  ปีที่แล้ว

      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.

  • @yorha2b278
    @yorha2b278 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน +1

      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.

  • @muddymkamba352
    @muddymkamba352 7 หลายเดือนก่อน +1

    is it possible for device like teltonika FMB920 to send data to MQTT bROCKER

    • @apm
      @apm  7 หลายเดือนก่อน

      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.

  • @timecop1983Two
    @timecop1983Two ปีที่แล้ว

    Port:80 Likes

    • @anubhavss
      @anubhavss ปีที่แล้ว

      and I made it port 83 ;)

  • @SophyHarlan-l6s
    @SophyHarlan-l6s 3 หลายเดือนก่อน

    Garcia Nancy White Jose Clark Larry