Linking WhatsApp uses the same multidevice protocol your phone uses when you add a laptop or tablet. Piumy stores the resulting session credentials in a local SQLite file (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chamilonster/Piumy/llms.txt
Use this file to discover all available pages before exploring further.
PIMYWA_SESSION_DB). Use a dedicated number — do not route your personal number through the switchboard. Once linked, the board receives and stores all inbound messages silently; your AI agent reads and replies over MCP from a separate machine.
Enable the WhatsApp gateway
By defaultPIMYWA_GATEWAY is none, which means the core starts without any WhatsApp connection. Set it to whatsmeow in your env file:
Steps to link
Open the dashboard
Navigate to
http://piumy.local in your browser (or use the Pi’s IP address on port 80 if mDNS is not available on your network).Start the link flow
Find the WhatsApp section and click Link. The core initiates a new multidevice session.
Scan the QR code
A QR code appears in the dashboard. On your phone, go to WhatsApp → Settings → Linked Devices → Link a device and scan it.
Confirm the connection
Once the scan succeeds, the dashboard status changes to connected and the e-paper face shows the
idle mood.From the CLI
You can also start the gateway directly from the terminal without the dashboard. Run the core with the gateway flag set:qr) if the display adapter is active.
QR timeout
The QR code expires afterPIMYWA_QR_TIMEOUT (default 180 seconds). If you don’t scan in time, stop the core, then restart it to generate a fresh QR:
Disconnecting
To remove the device from your WhatsApp account, use the Disconnect button in the dashboard’s WhatsApp section. Alternatively, call the REST API directly:Device name
PIMYWA_WA_DEVICE (default "Piumy") controls the label shown in WhatsApp Settings → Linked Devices on your phone. You can set it to something less conspicuous: