open-index/open-npm huggingface dataset:
npm package: @gemini86/node-red-ds18b20
Description: Node-RED node for ds18b20 sensors connected on GPIO (fork of iiot2k, which was removed from NPM)
Author: gemini86
Latest version: 2.0.2

# @gemini86/node-red-ds18b20

Node-RED node for ds18b20 sensors connected on gpio (this is a fork of @iiot2k/node-red-ds18b20, which has disappeared entirely)

[![platform](https://img.shields.io/badge/platform-Node--RED-red)](https://nodered.org)
[![platform](https://img.shields.io/badge/platform-Raspberry--Pi-ff69b4)](https://www.raspberrypi.com/)

## Installation
Install with Node-Red Palette Manager or npm command:
```
cd ~/.node-red
npm install @gemini86/node-red-ds18b20
```

[View on npm](https://www.npmjs.com/package/@gemini86/node-red-ds18b20)<br>
[View on Node-Red](https://flows.nodered.org/node/@gemini86/node-red-ds18b20)<br>
[View used library](https://www.npmjs.com/package/@gemini86/gpiox)

Report any issues [here](https://github.com/gemini86/node-red-ds18b20/issues).

## Detail
>Node **ds18b20** reads temperatures of ds18b20 sensors

- From Linux 1-wire system independent implementation
- Selecting of resolution
- Use of any gpio pin
- Fast reading of ds18b20 sensors

This node works on Raspberry Pi with 32bit or 64bit OS.<br>
Works also on Raspberry Pi 5.<br>
npm package: @gemini86/node-red-sendgrid
Description: Sending e-mail node using SendGrid service
Author: gemini86
Latest version: 1.2.0

# @gemini86/node-red-sendgrid

Send e-mails using the SendGrid service from Node-RED. This node provides a reliable alternative to the default e-mail node, especially when using cloud or remote deployments.

## Inputs

- **msg.from** (`string`): Sender e-mail address
- **msg.to** (`string`): Recipient e-mail address
- **msg.cc** (`string`, optional): Carbon copy recipient(s)
- **msg.bcc** (`string`, optional): Blind carbon copy recipient(s)
- **msg.topic** or **msg.subject** (`string`): E-mail subject
- **msg.payload** (`string`): E-mail body (plain text or HTML)
- **msg.attachments** (`Buffer | Array | Object`): One or more attachments. Use a Buffer for a single attachment, or an array of Buffers/objects for multiple. Objects must match SendGrid's attachment format. Filenames are auto-generated unless provided.
- **msg.templateId** (`string`, optional): SendGrid dynamic template ID
- **msg.templateData** (`object` or `string`, optional): Data for dynamic template

## Details

To use this node:

1. Install via the Node-RED palette manager (`@gemini86/node-red-sendgrid`).
2. Get an API key from [SendGrid](https://sendgrid.com/).
3. Paste the API key into the node's configuration.
4. Configure your flow to set the required message properties.

### Attachments

To add attachments, set `msg.attachments`:

- For a single attachment, use a Buffer.
- For multiple attachments, use an array of Buffers or objects in SendGrid's format.
- If using Buffers, filenames will be auto-generated unless you provide `att.filename` or `msg.filenames` (array of names in the same order as the Buffers).
- `msg.payload` is always used as the e-mail body (string or HTML), never as an attachment.

**SendGrid attachment object example:**

```js
{
  content: "<base64-encoded string>",
  filename: "document.pdf",
  type: "application/pdf", // optional
  disposition: "attachment", // optional
  content_id: "unique-id" // optional
}
```

### Skip Bad Attachments

If enabled, attachments that cannot be normalized (invalid or unsupported) will be skipped and a warning will be logged instead of failing the node. If disabled, the node will error on the first bad attachment.

**Note:** Legacy usage of `msg.payload` as a Buffer for attachments is no longer supported. Always use `msg.attachments` for attachments.

## References

- [SendGrid documentation](https://sendgrid.com/docs/)
- [Node-RED documentation](https://nodered.org/docs/)
- [GitHub repository](https://github.com/gemini86/node-red-sendgrid)