Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Get macOS Notification Center messages in Node Red
Hello
?
in order to have the DX Alarms I've defined in the logger/cluster (RumLog) on my dashboard I'd like to get and then handle notification messages coming from my Mac into Node Red.
I did several temptatives using node-red-contrib-sysmessage node with no success (I tried using 5223 or 443 or 2197 Tcp ports)
Can anybody give me some help/suggestion/example ?
Many thanks in advance, regards
?
Giorgio
? |
That node was last updated 9 years ago. It's very likely that the OS X notification system has been completely overhauled since then.
?
I don't have a solution for you, but this is what ChatGPT thinks you should do.
Option 1: Using AppleScript + Node-REDAppleScript can listen for notifications from specific apps and send them to Node-RED using HTTP or MQTT. Steps:
Option 2: Using Swift + Background ScriptA more advanced approach is to use a Swift script to listen for system notifications globally. This would require writing a small macOS app that captures notifications and forwards them to Node-RED via MQTT or HTTP. Let me know if you¡¯d like a Swift-based solution, and I can guide you through it! ? ?
73,
Scott
AK5SD |
Hi Scott
I did some tries using AppleScript+Node-RED flollowing steps suggested but no luck.
I'd would approach Swift based solution, but I never used Swift
When you'll have time could you please guide me ? No urgency here so take your time
Feel free to contact by mail (avoiding this way to waste space in this group) ik1bxn@...
Many thanks in advance, best regards
Giorgio |
to navigate to use esc to dismiss