hart2hart Posted June 18, 2022 Posted June 18, 2022 @Javi , This is wonderful. Could a special destination for regular notifications (like is done to write to a log file on ISY web server) be assigned for UD Mobile? That would enable same notification to be sent through multiple channels at same time. Thanks, Paul
Javi Posted June 18, 2022 Posted June 18, 2022 1 hour ago, hart2hart said: @Javi , This is wonderful. Could a special destination for regular notifications (like is done to write to a log file on ISY web server) be assigned for UD Mobile? That would enable same notification to be sent through multiple channels at same time. Thanks, Paul Not sure I understand this request, can you give an example. The API is open and can be incorporated into an existing/new Node Server (i.e. Notification Node Server). IoP supports sending existing Admin Console notifications (i.e. email notification) to node servers. This feature will allow notifications to be sent via ISY Programs. The same notification can be sent to other channels (i.e email).
mbking Posted June 18, 2022 Posted June 18, 2022 @Javi, I added a network resource for UD Mobile notifications and was able to get a test notification on my iPhone, but there is no sound with the notification. My notification settings for UD Mobile show Sound is on. Not sure what I'm missing. Notifications are a welcome addition. Thanks to you and the team!
hart2hart Posted June 18, 2022 Author Posted June 18, 2022 Not sure I understand this request, can you give an example. The API is open and can be incorporated into an existing/new Node Server (i.e. Notification Node Server). IoP supports sending existing Admin Console notifications (i.e. email notification) to node servers. This feature will allow notifications to be sent via ISY Programs. The same notification can be sent to other channels (i.e email).Using standard notification with customizations setup with the destination being UD Mobile. Eg The To: would be UD_Notifications. I’m guessing this would require IoP firmware update.
Javi Posted June 19, 2022 Posted June 19, 2022 Hi @mbking, Appears to be a bug, will look into this later this week. 18 hours ago, hart2hart said: Using standard notification with customizations setup with the destination being UD Mobile. Eg The To: would be UD_Notifications. I’m guessing this would require IoP firmware update. Hi @hart2hart, When implemented in a Node Server it will use the "Emails/Notifications -> Customizations", so these can be shared between email and push notifications. The destination ("Emails/Notifications -> Settings/Groups") is specific to Email Settings so would require firmware change. We are moving away from modules included in firmware to modules as PG3 Node Servers. Email in firmware causes issues as it requires a firmware update when the CERT expires, so I would not be surprised if this module moved to PG3 for Polisy to allow CERT updates without firmware update requirement. With that said, I can foresee a Node Server which combines Email/Push/Text as a group. 2
hart2hart Posted June 19, 2022 Author Posted June 19, 2022 Hi @hart2hart, When implemented in a Node Server it will use the "Emails/Notifications -> Customizations", so these can be shared between email and push notifications. The destination ("Emails/Notifications -> Settings/Groups") is specific to Email Settings so would require firmware change. We are moving away from modules included in firmware to modules as PG3 Node Servers. Email in firmware causes issues as it requires a firmware update when the CERT expires, so I would not be surprised if this module moved to PG3 for Polisy to allow CERT updates without firmware update requirement. With that said, I can foresee a Node Server which combines Email/Push/Text as a group.Thanks for explaining.
sjenkins Posted June 20, 2022 Posted June 20, 2022 On 6/18/2022 at 4:40 PM, mbking said: @Javi, I added a network resource for UD Mobile notifications and was able to get a test notification on my iPhone, but there is no sound with the notification. My notification settings for UD Mobile show Sound is on. Not sure what I'm missing. Notifications are a welcome addition. Thanks to you and the team! @Javi I am also having the silent push issue. Was able to push a test from the Admin with Prowl and it made noise. Checked my push settings & the sound slider is on. Feature request as well: with Prowl I can use a &priority=-2 to +2 which then has settings in the prowl app for an appropriate sound. I use notifications extensively which this priority setting lets me have an alarm level notification for something big and a little ping for something like the perimeter is closing at the house. Excited about the opportunity to drop Prowl after almost 10years and consolidate to UD !!! Thanks so much for your work, this app really rocks!
Javi Posted June 20, 2022 Posted June 20, 2022 6 minutes ago, sjenkins said: @Javi I am also having the silent push issue. Was able to push a test from the Admin with Prowl and it made noise. Checked my push settings & the sound slider is on. Feature request as well: with Prowl I can use a &priority=-2 to +2 which then has settings in the prowl app for an appropriate sound. I use notifications extensively which this priority setting lets me have an alarm level notification for something big and a little ping for something like the perimeter is closing at the house. Excited about the opportunity to drop Prowl after almost 10years and consolidate to UD !!! Thanks so much for your work, this app really rocks! Thanks, I think our server missing the sound parameter when sending to Firebase , will update as soon as the sound param is added. With regards to sound, I'll see what we can do in the future.
brians Posted June 22, 2022 Posted June 22, 2022 Took me a bit to figure out what you all were talking about. I didn't realize recent update for iOS did this. https://wiki.universal-devices.com/index.php?title=UD_Mobile#Notifications_Tab I currently use Pushover with Notification Node server which works good, but to have something native UD would be preferable. I just posted in the notification PG3 forum asking if they can add support.
brians Posted June 22, 2022 Posted June 22, 2022 I just tried setting up a network resource and get error. Net Module Rule: 2:400
Javi Posted June 22, 2022 Posted June 22, 2022 On 6/22/2022 at 12:30 PM, brians said: I just tried setting up a network resource and get error. Net Module Rule: 2:400 Does the test Network Resource look like the image below with x-api-key value replaced with your key? I was able to replicate a 400 error by using Mode: URL-Encoded instead of Raw Text. NOTE: The image below shows timeout at 500 this should be increased to 5000 to avoid failures.
brians Posted June 22, 2022 Posted June 22, 2022 (edited) @Javi it works now... what I did is delete the body, saved, then entered a new body and saved and now it works. I checked it several times and nothing was wrong with it. Edited June 22, 2022 by brians 1
mbking Posted June 23, 2022 Posted June 23, 2022 1 hour ago, Javi said: iOS Notification sounds should be working now. Confirmed. They are working. Appreciate it, @Javi! 2
Steve L Posted June 26, 2022 Posted June 26, 2022 I tried to follow the instructions to add notifications. When I go to the Notifications tab in the iOS UI. I get "ERROR Could not renew access token. Invalid refresh token. Please login." and an OK button. The app connects to my ISY and can see all the devices, etc. I don't know where it wants me to login.
Javi Posted June 26, 2022 Posted June 26, 2022 Hi @Steve L, This is usually caused on devices which are using the Local Connection settings and have not logged into ISY Portal in quite a while. Please go to Settings-Tab > ISY Portal Accounts > Your Account, the app should prompt for login. We will try to push to the login page in the future when this error is encountered. 2
Steve L Posted June 26, 2022 Posted June 26, 2022 Thanks, I found that. Next problem - I configured a test notification as instructed (screenshot attached). When I click Test, I get: "TCP client request failed. [Net Module Rule 1:400]" Interestingly, in the Actual box the = and & are URLencoded, which doesn't match what is shown in the instructions.
Javi Posted June 26, 2022 Posted June 26, 2022 Just now, Steve L said: Thanks, I found that. Next problem - I configured a test notification as instructed (screenshot attached). When I click Test, I get: "TCP client request failed. [Net Module Rule 1:400]" Interestingly, in the Actual box the = and & are URLencoded, which doesn't match what is shown in the instructions. Use Mode "Raw", update, save , then save all network resources before testing. 1
Steve L Posted June 26, 2022 Posted June 26, 2022 Ah, missed that. Thanks. No notification received. Output box has: HTTP/1.1 200 OK X-Powered-By: Express Access-Control-Allow-Origin: * Vary: Origin Cache-Control: no-cache Content-Type:
Javi Posted June 26, 2022 Posted June 26, 2022 It looks like it was sent, please check the notification tray. There is a bug in the current version of UD Mobile, notification are not shown in app until refresh (click another tab, then return). Also verify the device is working by clicking notification settings -> device name -> send test notification 1
Steve L Posted June 26, 2022 Posted June 26, 2022 Ah, there's the rub. "No Devices Linked to this Account". Did I miss instructions on how to do that?
Steve L Posted June 26, 2022 Posted June 26, 2022 I got it working. Needed to various resets and saves, and mysteriously the device showed up. Notifications now come through. Thanks.
Javi Posted June 26, 2022 Posted June 26, 2022 Great. I think the delay of device addition may be related to the original issue of expired portal credentials. We'll add a test for this in a future build. 2
Geddy Posted June 29, 2022 Posted June 29, 2022 @Javi - is it possible to add the option to select all notifications on the app history log and delete them? Currently you have to swipe them out individually (two steps) or if you hit the trashcan then hit the minus then delete (three steps). Would love if you hit the trash can and a select all option came up or instead of each notification having the minus sign make a check box then trash all selected. Other side of that...is it even necessary to have the notification history in the app? If I've cleared it out of the notification area on the phone it's been received. Why must it also be kept in the app? Just like to clean them out and I don't get many notifications...I feel the pain for those that gets lots of notifications.
Steve L Posted June 29, 2022 Posted June 29, 2022 For myself, I like the history as iOS has this nasty habit of disappearing notifications that show as banners and then I can't find them again. A "delete all" button would be fine.
Recommended Posts