JsonBroker: { protocol: "mqtt" | "mqtts"; server: string; port: number; username: string; password: string; clientId?: string }

Configuration for the connection to the broker.

Type declaration

  • protocol: "mqtt" | "mqtts"

    The protocol.

  • server: string

    The server

  • port: number

    The port

  • username: string

    Authentication username

  • password: string

    Authentication password

  • Optional clientId?: string

    Mqtt client ID. If not passed, it is auto-generated.

Generated using TypeDoc