Page 13 of 34

Re: PushBullet plugin (Pako)

Posted: Wed Sep 10, 2014 3:45 pm
by shawneric
filepath will be:

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

and it will be overwritten everytime it is launched.

Re: PushBullet plugin (Pako)

Posted: Wed Sep 10, 2014 4:20 pm
by Pako
You must add plugin "File Operations" into your configuration.
WriteFile1.png
WriteFile1.png (6.71 KiB) Viewed 7139 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

Re: PushBullet plugin (Pako)

Posted: Thu Sep 11, 2014 3:03 am
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)

Re: PushBullet plugin (Pako)

Posted: Thu Sep 11, 2014 3:06 am
by shawneric
I've attached the remaining screenshots for your review.

Re: PushBullet plugin (Pako)

Posted: Thu Sep 11, 2014 8:23 am
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

Re: PushBullet plugin (Pako)

Posted: Thu Sep 11, 2014 1:03 pm
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

Re: PushBullet plugin (Pako)

Posted: Sun Sep 14, 2014 9:37 am
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!

Re: PushBullet plugin (Pako)

Posted: Mon Sep 29, 2014 8:16 am
by Pako
New version (0.1.1) released.
News:
  • - added action "Push screenshot"
Pako

Re: PushBullet plugin (Pako)

Posted: Wed Oct 01, 2014 3:01 am
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!

Re: PushBullet plugin (Pako)

Posted: Wed Oct 01, 2014 4:42 am
by Pako
Which operating system do you have?
What version of EventGhost you using?
Pako

Re: PushBullet plugin (Pako)

Posted: Wed Oct 01, 2014 5:35 am
by 45sixty
Windows 8.1 with media center
EG 0.4.1.r1640

Thanks!

Re: PushBullet plugin (Pako)

Posted: Wed Oct 01, 2014 8:00 am
by Pako
45sixty wrote:EG 0.4.1.r1640
You would have to use the latest version of EventGhost.
Pako

Re: PushBullet plugin (Pako)

Posted: Wed Oct 01, 2014 4:10 pm
by 45sixty
Thanks! I'm glad it was such a simple solution. Plugin looks great so far.

Re: PushBullet plugin (Pako)

Posted: Thu Oct 02, 2014 8:29 am
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 6891 times
Subscribe to channel EventGhost - PushBullet plugin News
Pako

Re: PushBullet plugin (Pako)

Posted: Wed Oct 22, 2014 11:34 am
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!