Various nodes to assist in setting up automation using Node-RED communicating with the open-wa EASY API.
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.
- Node.js v14.15.0 or newer
- NPM v7.12.0 or newer
- Node-RED v1.0 or newer
- wa-automate v4.1.0 or newer
# 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.
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
This project is build upon the alexk111/node-red-node-typescript-starter template by @alexk111