Within the Notifications App I selected "Create New Notifier"
Under "Name this Notifier" I typed MyNotifier
Under "What kind of device do ..." I selected "Motion Sensor"
I was prompted with a menu "Select Motion Sensors" and selected "Ring Stick Up Cam - PanTilt" (which is the camera I use in my Living Room) and hit Update
I selected "Motion active" under "What event do you want to monitor for notification"
Within "Text Notifications" I check marked iPhone
Under the heading "Notification message to send "I put "MOTION!!!"
I turned on "Enable logging"
and then hit Done at the bottom right corner of the Notifier
and then hit Done at the bottom right corner of the Notification
I then was at Apps list and expanded Notifications and saw MyNotifier
I then looked at the documentation of "Parent/Child Apps (for Developers)" and thought that I need to create my own custom app that would also be a child of Notifications. I felt that I could then access the variables (%Device%, %Value%, %Time%, & %Date%) in MyNotifier. When I create a custom app I do not know within "definition()" what namespace I should use for the parent: field. Am I totally off track in this coding attempt?
You don’t need custom code to leverage the %device%, %value%, etc variables as those are part of the inbuilt Notification app. I use them in my instances of them too and there is instructional text below the notification text. Here is an example of one of my messages
This is not possible. One cannot create a custom “child app” of an existing parent application. You would have to write your own completely custom Parent and Child apps if you really want to do something unique that requires a custom Groovy solution.
This makes sense but when I did what you recommended I can see under Logs/App Stats that MyNotifier is active but when I look under Logs/Live Logs it does not show up. How do I use what MyNotifier is sending out in a custom app?
My big picture desire is to be able to have ANY notifications that gets generated on my iPhone available to my apps in Hubitat. I have already done this by using the Phone Link (Allows all notifcations in my iPhone to be copied to Windows) program that is on my Windows Pro 11 and then wrote a program that fetches all notifications in the Event system database and sends them to an app on my Hubitat called Notification Server. That server simply sends notifications that it gets from Windows to apps that subscribe to MyNotifications. It works great but I was bored and thought that perhaps I could find a better way to do that. Better means to cut out the middle man (Phone Link) and to some how have a direct communication (or cloud) of iPhone notifications available to Hubitiat. My question here was my first baby step at trying to understand what the Hubitat environment might have to help me do that.
What should the behavior of MyNotifier be when my PanTilt camera detects motion. The only thing that indicates something happens is that the Log Apps Stats count increases. No other log categories are affected and I do not see a notification being sent that I defined as "%device% is %value%" or anything else.
Thanks
UPDATED an hour later:
I changed the Motion Sensor in MyNotifier to an area alarm device and now I get notifications on my iPhone??!!