UNPKG

node-red-contrib-hubitat

Version:
263 lines (168 loc) 8.58 kB
# Changelog ## 1.10.1 (2025-03-20) - `command`: Fix visual validation issue when no deviceId/command ## 1.10.0 (2025-03-19) - `command`: Add *Ignore Input Overrides* configuration option - `device`: show timestamp on status - `config`: Allow to configure a delay between commands ## 1.9.0 (2023-08-08) - `command`: A new field `msg.responseStatus` has been added to the response ## 1.8.1 (2023-01-21) - `device`: fix uncaught exception when deviceId doesn't exist ## 1.8.0 (2022-02-14) - Reduce log verbosity to avoid to fill log file - `mode`: set name dynamically according the label. It will be updated when the node will be saved. - `config`: improve documentation when using authentication ## 1.7.3 (2021-04-26) - `device`: Handle error when deviceId is not in global cache ## 1.7.2 (2021-04-21) - `command`/`device`: fix empty device drop-down when `httpAdminRoot` option is used ## 1.7.1 (2021-04-21) - `command`/`device`: fix empty device drop-down when login is enabled ## 1.7.0 (2021-04-17) - `command`: return command and arguments requested - add flow example with event node ## 1.6.2 (2021-03-01) - `mode`: fix dropdown when mode is already selected ## 1.6.1 (2021-02-20) - `config`: fix device initialization process lock on error ## 1.6.0 (2021-02-13) - `config`: allow to change nodes color according their configuration - `command`: fix command error message ## 1.5.2 (2020-12-02) - `device`: set msg.topic to device label when name is empty - `command`: fix name placeholder when no device selected ## 1.5.1 (2020-11-28) - `command`: use same logic than device node for dynamic name. ## 1.5.0 (2020-11-28) - `device`: set name dynamically according the label. It will be updated when the node will be saved. - `config`: display `dataType` warning only once by device instead of at each event. ## 1.4.2 (2020-11-24) - `device`: fix traceback when receiving input or event before initialization ## 1.4.1 (2020-11-23) - `device`: fix empty status on initialization ## 1.4.0 (2020-11-22) - `device`: allow to override device with the device ID (e.i. msg.deviceId = 12) - `config`: support `httpNodeRoot` option for webhook configuration (e.g. Homme Assistant use `/endpoint`) - improve logs about unsupported dataType ## 1.3.3 (2020-10-25) - fix mode events not received when using websocket ## 1.3.2 (2020-10-14) - improve error message when a request fail ## 1.3.1 (2020-09-22) - `config`: allow to configure webhook path with uppercase - improve log: force to display node ID when node has name ## 1.3.0 (2020-08-26) - `command`: add status text about the current command/arguments configuration - `device`: use global cache shared by all device nodes and only initialize it once by device ID - `command`: throttling requests to prevent errors from Maker API - `command`: update `setLevel` template to add an example with new syntax: `{"hex":"15fe21"}` - fix websocket error status on partial deployment ## 1.2.1 (2020-07-23) - reword websocket documentation ## 1.2.0 (2020-07-04) - add new `hsm` node to get the current Hubitat Safety Monitor state (armnight, disarmed, ...) - add new `mode-setter` node to set Hubitat Safety Monitor state - fix websocket connection to take Hubitat server port into account - improve nodes documentation ## 1.1.1 (2020-06-27) - `config`: fix too fast reconnect on error by adding a delay between reconnect - `config`: fix issue when redeploying websocket - `config`: fix `event`/`location` status issue when using with websocket ## 1.1.0 (2020-06-27) - `config`: add option to use WebSocket instead WebHook - `command`: add missing documentation about the `deviceId` message property ## 1.0.1 (2020-05-31) - fix issue with rebuild cache when attributes are not string ## 1.0.0 (2020-05-08) - **WARNING**: Maker API token is now saved as credential by Node-RED and must be re-enter after the upgrade. It will be not exported anymore and will be saved in a special file `flow_cred.json` - improve nodes color and add new icons - rebuild cache on Hubitat systemStart event (enabled by default) - `command`: allow to override device with the device ID (e.i. msg.deviceId = 12) - support VECTOR3 dataType for range values (e.i. `[12.0,11.2]`) ## 0.0.32 (2020-04-23) - `command`: encode arguments to URL encoded format - `command`: improve placeholder for COLOR_MAP ## 0.0.31 (2020-04-21) - add new `event` node to allow to receive all events - add new `request` node to allow to make a generic request to hubitat - `device`: rename the `Undefined` attribute to `All` and allow to input a message without attribute to output all atttributes - `device`: bind extra event properties to the output messages (unit, descriptionText, type, etc..) - `device`: fix status display for VECTOR3 dataType - `config`: improve error message when configuring webhook - fix a random behavior that can empty dropdowns for all dynamic listing ## 0.0.30 (2020-04-07) - `mode-setter` node: allow to override mode with the mode name (e.i. msg.mode = 'Away') - `device` node: fix behavior that allow other nodes to change its internal properties - add support for `DATE` dataType ## 0.0.29 (2020-03-31) - fix regression from 0.0.27 on partial node deployment - increase maximum listener on same event to 500 - `device`: fix status when attribute is `VECTOR3` dataType ## 0.0.28 (2020-03-29) - add new `mode-setter` node to set mode - add support for `VECTOR3` and `JSON_OBJECT` dataType - fix disabled input argument when device has duplicate commands available (with and without argument) ## 0.0.27 (2020-03-25) - add new `location` node to receive global location events - use different status icon shapes when `sendEvent` is enabled or not - refactor event system to use `events` library from nodejs ## 0.0.26 (2020-03-16) - `command` node: fix regression that ignore arguments from message ## 0.0.25 (2020-03-12) - Fix randomly initialization errors when requesting too many devices simultaneously - The simultaneous initialization requests to Hubitat is now set to 4 - `device` node: on input message or event, if node is uninitialized, then try to initialize it - `mode` node: on input message, if node is uninitialized, then try to initialize it - `command` node: reset `arguments` dropdown when server is unavailable - `device` node: reset `attributes` dropdown when server is unavailable - `command` node: `command` field is now optional - improve error handling when hub returns 500 ## 0.0.24 (2020-03-07) - `command` node: fix override a command without arguments when node default has arguments - `command` node: change node status when server return error ## 0.0.23 (2020-03-06) - add linter (eslint) - use Node-RED logging system - If you want to have debug output, just set Node-RED log level to debug (`settings.js`) - `config` node: Node-RED server field has now a default value (not only a placeholder) - `config` node: readd (and fix) an helper that verify if webhookPath is already configured in another node - sorting device is now case insensitive ## 0.0.22 (2020-03-02) - `config` node: fix unregister webhook endpoint ## 0.0.21 (2020-03-01) - `command` node: fix wrong condition from 0.0.19 - `config` node: remove an helper that verify if webhookPath is already configured in another node (added in 0.0.19) ## 0.0.20 (2020-03-01) - fix dependency issue ## 0.0.19 (2020-03-01) - `config` node: support multi hub - `config` node: allow to customize the webhook path. This allow to: - distinguish endpoint when using many hubs - *secure* the path to avoid guessing attacks - `config` node: small validation on `Node-RED Server` field to avoid typo with white space - `device` node: fix bug that remove the status when requesting device attribute - `command` node: fix bug when sending integer 0 as command arguments ## 0.0.18 (2020-02-27) - `device` node: add attribute configuration - `device` node: add node status when an `attribute` is selected - `device` node: add payload property: `value` - `device` node: deprecate payload property: `currentValue` - add CHANGELOG.md to follow changes ## 0.0.17 (2020-02-24) - new icons - `config` node: add webhookd section to help configuration - fix url issue that can prevent user to config their nodes ## 0.0.16 (2020-02-20) - populate name with the device label ## 0.0.15 (2020-02-19) - add `mode` node to get the current mode state (day, night, ...) - improve documentation ## 0.0.14 (2020-02-17) - `command` node: allow to override command/arguments from message properties