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.

PushBullet plugin (Pako)

Questions and comments specific to a particular plugin should go here.
shawneric
Posts: 16
Joined: Sun Sep 07, 2014 6:59 am

Re: PushBullet plugin (Pako)

Post by shawneric »

filepath will be:

C:\Users\Shawn\Desktop\say\weather.txt

and it will be overwritten everytime it is launched.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post by Pako »

You must add plugin "File Operations" into your configuration.
WriteFile1.png
WriteFile1.png (6.71 KiB) Viewed 7128 times
WriteFile2.png

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1669">
    <Macro Name="File Operations: Write {eg.event.payload[0]} to file: C:\Users\Shawn\Desktop\say\weather.txt" Expanded="True">
        <Event Name="PushBullet.Note.Weather" />
        <Action>
            FileOperations.Write(3, u'{eg.event.payload[0]}', u'C:\\Users\\Shawn\\Desktop\\say\\weather.txt', 0, 0, False, False, False, u'ascii')
        </Action>
    </Macro>
</EventGhost>
Pako
You know flattr ? You can Image
shawneric
Posts: 16
Joined: Sun Sep 07, 2014 6:59 am

Re: PushBullet plugin (Pako)

Post by shawneric »

I know your English isn't 100%, so I've included multiple pictures to help you see what I'm doing.

Ok, that worked, when I did it by itself. I added several other macros though to do other tasks, and I keep getting this error.

First of all, I use the IFTTT website to automate all of my PushBullet actions (http://www.ifttt.com). I've given you a glimpse at each of my three IFTTT recipes so you can see from start to finish how they work. I will note, this worked fine with no problems until I added more than one macro.

Do you know how to fix this error?

(more attachments next post)
Attachments
This is the actual code I'm using for my batch files.
This is the actual code I'm using for my batch files.
These are all my batch files I'm running and their associated text files
These are all my batch files I'm running and their associated text files
You can see all the configurations on the right, and the error on the left.
You can see all the configurations on the right, and the error on the left.
Last edited by shawneric on Thu Sep 11, 2014 3:07 am, edited 1 time in total.
shawneric
Posts: 16
Joined: Sun Sep 07, 2014 6:59 am

Re: PushBullet plugin (Pako)

Post by shawneric »

I've attached the remaining screenshots for your review.
Attachments
3rd IFTTT Recipe
3rd IFTTT Recipe
2nd IFTTT Recipe
2nd IFTTT Recipe
First IFTTT Recipe
First IFTTT Recipe
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post by Pako »

You're trying to confuse me.
You're obviously starts up manually the action "File Operations: Write {eg.event.payload[0]} to file: C:\User\Shawn\Documents\Stuff\say\sms.txt".
It can not work, there is no payload.

1) Please turn on the "Log Times" (in the "View" menu). This gives a much better overview of what is happening.
2) Python is the "Case sensitive". So if the event looks like "PushBullet.Note.Sms", you can not expect to run the macro, where the event looks like "PushBullet.Note.SMS". Note: Event prefix is automatically adjusted so that the (potential) spaces are omitted and the first (and only the first) letter of each word is uppercase (other letters are always lowercase).
3) Solution using bat file and txt file is useless. You can use the action System: Start Application directly to start the program say.exe.
It should look something like this:
StartSayExe.png
Pako
You know flattr ? You can Image
shawneric
Posts: 16
Joined: Sun Sep 07, 2014 6:59 am

Re: PushBullet plugin (Pako)

Post by shawneric »

ah, see, it was I who was confused, not you :P. That works PERFECTLY!!!! :) Now there's a LOT I can do :D Personal Assistant here I come! :D
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: PushBullet plugin (Pako)

Post by piert »

Hi Pako,

Just a quick update to say the plug in has been performing rock-solid for two weeks now, so it appears all reliability issues have been successfully resolved.
Wel done!
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post by Pako »

New version (0.1.1) released.
News:
  • - added action "Push screenshot"
Pako
You know flattr ? You can Image
45sixty
Posts: 4
Joined: Wed Oct 01, 2014 2:56 am

Re: PushBullet plugin (Pako)

Post by 45sixty »

First off, thanks for all of your hard work Pako!

Secondly, I am having some issues installing the plugin. I downloaded and extracted to the plugin folder, and copied the latest py file as shown. When I re-open EG and try to load the plugin... I can see the plugin but when I click on it, EG freezes and is not responding. Any ideas?

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

Re: PushBullet plugin (Pako)

Post by Pako »

Which operating system do you have?
What version of EventGhost you using?
Pako
You know flattr ? You can Image
45sixty
Posts: 4
Joined: Wed Oct 01, 2014 2:56 am

Re: PushBullet plugin (Pako)

Post by 45sixty »

Windows 8.1 with media center
EG 0.4.1.r1640

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

Re: PushBullet plugin (Pako)

Post by Pako »

45sixty wrote:EG 0.4.1.r1640
You would have to use the latest version of EventGhost.
Pako
You know flattr ? You can Image
45sixty
Posts: 4
Joined: Wed Oct 01, 2014 2:56 am

Re: PushBullet plugin (Pako)

Post by 45sixty »

Thanks! I'm glad it was such a simple solution. Plugin looks great so far.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: PushBullet plugin (Pako)

Post by Pako »

PushBullet developers launched a new cool feature - channels.
Learn more from the article Introducing Pushbullet Channels.
That's a bit like MQTT, but you can also send files and you need no own server for it.
So I also worked a bit, and the new version (0.1.2) PushBullet plugin already supports channels !
Another new feature in this version is action Push reply.

And I even (more or less to test) also created a channel.
Using the link below you can subscribe to it !
EG-PB-Channel.png
EG-PB-Channel.png (29.37 KiB) Viewed 6880 times
Subscribe to channel EventGhost - PushBullet plugin News
Pako
You know flattr ? You can Image
Phil
Experienced User
Posts: 111
Joined: Tue Apr 15, 2014 10:42 am
Location: Merseyside, UK

Re: PushBullet plugin (Pako)

Post by Phil »

The plug-in channel is a really nice feature, would be great if every plug in had its own channel so you knew when there were updates. I have lots of old plug-ins!
Post Reply