The OpenHydroponics project is releasing a new Command Line Interface (CLI), hypo. This tool allows users to interact with the OpenHydroponics network directly from the command line, enabling efficient management and control of connected devices.

Key Features

1. List Nodes

The hypo ls command provides a quick way to list all connected nodes in the network. It displays detailed information about each node, including its endpoints and their respective input or output types.

Example:

$ hypo ls
Node 01020304-3e00-4800-1650-4b5332393420:
 - EP0 Input: Temperature
 - EP1 Input: Humidity
 - EP2 Input: Input
 - EP3 Input: EC
 - EP4 Input: Temperature
 - EP5 Input: Temperature
 - EP6 Output: VariableOutput
 - EP7 Output: VariableOutput
 - EP8 Output: VariableOutput

2. Output Control

With the hypo output set command, users can set specific output endpoints to desired values. This is particularly useful for controlling actuators or other output devices in the hydroponics system.

Example, this sets the endpoint 7 to 100%:

$ hypo --node 01020304-3e00-4800-1650-4b5332393420 output set 7 100

3. Configuration Management

The hypo config set command allows users to configure node endpoints by setting specific parameters. This feature provides flexibility in customizing the behavior of connected devices.

Example, setting a calibration value to ec endpoint number 3:

$ hypo --node 01020304-3e00-4800-1650-4b5332393420 config set 3 high=1400

Get Started

To start using the hypo CLI, ensure you have the latest version of OpenHydroponics installed. Detailed documentation is available in the CLI documentation.