Skip to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using Notification Node Server from external process

Featured Replies

Has anyone successfully used the PG3x Notification node server REST API from an external process?

I'm working on a Raspberry Pi-based monitoring and control project for my water-well system. I'd like the Pi to be able to send alerts to my phone through UD Mobile, using the eisy Notification node server as the notification mechanism.

I already receive multiple UD Mobile notifications each day that are triggered by code running on eisy itself. That part works reliably. What I'd like to establish is whether an external process running on the Pi can invoke the Notification node server to send notifications through the same mechanism.

The Notification node server's Read Me describes a REST interface. I tried the following request from the Pi, using the eisy's configured address and REST port:


curl -X POST \

  -H "Content-Type: application/json" \

  -d '{"node":"udmobile","message":"The Message","subject":"The Subject"}' \

  http://192.168.7.241:8199/send


The server responded:


do_POST:Received: /send {}.

Code: 200

Command /send success


However, no notification appeared in UD Mobile.

Has anyone successfully sent UD Mobile notifications from a Raspberry Pi or another external process using the eisy Notification node server?

If so, I'd appreciate a working example of the request, including the correct endpoint, HTTP method, payload format, and any required configuration or node-server-specific details.

My objective is to have the Pi send alerts about significant abnormal water-well system conditions to UD Mobile, while keeping the Pi responsible for its monitoring and control-support functions.

I'm particularly interested in a solution that works over the local network, without having to implement a separate push-notification mechanism.

Thanks.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.