njh / node-heatmiser-modbus

node.js library for controlling Heatmiser Modbus Thermostats

Home Page:https://www.npmjs.com/package/heatmiser-modbus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-modbus-heatmiser

node.js library for controlling Heatmiser Modbus Thermostats

Command Line Tool

Usage: hmmb [options] [command]

Tool for controlling Heatmiser Modbus Thermostats

Options:
  -V, --version                 output the version number
  -d, --device <port>           The serial port device to connect to (eg /dev/ttyUSB0) (env: HMMB_DEVICE)
  -i, --id <num>                The Communications ID of the device to control (1-32) (default: 1, env: HMMB_ID)
  -h, --help                    display help for command

Commands:
  get-status                    Display thermostat status (including current temperatures)
  turn-on                       Turn on the thermostat
  turn-off                      Turn off the thermostat
  set-temperature <temp>        Set the target room temperature
  set-floor-limit <temp>        Set the temperature limit for the floor sensor
  set-hold <temp> <hours:mins>  Set a different temperature for a desired duration
  set-units <units>             Set the temperature units used by the thermostat
  set-time                      Sync the system clock to the thermostat
  set-keylock <pin>             Set a PIN to lock the keypad with
  factory-reset                 Restore thermostat to the default factory settings
  help [command]                display help for command

About

node.js library for controlling Heatmiser Modbus Thermostats

https://www.npmjs.com/package/heatmiser-modbus

License:MIT License


Languages

Language:TypeScript 67.7%Language:JavaScript 32.3%