open-index/open-npm huggingface dataset:
npm package: @machinechat/node-red-node-machinechat
Description: Machinechat JEDI connector enables you to easily add enterprise-grade data dashboards data storage, rules and multi-user web-based interface to any  Node-RED project. Machinechat JEDI runs locally on Microsoft Windows, Raspberry Pi OS, Linux and Apple mac
Author: machinechat.io
Latest version: 0.2.1

## Machinechat JEDI connector for Node-RED

Machinechat JEDI connector enables you to easily add enterprise-grade data dashboards, data storage, rules and multi-user web-based interface to any Node-RED project. Machinechat JEDI runs locally on Microsoft Windows, Raspberry Pi OS, Linux and Apple macOS.

### Manual install with npm

```sh
cd ~/.node-red
npm install @machinechat/node-red-node-machinechat
```

![Screenshot](/doc/example-screenshot.jpg)

**Server Address:** is the hostname or IP address of the machine running Machinechat JEDI software.

**Port:** is the port address that is used by Machinechat JEDI to listen for incoming data. Default is 8100.

**Target ID:** is the device ID for the data that is sent to Machinechat JEDI server. You can use a template to extract the device ID from the input data to this node. You can also specify a static device ID if the input data does not contain device ID.

**Timestamp:** is the timestamp associated with the input data to this node. You can use a template to extract the timestamp from the input data to this node. If the timestamp field is empty, Machinechat JEDI will use the arrival time of the data as the timestamp.

### **Input Data Decoding and Extraction (with example)**

```javascript
{
  "data":{
    "datetime":"2022-01-22T07:30:00Z",
    "temperature":{"value":30.54},
    "pressure":{"value":942.99}
  }
}
``` 

### Template:

is the template to extract specific data points from the input data to this node. The example illustrates extracting three values from input data to this node and assigning the data to "temperature", "pressure" and "weather\_text". These metrics will be available in Machinechat JEDI for creating dashboards, data storage and rules. If the input data to this node is in string format, the following format with double quotes must be used, for e.g: `"weather_location": " {{payload.data.name}} "`

```javascript
{
  "temperature": {{payload.data.temperature.value}},
  "pressure": {{payload.data.pressure.value}}
  "weather_location": " {{payload.data.name}} "
}
```
npm package: @machinechat/node-red-node-machinechat-bridge
Description: Machinechat Bridge forwards Node-RED messages to Machinechat data visualization, monitoring, and analytics applications. Effortlessly upgrade Node-RED flows with web-based user interface, responsive custom dashboards, timeseries data storage, role-based u
Author: machinechat.io
Latest version: 1.1.6

## Machinechat Bridge for Node-RED

Machinechat Bridge forwards Node-RED messages to Machinechat data visualization, monitoring, and analytics applications. Effortlessly upgrade Node-RED flows with web-based user interface, responsive custom dashboards, timeseries data storage, role-based user management, and more.

### Manual install with npm

```sh
cd ~/.node-red
npm install @machinechat/node-red-node-machinechat-bridge
```

![Screenshot](/doc/example-screenshot.png)

**Host Address:** is the hostname or IP address of the machine running Machinechat's software.

**Port:** is the port address that is used by Machinechat's software to listen for incoming data. Default is 8100.

**Unique Identifier:** is a number or a string that you choose and will be used to configure how Machinechat’s software will process the Node-RED messages received from this node instance. Messages from nodes with the same identifier will be processed in the same way.

**Copy Machinechat Data to Payload:** check this box to copy Machinechat data from codec to msg.payload.

