Kentinada Posted December 17, 2023 Posted December 17, 2023 So I am taking a step back to try to simplify and understand notifications better. I have purchased the Notifications Node Server and installed it - I think. See 1st screen shot. I also have the Push Node Server installed (2nd screenshot) and purchased the $15 Pushover license. With these 2 Node Servers installed and running, I can create through the Admin console Configuration/Networking/Network Resources various message definitions I can trigger either through UD Mobile or through Admin console programs. The example program has 2 different modes of notifying me for the same event. The first uses a Network Resource I defined by copying one of the Example Push Notifications. The 2nd notification in the code uses the Push controller and the Porch Motion device I created in the configuration section of the Push Node Server. Both do the same thing but do it in different manners. Is one preferred over the other? The both require the Notifications and Push Node servers. I really am trying to understand this communication environment and how to use it correctly. Thanks for any comments/suggestions/feedback. I'm sure there will be follow-on questions.
paulbates Posted December 17, 2023 Posted December 17, 2023 (edited) One thing to think about in simplifying is; which plugin (node server) are you going to use? There are 2 completely separate and unrelated plugins that can send notifications to pushover and you reference and appear to have them both, but using only one in your program sample ..push Notifications plugin - this one is more "Swiss army knife". It's more flexible, but a little more learning curve IMO. Its the one I use Note: when you use the "resource" example in your program, you're not using the notifications plugin.. see my screen shot at the end of your previous thread for how a "notifcations" plugin statement looks Push plugin. This one does pushover specifically. When your program statements say "push" and not "notification", you are using the push plugin Summary, 2 plugins are creating confusion. Pick one and uninstall the other. I'd stay high level now and pick the plugin based on what you want to do With the notifications pluginI can do what i want fairly easily to use pushover Use the pushover "app" feature which lets me put my notifications in folders Operations - simple daily reports, no sound notification, just updates I can review when I want to. When did the dusk sensor work, sump pump cycles, hvac vent cycles beyond normal furnace cycles,.... Warnings - Battery alerts, filter alerts, something like the sump pump operating outside of its normal range. Plugins or devices like thermostat going off line. emergency - water on a floor, sump depth too high substitute ISY variables in my messages so that they are quantitative and meaningful to think about and compare to previous days Here's an example, the pushover folders are on the left, and individual messages in the folders are to the right Maybe you just want to send simple fixed messages. Based on a response I saw to one of your previous threads, someone showed a screen shot of push doing just that. If that's all you want, all you'll ever want, .. push plugin is the way to go, and remove the notifications plugin Or, If you think you'll want more in the future like I describe, and others do much more than I do with the 'notifications' plugin, you'll want to start there Edited December 17, 2023 by paulbates 1
Kentinada Posted December 17, 2023 Author Posted December 17, 2023 @paulbates thanks for the reply. I don't want to do much with notifications except simple, small alerts like "Garage Door Closed" or "User Left Geofence". That kind of thing. So with that in mind, I have deleted both node servers and only reinstalled the Notification node server which I think will suffice. One thing that confused me though was in the Network Resources definitions which have the 3 templates: Push; Push with Substitution; and Push Notification with Sound. Those are part of the Notification Node Server but the code 1st line says "POST /api/push/notification/send HTTP/1.1". This 'push' in this statement has nothing to do with pushover does it?
Kentinada Posted December 18, 2023 Author Posted December 18, 2023 I have defined 2 test messages (1st screen shot) in the Configuration section of the Notification (paid version) Node Server. They both show up in the Admin Console Message dropdown (2nd screen shot) but I'm clearly lacking something in the definition because when I press Send Message from the Admin Console regardless of choosing Test or Test2, I get "Unknown Undefined message 0" in UD Mobile Notifications. Any help would be appreciated.
Javi Posted December 18, 2023 Posted December 18, 2023 If using the Notification Node Server it may be easier to setup notifications from UD Mobile, this creates a program also. UD Mobile will show more detailed notifications content see 2
Kentinada Posted December 18, 2023 Author Posted December 18, 2023 I have done this and it works. But I'm trying to keep the Admin Console as the central place where I define my automation. If I start breaking it up between UD Mobile and the Admin Console, it gets hard to follow.
Javi Posted December 19, 2023 Posted December 19, 2023 The program created by UD Mobile will show in the Admin Console. The only difference is UD Mobile will show the Notification content instead of the Notification Content ID.
Kentinada Posted December 19, 2023 Author Posted December 19, 2023 I tried to create a notification per the YouTube video (which I had done previously and deleted) but now I get an error when I press the + button. See attached screenshot. It also happens when I select Linked Programs from the device setup menu. Ideas?
Javi Posted December 19, 2023 Posted December 19, 2023 Try swiping app from recently use application. For some reason app couldn't obtain program information. I'll have to look into the cause, but am out of the office until tomorrow. But maybe related to an AWS outage this morning.
Solution Kentinada Posted December 19, 2023 Author Solution Posted December 19, 2023 This can be closed. Was due to the network outage earlier today. Thanks.
Recommended Posts