Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Passing variables from Pushbullet to Eventghost

If you have a question or need help, this is the place to be.
Post Reply
jokkkkker
Posts: 2
Joined: Sun Oct 23, 2016 2:02 am

Passing variables from Pushbullet to Eventghost

Post by jokkkkker »

Hi,
I recently got pushbullet on all my devices and pushbullet plugin on tasker and Eventghost as well. I was able to set up how to pass a static message/notification to Eventghost which then triggers a task.

What I am wondering if there is a way to pass on a variable message/notification from tasker to Eventghost that can be displayed on screen using OSD.

Thanks,
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Passing variables from Pushbullet to Eventghost

Post by Pako »

Of course. It is very easy.
Tasker has Pushbullet plugin. When you create a task, you can set the Title and the Message.
It is obvious that you can use Tasker-variable, so message field will contain (for example) the term "%MyVariable" (without the quotation marks).
Suppose the title is "MyTitle" (hard) and the variable "%MyVariable" has a value of "MyMessage".
If the appropriate Tasker profile (which includes task with Pushbullet message) is activated, in the Eventghost log a new event appears.
It looks like this:

Code: Select all

PushBullet.Note.MyTitle [u'MyMessage', None, u'xXxXxXxXxXxXxXxXxXxXxX', u'MyPhone', '2016-10-23 13:52:04']
You can create a new macro, to which you associate the event "PushBullet.Note.MyTitle".
This macro might look like this:
PushbulletMyTitleMacro2.png
PushbulletMyTitleMacro2.png (4.88 KiB) Viewed 2774 times
That's all - it's really very simple.

Pako
You know flattr ? You can Image
jokkkkker
Posts: 2
Joined: Sun Oct 23, 2016 2:02 am

Re: Passing variables from Pushbullet to Eventghost

Post by jokkkkker »

Works like a charm!! Thanks!
Post Reply