Skip to content

MQTT too slow #1

@moelha

Description

@moelha

MQTT protocol is found to be too slow for real-time communication.

When the Python script reads from the sensor and sends the data to Node-RED, the data displayed on the dashboard is showed with a consistent delay.

This might be either that Node-RED is too slow to show data in real time, or that the MQTT protocol is inappropriate for this fast, real-time communication.

In order to accurately determine the reason, the following tests will be made:

  1. Create a function on Node-RED to generate random numbers and display them on the dashboard (to rule out the MQTT delay factor)
  2. Swap MQTT protocol with WebSocket (to check if speed improves)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions