node-red-contrib-pipup 1.0.0

Node-RED: PiPup notifications on Android TV (RTSP, buttons with HTTP or bash)

npm install node-red-contrib-pipup

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.payload overrides node config (msg wins)
  • Callback from TV only on real button press (event: button); ignores shown / 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

  1. Result of /notify
  2. 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 + callback support
  • Node-RED host reachable from the TV on port 1880

License

MIT

Node Info

Version: 1.0.0
Updated 5 days ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • pipup

Keywords

  • node-red
  • pipup
  • android-tv
  • rtsp
  • ampio
  • doorbell
  • notification

Maintainers