Home

Awesome

<div align="center"> <img src="https://raw.githubusercontent.com/open-wa/node-red-contrib-wa-automate/master/assets/hero.png?token=ABNBLTOYLTDRFNR4R5DBB2TAX5XXS"/>

@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.

</div>

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