node-red-contrib-pipup 1.0.0
Node-RED: PiPup notifications on Android TV (RTSP, buttons with HTTP or bash)
node-red-contrib-pipup
Node-RED node for PiPup notifications on Android TV.
Features
- Title / message
- Optional RTSP / video stream
- Duration, width, popup position (0–4)
- Up to 3 optional remote buttons
- Button actions: bash (runs on Node-RED host) or HTTP
msg/msg.payloadoverrides node config (msgwins)- Callback from TV only on real button press (
event: button); ignoresshown/dismissed
Install
From Node-RED palette manager, or:
cd ~/.node-red
npm install node-red-contrib-pipup
Restart Node-RED afterwards.
Config
| Field | Description |
|---|---|
| IP TV / port | PiPup HTTP API (default port 7979) |
| IP RPi / port | Node-RED host reachable from the TV (default 1880) — not localhost |
| Title, message, RTSP, duration, width, position | Popup content |
| Buttons | Optional; each has label + bash command or HTTP URL |
Callback URL used by PiPup:
http://<IP-RPi>:1880/pipup/callback/<token>
Outputs
- Result of
/notify - Result of button action (after OK on TV remote)
Example msg
msg.tvHost = "192.168.88.36";
msg.callbackHost = "192.168.88.105";
msg.title = "WEJSCIE";
msg.rtsp = "rtsp://user:pass@cam/stream";
msg.duration = 20;
msg.buttons = [{
label: "Otworz",
actionType: "bash",
action: 'wget -q -O - "http://relay:[email protected]/fcgi/OpenDoor?action=OpenDoor&DoorNum=1"'
}];
return msg;
Requirements
- PiPup on TV with
buttons+callbacksupport - Node-RED host reachable from the TV on port 1880
License
MIT