open-index/open-npm huggingface dataset:
npm package: @kazuhitoyokoi/node-red-contrib-patlite
Description: Node-RED node for patlite
Latest version: 0.0.5

@kazuhitoyokoi/node-red-contrib-patlite
=====================

A node to control Patlite NHV series

## Install

Run the following command in your Node-RED user directory - typically `~/.node-red`

        npm install @kazuhitoyokoi/node-red-contrib-patlite

After setting the IP address and target (light color or buzzer) in the node property, you can control this node with the `msg.payload` value.

### Input
- `msg.payload` _boolean_

  If the received `msg.payload` is `true`, the target light will be on.
  When `msg.payload` has `false` value, the target light is turned off.

- `msg.topic` _number_

  You can set the light or buzzer mode in the `msg.topic`.
  The range of the value is between `1` and `5`.

### Demonstrations
- Simple flow demonstration

  ![](demo.gif)

- Dashboard integration

  ![](dashboard.gif)

### Settings
To allow this node to access the HTTP server on your Patlite device, you need to enable the HTTP Command Control in advance.

![](settings.png)
npm package: @kazuhitoyokoi/node-red-contrib-plugin-codecompletion
Description: Code completion plugin for Node-RED's function nodes
Author: kazuhitoyokoi
Latest version: 0.1.1

# node-red-contrib-plugin-codecompletion

This plugin enables the code completion in the code editor of function nodes.
Local LLM, [Granite Code Model](https://github.com/ibm-granite/granite-code-models) is used in the backend to generate JavaScript code.
While typing the code manually, the editor will automatically suggest the generated code based on the existing code.
The user can accept and insert the suggested code by simply pressing the Tab key.

<img width="1440" alt="fizzbuzz" src="https://github.com/user-attachments/assets/39ca71b2-082c-4b8a-bc42-6eec5920d0d2">

## Setting up
Since this plugin uses [Ollama](https://github.com/ollama/ollama), users need to install it in advance.

- For Windows and macOS

  To set up the Ollama environment, you can use the installer provided on the following website.

  https://ollama.com/download

- For Linux

  Run the following command in the terminal.
  ```
  curl -fsSL https://ollama.com/install.sh | sh
  ollama serve
  ```

## Demonstration
Generating FizzBuzz code

https://github.com/user-attachments/assets/4d13a1a2-1167-479d-9dd0-109c89e29158