Scaleway DocumentationIoTIoT HubHow to
Connect to the default Websocket network

Update content

How to connect to the default Websocket network

Reviewed on 02 June 2021Published on 01 September 2019

A default Websocket network is automatically created with each Hub. Similarly to the default network, it cannot be deleted.

Requirements:
  1. Add a Hub device if you haven’t already done so.
    To keep this tutorial simple, choose to Allow Insercure connections. Insecure connections allow connections to the hub without encryption layer.

  2. Configure the physical device (or client) to connect through the network, using the following parameters:

    • Host: The network endpoint.
    • Port: Use 80 for plaintext or 443 for TLS.
    • MQTT Username: The Device ID from the device you created earlier.
    • If your client asks for a password, just pass in an empty string.
    Important:

    Mutual TLS authentication is not yet available on this network, which means that devices that connect over this network must Allow Insecure connections.

  3. Connect and exchange messages.

See Also