Status

This page documents an earlier firmware release. Read this page for the latest release

Error Flags

Conditions that make a push not OK

Table 1. Available fields in blickfeld.push.data.ErrorFlags
Field Type Default Unit

broker_connection_failed

bool

-

-

The connection to the MQTT broker failed or was lost. Causes STATE_WARNING; the push reconnects every 5 seconds. Check the server address, port and credentials of the destination and that the broker is reachable from the device.

Status

state of a push

Table 2. Available fields in blickfeld.push.data.Status
Field Type Default Unit

sent_messages

uint32

-

-

message statistics [default = 0]

connection

Connection

-

-

flag to indicate if it is working or not

data_rate

float

-

B/s

Average data rate

The resulting value is averaged over the last 5 messages sent, peak or current values might be different.

last_message

google.protobuf.Timestamp

-

-

Timestamp when last message was sent

state

base.data.Health.State

-

-

State of push connection.

state_reason

string

-

-

Reason for the given state. Needs to be set if state is not STATE_OK.

error_flags

ErrorFlags

-

-

Conditions of this push that cause its state

Connection

Connection status of the push

Table 3. Available values for blickfeld.push.data.Status.Connection enum
Name Value Description

CONNECTION_UNSPECIFIED

0

unspecified

CONNECTION_DISABLED

1

push configuration is disabled

CONNECTION_DISCONNECTED

2

disconnected from destination

CONNECTION_CONNECTING

3

connecting to destination

CONNECTION_CONNECTED

4

connected to destination

CONNECTION_PUSHING

5

connected to input and destination