Skip to content

Platform for controll SmartBin, IoT with blynk server

License

Notifications You must be signed in to change notification settings

Stalker-moment/Whatsapp-Bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whatsapp-Bot-IoT

Chatbot Whatsapp can control IoT via API/endpoint

Installation

Connect To Project

other integration

Windows

Cloning this repo

> git clone https://github.com/Stalker-moment/Whatsapp-Bin/
> cd Whatsapp-Bot-IoT

Install the package

> npm i

Edit config file

Edit the required value in ./lib/database/setting.json. You can get the token blynk at blynk.cloud.

{
    "limitCount":"5000",
    "memberLimit":"5",
    "groupLimit":25,
    "blynk_token": "VqR5Pyeqoxxxxxxxxxxxxxx", 
    "blynk_server": "sgp1.blynk.cloud",
    "on_value": "1",
    "off_value": "0",
    "mtc":false,
    "restartState":false,
    "restartId":"undefined",
    "banChats":false,
    "Rest":true
}

Run the bot

> npm start

Stop the bot

> ctrl + c

Troubleshooting

Make sure all the necessary dependencies are installed: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

Fix Stuck on linux, install google chrome stable:

> wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
> sudo apt install ./google-chrome-stable_current_amd64.deb

Thanks To

About

Platform for controll SmartBin, IoT with blynk server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published