npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-lookin

v1.0.3

Published

Для русского языка нажмите [сюда](https://bitbucket.org/look-in/node-red/src/master/README_ru.md).

Downloads

14

Readme

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

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
  • temp_16 | ... | 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.