waterValve top-level constant

NotificationType const waterValve

Implementation

const waterValve = NotificationType(
  /* 0x0F */ NOTIFICATION_TYPE_WATER_VALVE, 'Water Valve', //
  [
    NotificationValue(0, 'State idle' //
        // Notification value for the state variable going to idle. (V5)
        ),
    NotificationValue(1, 'Valve operation' //
        // Event Parameter 1 byte =
        // - 0x00: Off / Closed (valve does not let the water run through)
        // - 0x01: On / Open (valve lets the water run through)
        ),
    NotificationValue(2, 'Master valve operation' //
        // Event Parameter 1 byte =
        // - 0x00: Off / Closed (valve does not let the water run through)
        // - 0x01: On / Open (valve lets the water run through)
        ),
    NotificationValue(3, 'Valve short circuit'),
    NotificationValue(4, 'Master valve short circuit'),
    NotificationValue(5, 'Valve current alarm' //
        // Event Parameter 1 byte =
        // - 0x01: No data
        // - 0x02: Below low threshold
        // - 0x03: Above high threshold
        // - 0x04: Max
        ),
    NotificationValue(6, 'Master valve current alarm' //
        // Event Parameter 1 byte =
        // - 0x01: No data
        // - 0x02: Below low threshold
        // - 0x03: Above high threshold
        // - 0x04: Max
        ),
    /* NotificationValue(254, Unknown event/state) */
  ],
);