Paho MQTT Publisher and Subscriber using Python

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 10

  • @DebojyotiRoboVlogs
    @DebojyotiRoboVlogs Год назад

    Im getting this error can u please help. File "C:\Users\deboj\anaconda3\envs\yolo_env\lib\socket.py", line 833, in create_connection
    sock.connect(sa)
    ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

  • @vietdungnguyen643
    @vietdungnguyen643 4 года назад +1

    can i have one question? in publisher.py file i see "topic_name = aman/cdac/test". So where do you get this text "aman/cdac/test"? thank you so much

    • @query4aman
      @query4aman  4 года назад +1

      This is just a topic name on which we are transmitting the message, you may use your own name here, just make sure that topic name is same in both files. You may use your name as,
      topic_name = viet/dung/nguyen
      I hope it helps :)

    • @vietdungnguyen643
      @vietdungnguyen643 4 года назад +1

      ​@@query4aman oh thank you ! it's usefull

    • @query4aman
      @query4aman  4 года назад

      @@vietdungnguyen643 I am glad that you like it 😊

  • @dhritimanpandit2730
    @dhritimanpandit2730 5 лет назад +1

    can u share your code??

    • @query4aman
      @query4aman  5 лет назад

      Sure brother, I will share it on my GitHub and will share the link soon.

    • @nehapant9792
      @nehapant9792 5 лет назад +1

      @@query4aman any update on code?

    • @query4aman
      @query4aman  5 лет назад

      Please refer to the link for the given code below
      github.com/amankanwar/PAHO-MQTT/tree/master

    • @query4aman
      @query4aman  5 лет назад

      @@nehapant9792 Please refer to the link below: :)
      github.com/amankanwar/PAHO-MQTT/tree/master