max - Simple shell interface for the eQ-3 MAX! Cube LAN Gateway
max summary
max pair 42
max crosslink 42
max set 42 18.0
max dump
max loop switch '/usr/local/bin/set-gpio'
max loop switch '/usr/local/bin/%s-my-boiler' enable disable
max watch
For instructions and examples, please refer to the main documentation in the README.md
file of this distribution.
Usage: max [<loop|watch> [<interval>]] [<subcommand> <args> \; <subcommand> <args> \; ...)
When the first argument is loop
or watch
, the subcommands are repeated every interval seconds. If no interval is specified, it will default to 10 seconds.
loop
will add an empty line between the outputs, watch
will clear the screen before each subcommand.
When no subcommand is given, summary
is used.
Multiple subcommands can be specified by separating them by a ;
. Note that the ;
will probably need escaping or quoting (e.g. \;
or ';'
) and must be an argument by itself, i.e. separated by whitespace on the shell command line.
Configures which temperature the thermostat should display: either the setpoint
or the current
.
temperatures
may be abbreviated as temp
.
Configures the comfort ("day") and eco ("night") presets, and the limits for the on-device temperature control.
To keep the current value for any of these temperatures, provide 0
or ''
. When fewer than 4 numbers are given, the remaining ones default to keeping the current value.
For each of the devices in a room, commands the device to link with each of the other devices in that room.
Outputs a debug dump of the internal state after conncting
Initiates the pairing of a new device and configures the device's room id.
Unpair a specific device.
Sends a new temperature to the devices in a room, forcing the mode to manual. Specify all
instead of a numeric room ID to set the temperature everywhere.
Outputs a list of rooms with values from the room's devices.
Outputs a summary of device attributes, grouped by room.
Publishes device attributes to the given MQTT server. Currently does not support any authentication or TLS. The topic_prefix should not end in /
, as one is added by the program.
The messages are sent with the retain flag enabled, and consist of the numeric decimal value, a space, and the corresponding unit.
Determines whether there is a demand for heat, and runs the given shell command accordingly. command
is a sprintf-like format and should only contain a single %s
placeholder. Any other %
character should be escaped as %%
. If no %s
is given, it is added at the end so that it becomes a command line argument.
on
defaults to 1
, off
defaults to 0
.
Sets the name for a room (numeric id) or device (6 digit hexadecimal id) and writes the metadata back to the Cube.
Reboots the Cube.
Can be set to the hostname or IPv4 address of the Cube to disable automatic discovery.
Pick your favourite OSI approved license :)
http://www.opensource.org/licenses/alphabetical
Juerd Waalboer <#####@juerd.nl> <http://juerd.nl/>
Hey! The above document had some coding errors, which are explained below:
- Around line 24:
-
Unterminated C< ... > sequence