@maddytp/node-red-dashboard-2-ui-reef 1.0.0

Set of UI nodes for aquarium automation based on @flowfuse/node-red-dashboard

npm install @maddytp/node-red-dashboard-2-ui-reef

node-red-dashboard-2-ui-reef

platform

These nodes were designed to facilitate the creation of a Node-RED aquarium or hydroponics controller. @flowfuse/node-red-dashboard is required and must be installed first.

image

Install

Either use the Manage Palette option in the Node-RED Editor menu, or run the following command in your Node-RED user directory - typically ~/.node-red

npm install @maddytp/node-red-dashboard-2-ui-reef

Feed

Screenshot 2024-11-30 at 15 02 45 Screenshot 2024-11-30 at 15 02 45

Feed node is intended to trigger feed or maintenance cycles. The On Start value is sent when first initialized with the On Cancel value sent at the end of countdown or when cancelled.

Probe

Screenshot 2024-11-30 at 15 02 45

Probe accepts two types of data, live data or stored data. Live data can be fed via msg.payload or stored data via an array of objects with an x and y property:

Live data:

msg = { payload: 8.15 }

Stored data:

msg = {
    payload: [
        { x: 1520527095000, y: 8.15 },
        { x: 1520934095000, y: 8.17 }
    ]
}

When providing data for the time scale, this node uses timestamps defined as milliseconds since epoch (midnight January 1, 1970, UTC) internally. However, it will also accept most datetime formats.

Value on the right will show most recent datapoint whether that be live data or stored data. If a symbol is specified it will be appended to this value only. Time component will be validated against the configured timeframe and older values dropped. Additionally, there are options to round values to a decimal place and/or map value(s) to a range.

Output

Screenshot 2024-11-30 at 15 02 45

Output node combines elements of the core function and dashboard button group nodes to allow static or dynamic output. Static options send value on selection whereas the function option will modify msg inputs in the same way the core function node operates.

If msg.display property is set in function the value will be sent to the UI to be displayed in the upper-right hand of widget. Switch state is stored in node context so it can be restored on restart if Node-RED settings specify "localfilesystem" as store. Color option allows specific colors to be set for different switch positions.

Input

Screenshot 2024-11-30 at 15 02 45

Input node is a modification of dashboard button-group node which sets switch based on input value. Color option allows specific colors to be set for different switch positions.

Important Note

These nodes would not be possible without the following projects:

Node Info

Version: 1.0.0
Updated 5 months, 1 week ago
License: Apache-2.0
Rating: not yet rated

Categories

Actions

Rate:

Downloads

13 in the last week

Nodes

  • ui-probe
  • ui-input
  • ui-output
  • ui-feed

Keywords

  • node-red
  • node-red-dashboard-2
  • node-red-contrib-ui-reef
  • reef
  • saltwater
  • hydro
  • aquarium

Maintainers