Linux push popup notification to other divices
#1
For example "Backup" addon shows "Backup is completed" message on the kodi GUI.
I want to push the message to other device.
Googling tells me installing monitoring tool just like inotify could be the solution.
But I want to reduce cpu usage as possible as I can.
Is there any way to redirect(?) addon's popup to Pushbullet API, HTTP or Email...anyway?

Sorry for my bad English.
Any hint or keyword is appreciated.
Reply
#2
Well, off the top of my head, I'd do it like this:

1. Create a service addon that runs in the background of the machine that has the notifications that you want to push to other devices.

2. Use the onNotification method of the Monitor class to listen for notifications.

3. Inspect the data and decide whether it's something I want to forward.

4. Use JSON RPC to send notifications to other instances.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
#3
Thanks for your quick reply
Is that(monitoring addon-notification by onNotification) possible now?
I found related old thread.
ttp://forum.kodi.tv/showthread.php?tid=205394
Reply
#4
Ah, wasn't aware of that. Sounds like it may not work then.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
#5
Thread moved to feature requests
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#6
This may do what you want http://forum.kodi.tv/showthread.php?tid=204567
Reply
#7
Or this http://forum.kodi.tv/showthread.php?tid=...tification
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#8
Thanks guys.
I've already tried PushBullet addon, but the addon only use some built-in functions as the trigger.
I'd never tried callbacks v2, but on the wiki it also use onNotification method.
(here. http://kodi.wiki/view/Add-on:Kodi_Callba...gs_-_Tasks >> 4.2.2-1)
Both are awesome addons but won't be help in my case.

By the way, I found solution.
I simply edited addon's .py file to run shell script after the notification was sent.
Reply

Logout Mark Read Team Forum Stats Members Help
push popup notification to other divices0