[Machinechat Bridge Docs](https://docs.machinechat.io/integrations/node-red/machinechat-bridge-for-node-red/machinechat-bridge-for-node-red/)

[Machinechat JEDI Node-RED Decoder Docs](https://docs.machinechat.io/machinechat-jedi/data-collectors/custom-decoding-for-node-red/custom-decoding-for-node-red/)

[Machinechat JEDI](https://www.machinechat.io/jedi)
npm package: @machinelabs/cli
Description: CLI for MachineLabs
Latest version: 0.27.1

## MachineLabs  CLI

This is the CLI for the MachineLabs platform. This project is currently under rapid development. More commands will be added and existing commands are likely to change as we flesh things out.

### Installation

To install the CLI globally on your system either use `yarn` or `npm` as follows:

```
yarn global add @machinelabs/cli

or

npm install -g @machinelabs/cli
```

### Usage

Here's a list of currently available commands. You can alway run `ml --help` to retrieve this list.


```
Usage: ml [options] [command]


  Options:

    -V, --version  output the version number
    -h, --help     output usage information


  Commands:

    login            Login to MachineLabs
    logout           Log the CLI out from MachineLabs
    push [options]   Push current directory as a lab 
    pull [options]   Pull existing lab to your local file system
    init [options]   Initialize current directory as lab
```




## Notes for Developers of the CLI

### How to get this running locally

1. Setup your firebase cloud functions with a service account

In case you need to create a fresh service account file go to:

console.firebase.google.com > Project Settings > Service Accouts > Firebase Admin SDK

Run `firebase use <my-fb>` followed by `firebase functions:config:set fb_service_account="$(cat service-account.json)"


Where `service-account.json` looks like this:

```
{
  "private_key": "YOUR-PRIVATE-KEY",
  "client_email": "YOUR-CLIENT-EMAIL"
}
```

You'll also have to redeploy firebase for that to take into effect

2. Add `environment.personal.ts` next to `environment.staging.ts`

3. Make sure that the `mlDomain` property is set to `http://localhost:4200`

4. Build the project with `yarn run build:personal`

5. In order to make the `ml` command globally available, run `yarn global add /absolute/path/to/cli`. Here it's important that the path is absolute because a relative path like `./` doesn't work.
npm package: @machinemetrics/mmedge-cli
Description: A CLI to run various diagnostics tools related to MachineMetrics Edge devices and connectivity
Latest version: 2.4.671

# mmedge-cli
A CLI to run various diagnostics tools related to MachineMetrics Edge devices and connectivity.

```
Usage: mmedge [options] [command]

Options:
  -v, --version       output the current version
  -h, --help          display help for command

Commands:
  overview [options]  returns results from a series of network and system diagnostics commands
  diagnose [options]  performs a series of tests on a target IP to determine issues relating to machine connectivity
  ping [options]      pings the target IP address
  mac [options]       gets the mac address and vendor information for a target IP address
  arp                 gets the full arp table based on ip neigh
  scan [options]      scans the network for devices, reports back their mac address and vendor
  cpu                 outputs information about the systems CPU
  networks [options]  reports detailed information about each network interface
  storage             outputs information about total and used file system space
  usb                 reports information about devices connected via USB
  connect [options]   attempts to telnet to a target IP over a known set of ports
  speedtest           runs a speed test against speedtest.net
  wifi [options]      lists all nearby SSIDs along with their channel and signal
  mem                 outputs information about system memory
  help [command]      display help for command
  ```
npm package: @machinerd/js-module
Description: - install
Author: KOMACHINE
Latest version: 0.3.1

# JS-Module

- install

```bash
npm install @machinerd/js-module
# or
yarn add @machinerd/js-module
# or
pnpm add @machinerd/js-module
```

- api client

```js
import apiClient from "@machinerd/js-module";
```

- function

```js
import { sleep } from "@machinerd/js-module/util";
```

- components

```js
import { Button } from "@machinerd/js-module/ui";
import "@machinerd/js-module/styles/index.css";
```

- components (client-side only)

```js
import { Carousel } from "@machinerd/js-module/ui/client";
import "@machinerd/js-module/styles/index.css";
```

- hooks

```js
import { useOutsideClick } from "@machinerd/js-module/hooks";
```