pjjameso Posted June 24, 2023 Posted June 24, 2023 (edited) Would like to setup a notification whenever there is a message on my keypad which is the Navigator model. The default screen shows Transmitter Low Battery, the log shows the specific zone and message. Any method to pull this information and setup a notification? Tried to attach screenshots but uploads seem slow today. Would this require new fields on the keypad node by Jimbo? Edited June 24, 2023 by pjjameso More information
Jimbo.Automates Posted June 24, 2023 Posted June 24, 2023 Here's how to do it with the notification node server.
pjjameso Posted June 24, 2023 Author Posted June 24, 2023 Thank Jimbo! I have 17 wireless devices so would appear I would need to include all in the or statement. I guess there is no way just to pull the message from the keypad or log directly.
Jimbo.Automates Posted June 24, 2023 Posted June 24, 2023 You are welcome, yes, you would have to add them all. There is no way I'm aware of to pull the message sent tot he keypad or log. Someday I could possibly automate creating programs like this but I don't think ELK gives us the info on which zones are wireless... To save some typing, here is the subject: ${sys.program.#.name} and the body: Box Tamper: ${sys.node.#.GV11} Transmitter Low Battery: ${sys.node.#.GV12} Security Alert: ${sys.node.#.GV13} Lost Transmitter: ${sys.node.#.GV14} Fire: ${sys.node.#.GV15}
pjjameso Posted June 24, 2023 Author Posted June 24, 2023 I am getting the message subject line only, not the details of the zone or fault from the notifications. Thoughts?
pjjameso Posted June 24, 2023 Author Posted June 24, 2023 Im getting the subject line correctly but none of the body data is coming through, thoughts?
Jimbo.Automates Posted June 24, 2023 Posted June 24, 2023 Is this to the UDMobile node? Is notification node server the latest version 3.6.7?Sent from my Pixel 6 Pro using Tapatalk
Jimbo.Automates Posted June 24, 2023 Posted June 24, 2023 That's odd, it shouldn't happen with the UD Mobile, when did you first install the notification node server? The only way I can think of that would cause this would be if the node server was installed when it had the UD Mobile feature added but before your IoX version was 5.6.2. To fix it. In the admin console, delete the UD Mobile node. In the PG3 UI restart the notification node server, wait for the UD Mobile node to show back up, then in the admin console "Update" that line in the program, and save it.
pjjameso Posted June 24, 2023 Author Posted June 24, 2023 Done, so strange, did steps and restarted PG3x and still no body information. Also strange not a single log entry.
Jimbo.Automates Posted June 24, 2023 Posted June 24, 2023 Sorry, that is odd. Please set log to debug mode in PG3 Notification Node Server config page, do those steps over again, then download log package and PM or email it to me.
pjjameso Posted June 24, 2023 Author Posted June 24, 2023 Rebooted Polisy agian, making progress as body text shows up as follows: Transmitter Low Battery: node[#]
Solution Jimbo.Automates Posted June 24, 2023 Solution Posted June 24, 2023 That's perfect! Didn't realize the Polisy would need a reboot. Good to know. When the actual node triggers the program the # will be replaced with the actual node. But now I realize we should probably change the subject to include the node name that triggered it. ${sys.program.#.name} ${sys.node.#.name}
pjjameso Posted June 24, 2023 Author Posted June 24, 2023 Looks like we are all set! One further question, does your new notification schema mean that we dont need to bother with network resources/pushover any longer? Would best practice be to convert everything over to UD Mobile?
Jimbo.Automates Posted June 24, 2023 Posted June 24, 2023 Just now, pjjameso said: Looks like we are all set! One further question, does your new notification schema mean that we dont need to bother with network resources/pushover any longer? Would best practice be to convert everything over to UD Mobile? I am at this moment in the process of converting almost all of my notifications from Pushover & NR's using Notification NS into UD Mobile with System Customizations. I have feature requests for @Javi and @bmercier that would make my conversion perfect Allow High priority messages which ring thru on DND and are highlighted in the notification Allow sending with fixed width fonts, makes it easier to line up text Allow sending formatted messages in HTML or Markdown or ? (This would eliminate the need for #2) Allow Android Auto/Car Play to show messages. (This is the only reason I use telegram) 1
pjjameso Posted June 24, 2023 Author Posted June 24, 2023 Okay, Im back again... So I have one zone that is showing a low battery value of true. I ran the If statement and am still getting a # symbol (subject and body) for the zone number. Is something else going awry?
Jimbo.Automates Posted June 24, 2023 Posted June 24, 2023 Yes, if you run the program it will always show that way. It has to be triggered by IoX when the status of the node changes.
Jimbo.Automates Posted June 24, 2023 Posted June 24, 2023 (edited) If you want to see the value, you would have to add the specific node address Transmitter Low Battery: ${sys.node.n009_zone_20.GV12} Where zone_20 is the zone you want. But then you have to create a separate customization for each node. Edited June 24, 2023 by Jimbo.Automates
pjjameso Posted June 24, 2023 Author Posted June 24, 2023 Very interesting, think im good as is…. Rebooted polisy again and messages showed up with zone number.
Recommended Posts