Health

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

Message representing health

Table 1. Available fields in blickfeld.secure.data.Health
Field Type Default Unit

state

base.data.Health.State

-

-

High-level state of module

state_reason

string

-

-

Reason for given state. Only set if state is not STATE_OK.

user_management

UserManagement

-

-

State of User-Management feature

error_flags

ErrorFlags

-

-

Error flags which name the conditions behind the state

User Management

State message for User-Management feature

Table 2. Available fields in blickfeld.secure.data.Health.UserManagement
Field Type Default Unit

needs_activation

bool

-

-

Set to true if user management needs manual activation. This is only set when a device can migrate to user management from a previous state.

state_factory

bool

-

-

set to true if only default account with the default name exist.

needs_setup

bool

-

-

Set to true while the device has no admin account and waits to be set up with the Setup service.

Error Flags

Error flags, each naming one condition that makes the module not OK

Table 3. Available fields in blickfeld.secure.data.Health.ErrorFlags
Field Type Default Unit

user_management_not_activated

bool

-

-

User management is not activated: requests without a login are granted more than public access, so the device is unprotected. Causes STATE_WARNING. Log in once, or lock the access with AccessControl.Lock.