Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.57 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.57 KB

@open-wa/node-red-contrib-wa-automate

Various nodes to assist in setting up automation using Node-RED communicating with the open-wa EASY API.

Getting Started

Prerequisites

Have Node-RED installed and working, if you need to install Node-RED see here. Also ensure you have an authenticated and up-to-date EASY API session running with the --socket flag.

Remote Session Setup

# Install open-wa
> npm i @open-wa/wa-automate@latest

# Use the CLI to launch an instance of the EASY API, make sure to add --socket flag

> npx @open-wa/wa-automate --socket -p 8080

# If this is the first time you are running the EASY API, you will need to scan the qr code.

Installation

PUPPETEER_SKIP_DOWNLOAD=true npm install @open-wa/node-red-contrib-wa-automate

or 

PUPPETEER_SKIP_DOWNLOAD=true yarn add @open-wa/node-red-contrib-wa-automate

Acknowledgements

This project is build upon the alexk111/node-red-node-typescript-starter template by @alexk111