homeHealth top-level constant

NotificationType const homeHealth

Implementation

const homeHealth = NotificationType(
  /* 0x0D */ NOTIFICATION_TYPE_HOME_HEALTH, 'Home Health', //
  [
    NotificationValue(0, 'State idle' //
        // Notification value for the state variable going to idle. (V5)
        ),
    NotificationValue(1, 'Leaving bed'),
    NotificationValue(2, 'Sitting on bed'),
    NotificationValue(3, 'Lying on bed'),
    NotificationValue(4, 'Posture changed'),
    NotificationValue(5, 'Sitting on bed edge'),
    NotificationValue(6, 'Volatile Organic Compound level' //
        // Event Parameter 1 byte : Pollution level =
        // - 0x01: Clean
        // - 0x02: Slightly polluted
        // - 0x03: Moderately polluted
        // - 0x04: Highly polluted
        ),
    NotificationValue(7, 'Sleep apnea detected' //
        // Event Parameter 1 byte : breath level =
        // - 0x01: Low breath
        // - 0x02: No breath at all
        ),
    NotificationValue(8, 'Sleep stage 0 detected (Dreaming/REM)' //
        // The sensors detects that the person is awake when this state variable returns to idle.
        ),
    NotificationValue(9, 'Sleep stage 1 detected (Light sleep, non-REM 1)' //
        // The sensors detects that the person is awake when this state variable returns to idle.
        ),
    NotificationValue(10, 'Sleep stage 2 detected (Medium sleep, non-REM 2)' //
        // The sensors detects that the person is awake when this state variable returns to idle.
        ),
    NotificationValue(11, 'Sleep stage 3 detected (Deep sleep, non-REM 3)' //
        // The sensors detects that the person is awake when this state variable returns to idle.
        ),
    NotificationValue(12, 'Fall detected ' //
        // This event is used to indicate that a person fall has been detected and medical help may be needed
        ),
    /* NotificationValue(254, Unknown event/state) */
  ],
);