Skip to content

Ioto Services

Ioto can be compiled to include or exclude support for various services.

The optional services are:

NameDescription
databaseLocal embedded Database
mqttMQTT client protocol
urlUrl Http Client
webHTTP Web server

If a component is compiled, you can also selectively enable or disable support at runtime via the services property in the ioto.json5 file.

When Ioto starts, it will enable services as defined in the services property collection.

js
{
    services: {
        database: true,
        mqtt: true,
        url: true,
        web: true,
    }
}

Startup Order

When Ioto starts, it will configure services (if enabled) in a specific order. If services are not enabled during compilation or are disabled in the ioto.json5 file, the step will be skipped.

The order is:

  1. Open the database.
  2. Start the embedded web server.
  3. Initialize MQTT communications (if configured).

Firewall Ports

If the embedded web server is enabled, Ioto will listen on the interfaces and ports specified in the listens property in the web.json5 config file.