Is there a way to create a virtual mobile device as a "place holder" for notifications, and create a rule to connect that "virtual mobile device" to an actual mobile device, to send those notifications to?
Reason: I have multiple rules that I have set up to receive notifications for via RM/basic rules. If I change my phone (upgraded from a Xperia 1 iii to a pro-i) it gets tedious going through each rule and changing the notifications from one device to another.
The thought is to create a virtual "place holder" that all I have to do is change the device in one rule and it will work for all notifications in different rules
To use, create a virtual device using that driver. That will be the "virtual" device you actually use for notifications in apps. Then, install an instance of the app and follow the UI inputs to tie this virtual device into one or more real devices. If/when you want to change what the virtual device goes to, just change it in the app. You can also use it to route notifications to multiple real devices via just a single hub device--what I really wrote it for, though it's good for either use.
Alternatively, you should just be able to tell the mobile app that you're using/replacing the same device when you sign into the mobile app for the first time on your new phone. That should take over notification, presence, and other app features--so you might not even need to do any of this in the first place.
I just happen to need something like this. One question: When configuring the App the Notifcation Settings include the proxy device. If I select that is it going to loop forever?
Probably, if I understand you correctly, but why would you make those selections? You should select the virtual device for the first input and the "real" devices(s) for the second.
I suppose I could put a warning in the UI, but when you make an app input that allows users to select devices by capability, there isn't really any way to filter the list on the app code side.
I'd call that user error before a bug regardless. But thanks for pointing it out!
This is a very nice device @bertabcd1234! There are just a couple of modifications I would add though. I made some of the changes myself to the code, but still working on a few others.
#1 For Built-In apps like Notifications there is a option to Disable Notifications based on a Switch. I added that capability to the driver so I can eliminate a Virtual Switch device I'm currently using for that and just use this device instead. Probably would be best to just add the logic where it will do the deviceNotification() based on if the switch is on (send) or off (don't send).
#2 In the Mobile App Device there is a State variable for deviceNotification() called notificationText (Notification Text). I would like to populate this variable on the device so I can build different things around this state variable for the message.