Skip to content

ping

42

The ping node is a diagnostic tool used to monitor the network availability and performance of external IP-based hardware. It repeatedly tests the connection to a specific device and provides real-time feedback on its reliability and latency.

When to use this node: * Live Hardware Monitoring: Keeping track of the "Online" status of Wi-Fi-enabled sensors, smart bulbs, or secondary controllers during a game. * Network Stability Checks: Using the successRate and lastTime (latency) outputs to identify unstable connections that might cause delays in game triggers. * Automated Error Handling: Triggering a notification for the Room Master if a critical network device fails to respond, allowing for immediate troubleshooting via the lastError output.

Pro Tip: Adjust the ping count property to define how many tests are performed per event, allowing you to balance between high-precision monitoring and network traffic efficiency.

Connectors in

  • event [type: action]

Connectors out

  • onPing [type: action]
  • successRate [type: integer]
  • lastTime [type: integer]
  • lastError [type: string]

Node properties

  • ping count [type: integer]