asbril Posted March 2, 2022 Posted March 2, 2022 I moved the Notification nodeserver to IoP and it works. However I remember that I was previously able to set type of urgency to messages, such as normal, urgent, emergency (or similar). Regular messages work. Now I don't see anywhere where to set the priority.
DennisC Posted March 3, 2022 Posted March 3, 2022 6 hours ago, asbril said: I moved the Notification nodeserver to IoP and it works. However I remember that I was previously able to set type of urgency to messages, such as normal, urgent, emergency (or similar). Regular messages work. Now I don't see anywhere where to set the priority. Think it depends on the type of message. If you are triggering the message from a program, you can set it there. If from a NR, you have to include it in the string at the top. There's an example on the Configuration page of PG3 of the Nodeserver. 1
MrBill Posted March 3, 2022 Posted March 3, 2022 (edited) 12 hours ago, DennisC said: you have to include it in the string at the top. Not true. it can also be set from the program. I keep all the /send strings simple with just a node name, i.e. /send?node=po_doortr I have multiple Pushover nodes: that each have default Sounds, priority. I have programs that enforce those: ServiceNode.doordc - [ID 01C6][Parent 016D] If 'Node Servers / Notification Controller / Service Pushover doordc' Device is not all Or 'Node Servers / Notification Controller / Service Pushover doordc' Priority is not Normal Or 'Node Servers / Notification Controller / Service Pushover doordc' Format is not HTML Or 'Node Servers / Notification Controller / Service Pushover doordc' Sound is not Door Open Then Wait 30 seconds Set 'Node Servers / Notification Controller / Service Pushover doordc' Device all Set 'Node Servers / Notification Controller / Service Pushover doordc' Priority Normal Set 'Node Servers / Notification Controller / Service Pushover doordc' Format HTML Set 'Node Servers / Notification Controller / Service Pushover doordc' Sound Door Open Else - No Actions - (To add one, press 'Action') Door Check Tally does do 15 second sound overrides at the end of the cycle. ---- In some cases I make the wait to change it back 3 seconds... in other cases 30 seconds such as the example below. In this case the notification that occurs right after the geofence sets away mode will change the default sound for my doorcheck service node (see example below).. in this way I can tell without looking at the phone if all doors are closed. The program used does change the sound back... but programs like the one above ensure the node is always set to the correct defaults for the node: ---- dc16._tally0 - [ID 015E][Parent 015C][Not Enabled] If $iDoorCheck.tally is 0 Then Set 'Node Servers / Notification Controller / Service Pushover doordc' Sound Magic Wait 2 seconds Resource 'NotificationNS.doordc._TallyZero' Wait 10 seconds Set '{hide}Node Servers / Notification Controller / Service Pushover doordc' Sound Door Open Enable Program 'dc00._trigger.0' Else Run Program 'dc16._tally1' (If) Edited March 3, 2022 by MrBill
asbril Posted March 4, 2022 Author Posted March 4, 2022 (edited) 10 hours ago, MrBill said: Not true. it can also be set from the program. I keep all the /send strings simple with just a node name, i.e. /send?node=po_doortr I have multiple Pushover nodes: that each have default Sounds, priority. I have programs that enforce those: ServiceNode.doordc - [ID 01C6][Parent 016D] If 'Node Servers / Notification Controller / Service Pushover doordc' Device is not all Or 'Node Servers / Notification Controller / Service Pushover doordc' Priority is not Normal Or 'Node Servers / Notification Controller / Service Pushover doordc' Format is not HTML Or 'Node Servers / Notification Controller / Service Pushover doordc' Sound is not Door Open Then Wait 30 seconds Set 'Node Servers / Notification Controller / Service Pushover doordc' Device all Set 'Node Servers / Notification Controller / Service Pushover doordc' Priority Normal Set 'Node Servers / Notification Controller / Service Pushover doordc' Format HTML Set 'Node Servers / Notification Controller / Service Pushover doordc' Sound Door Open Else - No Actions - (To add one, press 'Action') Door Check Tally does do 15 second sound overrides at the end of the cycle. ---- In some cases I make the wait to change it back 3 seconds... in other cases 30 seconds such as the example below. In this case the notification that occurs right after the geofence sets away mode will change the default sound for my doorcheck service node (see example below).. in this way I can tell without looking at the phone if all doors are closed. The program used does change the sound back... but programs like the one above ensure the node is always set to the correct defaults for the node: ---- dc16._tally0 - [ID 015E][Parent 015C][Not Enabled] If $iDoorCheck.tally is 0 Then Set 'Node Servers / Notification Controller / Service Pushover doordc' Sound Magic Wait 2 seconds Resource 'NotificationNS.doordc._TallyZero' Wait 10 seconds Set '{hide}Node Servers / Notification Controller / Service Pushover doordc' Sound Door Open Enable Program 'dc00._trigger.0' Else Run Program 'dc16._tally1' (If) Something must not be right with my Notification nodeserver. In the Adm. Cons. Main tab my various Pushover nodes show, but each have a "0" only in message. When I create a program and select Notification Controller, I have the sub-options Nodeserver Online, REST Status and Notification. With Notification there is again only "0". Nowhere can I select one of the pushover nodes that are listed in the Main tab and same for priority etc. Right now I use my Pushover email address to send a notification to my phone, but no priority etc, I may have to re-install the nodeserver. Edited March 4, 2022 by asbril
Jimbo.Automates Posted March 5, 2022 Posted March 5, 2022 Something must not be right with my Notification nodeserver. In the Adm. Cons. Main tab my various Pushover nodes show, but each have a "0" only in message. When I create a program and select Notification Controller, I have the sub-options Nodeserver Online, REST Status and Notification. With Notification there is again only "0". Nowhere can I select one of the pushover nodes that are listed in the Main tab and same for priority etc. Right now I use my Pushover email address to send a notification to my phone, but no priority etc, I may have to re-install the nodeserver.Did you close and reopen the AC?Sent from my Pixel 6 Pro using Tapatalk
asbril Posted March 5, 2022 Author Posted March 5, 2022 2 hours ago, JimboAutomates said: Did you close and reopen the AC? Several times.
Jimbo.Automates Posted March 5, 2022 Posted March 5, 2022 Several times.Set log to debug in PG3 UI, restart NS, open AC and if problem still exists download log package and PM that to me.Sent from my Pixel 6 Pro using Tapatalk 1
asbril Posted March 5, 2022 Author Posted March 5, 2022 8 hours ago, JimboAutomates said: Set log to debug in PG3 UI, restart NS, open AC and if problem still exists download log package and PM that to me. Sent from my Pixel 6 Pro using Tapatalk Thanks @JimboAutomates Mostly resolved by deleting and re-installing nodeserver. I forgot how to exactly use in programs. As example I have motion sensors at the two entrances to my home and also have a smoke detrector and want to send a Pushover messages to my Iphone. The Iphone connection works when using the Pushover email, so I know that Pushover on my Iphone works. When I want to send a notification with normal priority when the sensors are activated but high priority when there is smoke, I can see the options when programing, but in what order do I put the various options : Priority, Set device on message on motion detected, Set Pushover Device All, anything else ? Thanks
Jimbo.Automates Posted March 5, 2022 Posted March 5, 2022 Thanks @JimboAutomates Mostly resolved by deleting and re-installing nodeserver. I forgot how to exactly use in programs. As example I have motion sensors at the two entrances to my home and also have a smoke detrector and want to send a Pushover messages to my Iphone. The Iphone connection works when using the Pushover email, so I know that Pushover on my Iphone works. When I want to send a notification with normal priority when the sensors are activated but high priority when there is smoke, I can see the options when programing, but in what order do I put the various options :Priority, Set device on message on motion detected, Set Pushover Device All, anything else ? ThanksThe order doesn't matter, only on or off must be last.Sent from my Pixel 6 Pro using Tapatalk 1
asbril Posted March 5, 2022 Author Posted March 5, 2022 Thanks, that helped. I noticed that I can not get the nodeserver to work both on ISY and on IoP. It is not a big issue as I just use the Pushover email, but I wonder why. Maybe I should try the PG2 version on ISY and keep the PG3 version on IoP.
Jimbo.Automates Posted March 5, 2022 Posted March 5, 2022 Currently you can only have one copy of the NS running on the same machine because it uses a hardcoded port number. I think I have an issue filed to fix this.Sent from my Pixel 6 Pro using Tapatalk 1
Recommended Posts