Spanish Total.js
Español
Documentación Para agentes de IA
Contenido

The stream

What the Stream app does, how devices send data to it and how to read its status page.

.md Sitio web

Esta página aún no está traducida. Estás leyendo el original.

En esta página

The Stream app receives the data of your devices. It loads the installed drivers and the devices from the database, runs each driver and writes the values to the database, where Admin shows them.

Where devices send data

Each driver decides the address it listens on. The Read me of a driver usually tells you the address and the format, for example POST /demoweather/ with a JSON body. The full address is the public address of your stream followed by that path:

https://stream.example.com/demoweather/

If a driver has a token in its Settings, the device must send it, usually in a header. The Read me of the driver says which one.

Changes reach the stream within three minutes

The stream reads the drivers, the devices and their configuration from the database every three minutes. A new device, a changed driver, new driver options and a changed device configuration take effect at the next reload. Restarting the stream applies them at once.

The status page

Open the address of the stream in a browser to see its status page:

The status page of the stream

The first lines show the memory the stream uses and the number of messages it has processed. Then each line shows one running item: its id, its driver and its counters. The ids are the ids of your devices, as shown in the device detail, and the ids of the extensions. Two items are always there: database, which writes the values, and debugger, which writes the debug messages of the drivers.

When a device does not appear on the status page three minutes after you created it, check that it is not Temporarily disabled and that its driver is installed.

Hecho en Europa