About 19,500,000 results
Open links in new tab
  1. Paho MQTT "Unsupported callback API version" error

    Feb 12, 2024 · client = mqtt_client.Client(mqtt_client.CallbackAPIVersion.VERSION1, client_id) This will configure the library to use the v1 callback API (as used with older versions of the library). I would …

  2. javascript - mqtt client in html page - Stack Overflow

    Dec 17, 2020 · If you want to connect to a MQTT broker from with a web page you MUST use MQTT over Websockets. The Javascript sandbox in the browser will not allow you to do it any other way. …

  3. Using MQTTNet, how to subscribe to topic, parse then push back in a ...

    Jul 3, 2023 · Using MQTTNet, I am not very familiar with async in C# so I need a little bit help. I want to subscribe to a MQTT topic (external broker like mosquitto), parse messages, and for particular ones …

  4. Paho updating userdata from on_message callback - Stack Overflow

    Aug 25, 2020 · Basically, I want my userdata to act as a global flag that gets read and updated between successive executions of the on_message() callback. I wrote and ran the following script: import …

  5. Node-red beginners issue. Connection failed to broker: mqtt://

    Jun 24, 2023 · Probably not. I have not installed anything extra apart from Node Red. After your reply I tried to install HiveMQ (and upgrade my Java 8 to Java 11). I still didn´t manage to connect to the …

  6. mqtt - MQTTClient throws error when trying to connect - Stack Overflow

    Oct 20, 2024 · I'm devopling an application on a PicoW using Visual Studio (Thonny gives the same results). It uses umqtt.simple: from machine import Pin, I2C from time import sleep import network …

  7. Mosquitto MQTT: "Connection was lost" error when publishing a …

    May 5, 2025 · I am trying to test MQTT functionality and have installed Eclipse Mosquitto on my workstation. To subscribe to a topic, I use the following command: "C:\\Program …

  8. mosquitto-client obtain refused connection - Stack Overflow

    I want to use MQTT protocol using mosquitto library. First of all, I want to do some test installing mosquitto-clients sudo apt-get install mosquitto-clients This program provides two "method":

  9. Paho-MQTT client disconnect with code 16 and cannot connect again

    Jun 20, 2023 · If I restart the container with the mqtt client, it starts working, but after a few hours it disconnects again (with code 16) with the possibility of reconnecting. I didn't suspend/resume the …

  10. How to use STM32 lwip/mqtt api with tls? - Stack Overflow

    1 i made stm32 + rtos + lwip/mqtt solution and it works well. Now i want to use it with embed tls secure connection. I did not find any exemples. lwip mqtt api supports tls comunication. But there are no …