TEMBAKAN Webhook Monitor

Online queue server. App lokal harus polling server ini untuk menembakkan NodeMCU.
Server
Online
Uptime
-
Machines
-
Pending Jobs
-
Webhook Test
Key
Machine ID
Command
Machines
Recent Events
Dokumentasi Setting Cepat

1. Setting Server

WEBHOOK_KEY=secret123
DEFAULT_MACHINE=default
Set key di environment hosting/server. Contoh file ada di .env.example.

2. Setting App TEMBAKAN

Server URL : https://domain-kamu
Webhook Key: secret123
Machine ID : default
Centang Enable app polling (PC) hanya jika app lokal yang mengambil queue. Jika NodeMCU direct polling, jangan centang.

3. Setting NodeMCU via Serial

WIFI:nama_wifi,password
WEBHOOK:https://domain-kamu
KEY:secret123
MACHINE:default
W

4. Trigger Relay

GET  https://domain-kamu/fire?key=secret123&machineId=default&command=F
GET  https://domain-kamu/webhook?key=secret123&machineId=default&command=F
POST https://domain-kamu/webhook?key=secret123&machineId=default&command=F

5. Cek Queue/Poll

https://domain-kamu/poll?key=secret123&machineId=default
Catatan: NodeMCU tidak bisa memakai localhost. Untuk NodeMCU direct polling gunakan URL online atau IP LAN PC, misalnya http://192.168.1.10:3000.
Buka dokumentasi lengkap