1.0.3 • Published 2 years ago

node-red-contrib-lookin v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Для русского языка нажмите сюда.

Node-RED integration for LOOKin Remote

Installation

  1. Download and install the npm package globally: npm i -g node-red-contrib-lookin
  2. In the package.json file located in the .node-red folder (typically it is located in the user's directory) should appear:
"dependencies": {
   "@types/node-red": "^1.2.0",
   "node-red-contrib-lookin": "file:../../../node-red-contrib-LOOKin",
}
  1. Start Node-RED. In the left menu now you should be able to find the LOOKin tab.

Using the plugin

  1. In any place of the Node-RED workspace, you need to add the Master node to establish communication with the LOOKin Remote.
  2. To add your saved remotes, place a node called Node in the Node-RED workspace for any type of device, except for the AC unit - there is a another Air Conditioner node for it.
  3. If the your device is LOOKin Remote2, you can also use the Meteo Sensors node to get information from temp and relative humidity sensors.
  4. For nodes like Node and Air Conditioner, you must specify the UUID of the remote control. It can be find in the remote settings in the LOOKin app. The name can be set by your wish.
  5. To send commands to Remote please use the standard Inject node from the Common tab in the left menu. msg.payload field used to enter command to be sent. To get information from meteo sensor, please use the standard Debug node.

List of available commands for all remotes except air conditioner (Node)

  • power | power_on | power_off - power management
  • mode | mode_1 | mode_2 | mode_3 | mode_4 - TV and media device operating modes
  • mute | vol_up | vol_down - volume control
  • ch_up | ch_down - switch TV channels
  • swing | swing_1 | swing_2 - fan swing modes
  • speed | speedup | speed_down - fan speed control
  • select | menu | arrow_up | arrow_down | arrow_left | arrow_right - D-PAD

List of available commands for the AC unit:

  • off | auto | cool | heat | dry | fan_only - AC mode
  • fan_auto | fan_low | fan_mid | fan_high - fan mode
  • temp16 | ... | temp_30 - operation temperature, the value after temp must be in the range 16-30 (in degrees Celsius)
  • stop | move - vertical blind operation mode

After setting up the necessary relationships between your nodes, click Deploy in the upper right corner of the Node-RED window After a while, the green "connected" indicator should light up under the Master node. This means that the connection with the LOOKin Remote control has been established.

Node statuses will also be displayed showing the current state of remotes saved in LOOKin that you have added to the Node-RED workspace.

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago