Page 22 of 34
Re: PushBullet plugin (Pako)
Posted: Thu Jan 14, 2016 5:42 pm
by Pako
kevinb77 wrote:Send the data in that Push to a Google Drive spreadsheet and sort it by user date and time.
Yes, it can probably be done via EventGhost.
You have already installed and functioning Pushbullet plugin?
Can you give an example of how it looks, the event (push) from plexWatch?
So far, I do not know, how it can be detected user.
Pako
Re: PushBullet plugin (Pako)
Posted: Sun Jan 17, 2016 2:30 am
by kevinb77
This is essestionally how te push looks:
kevinberard: Watched
South Park - AWESOM-O - s08e05 [T] [2004] [TV-MA] on My Nexus Player for 22 minutes [100%]
This is showing the completion of a watched notification and the user, the show and what device they used.
Re: PushBullet plugin (Pako)
Posted: Sun Jan 17, 2016 5:54 pm
by Pako
1) From your reply I can not recognize whether you have already installed and functioning EventGhost and Pushbullet plugin
2) I need to see, how Pushbullet note looks in environment EventGhost. It should look something like this:

- PushbulletNote.png (3.36 KiB) Viewed 5953 times
Code: Select all
18:40:16 PushBullet.Note.ThisIsPushTitle [u'This Is Push Body', None, u'abcdefghijk01234567890', u'plexWatch', '2016-01-17 18:40:07']
Pako
Re: PushBullet plugin (Pako)
Posted: Mon Jan 18, 2016 2:13 pm
by kevinb77
Sorry for the confusion. Here is the Push coming through EG
PushBullet.Note.Kevinberard:Watching [u'Family Guy - Scammed Yankees - s14e12 [D] [2016] [TV-14] on Work PleXBMC [0 seconds in] ', None, u'udn7osjAiyTWhhtI', '', '2016-01-18 09:12:32']
Re: PushBullet plugin (Pako)
Posted: Mon Jan 18, 2016 4:39 pm
by Pako
Great!
So this is one example.
You can add some more examples?
Which part of push is the information about user?
I suppose there may appear others pushes, which you do not want to enter into a spreadsheet. What are the possibilities to distinguish them from each other?
You have the full control over plexWatch server (which is the sender of pushes)?
If so, you can add
source_device_iden parameter to (sending) push?
Then the push would look like this:
Code: Select all
PushBullet.Note.Kevinberard:Watching [u'Family Guy - Scammed Yankees - s14e12 [D] [2016] [TV-14] on Work PleXBMC [0 seconds in] ', None, u'udn7osjAiyTWhhtI', 'plexWatch', '2016-01-18 09:12:32']
and we can filter by push sender.
Or the other option is to add some keyword to push title (eg.
PushLogger:).
Pako
Re: PushBullet plugin (Pako)
Posted: Sat Feb 06, 2016 1:23 pm
by naryk_reklaw49
Hi, I've been using this plugin for a while now and its worked perfectly but today it's stopped working. I keep getting the following error when I try to push a note to evenghost:
Traceback (most recent call last) (1722):
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3364, in requestPushes
self.processPush(push)
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3171, in processPush
elif push['sender_email'] != self.email:
KeyError: 'sender_email'
I've updated eventghost and the plugin but the error persists.
if anybody could help I would really appreciate it,
I've attached a screen shot of the error along with an example macro that I would use it to run.
Re: PushBullet plugin (Pako)
Posted: Sat Feb 06, 2016 3:22 pm
by Pako
That's weird. I do not have such a problem. Maybe I miss some information.
Please do the following things:
1) In setting EventGhost (menu View) turn on the "Log Times" option. It is more clear, when I also see time.
2) In the setting Pushbullet plugin set Logging level = 5
Then again, do a test sending / receiving push.
If an error occurs, please attach a copy of the relevant part of the log (not the screenshot).
It should look like this:
Code: Select all
15:57:53 PushBullet: Getting pushes, modified_after = 1454770415.4304640
15:57:54 PushBullet: Response = {u'chats': [], u'blocks': [], u'pushes': [{u'body': u'Test_001\nMessage_001', u'iden': u'xxxxxxxxxxxxxxx', u'sender_iden': u'xxxxxx', u'created': 1454770665.022835, u'sender_name': u'xxxxxxxx', u'awake_app_guids': [u'xxxxxxxxxxxxx'], u'target_device_iden': u'xxxxxxxxxxxxx', u'direction': u'self', u'modified': 1454770665.0282691, u'dismissed': False, u'sender_email_normalized': u'xxxxxxxxxxxx', u'receiver_email': u'xxxxxxxxxxxx', u'source_device_iden': u'xxxxxxxxxxxxx', u'sender_email': u'xxxxxxxxxxxx', u'active': True, u'receiver_iden': u'xxxxxxxx', u'guid': u'xxxxxxx', u'type': u'note', u'receiver_email_normalized': u'xxxxxxxxxx'}], u'contacts': [], u'clients': [], u'devices': [], u'channels': [], u'texts': [], u'grants': [], u'accounts': [], u'profiles': [], u'subscriptions': []}
15:57:54 PushBullet: modified_after updated: 1454770665.0282691
15:57:54 PushBullet.Note.Test_001 [u'Test_001\nMessage_001', None, u'xxxxxxxxxx', u'Sony Xperia T', '2016-02-06 15:57:45']
You can (as I do) overwrite some data that could be private.
Pako
Re: PushBullet plugin (Pako)
Posted: Sat Feb 06, 2016 7:03 pm
by naryk_reklaw49
Ok, thanks so much for your response. I've copied the log below, hope this is what you wanted.
Code: Select all
18:46:59 Traceback (most recent call last) (1722):
18:46:59 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3364, in requestPushes
18:46:59 self.processPush(push)
18:46:59 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3171, in processPush
18:46:59 elif push['sender_email'] != self.email:
18:46:59 KeyError: 'sender_email'
I don't typically use it for sending notes but when I tried I got a basically the same error which ive copied below:
Code: Select all
18:51:47 PushBullet: Push: note to "XXXXXX"
18:51:47 PushBullet: Push: note to "XXXXXX"
18:51:47 PushBullet: WebSocket message: {u'subtype': u'push', u'type': u'tickle'}
18:51:47 PushBullet: Getting pushes, modified_after = XXXXXX
18:51:47 PushBullet: Push results: [{'device_iden': XXXXXX', 'type': 'device', 'nickname': KXXXXXX, 'ok': True, 'push_iden': 'XXXXXX'}]
18:51:48 PushBullet: Response = {u'chats': [], u'blocks': [], u'pushes': [{u'body': u'hello', u'iden': XXXXXX', u'source_device_iden': u'XXXXXX', u'created': XXXXXX, u'sender_name': u'XXXXXX', u'target_device_iden': u'XXXXXX', u'title': u'hello', u'direction': u'self', u'modified': XXXXXX, u'dismissed': False, u'sender_email_normalized': u'XXXXXX' , u'receiver_email': u'XXXXXX', u'sender_email': u'XXXXXX', u'active': True, u'receiver_iden': u'XXXXXX', u'sender_iden': u'XXXXXX', u'type': u'note', u'receiver_email_normalized': U'XXXXXX' }, {u'body': u'hello', u'iden': u'XXXXXX', u'source_device_iden': u'XXXXXX', u'created': XXXXXX, u'sender_name': u'XXXXXX', u'target_device_iden': u'XXXXXX', u'title': u'hello', u'direction': u'self', u'modified': XXXXXX, u'dismissed': True, u'sender_email_normalized': 'XXXXXX', u'receiver_email': u'XXXXXX' , u'sender_email': u'XXXXXX' , u'active': True, u'receiver_iden': u'XXXXXX', u'sender_iden': u'XXXXXX', u'type': u'note', u'receiver_email_normalized': U'XXXXXX'}, {u'body': u'hello', u'iden': u'XXXXXX', u'source_device_iden': u'XXXXXX', u'created': XXXXXX, u'sender_name': 'XXXXXX', u'target_device_iden': u'XXXXXX', u'title': u'hello', u'direction': u'self', u'modified': XXXXXX, u'dismissed': False, u'sender_email_normalized': U'XXXXXX', u'receiver_email': U'XXXXXX' , u'sender_email': U'XXXXXX' , u'active': True, u'receiver_iden': u'XXXXXX', u'sender_iden': u'XXXXXX', u'type': u'note', u'receiver_email_normalized': u'XXXXXX'}, {u'body': u'fireplaceon', u'iden': u'XXXXXX', u'created': XXXXXX, u'sender_name': u'IFTTT', u'title': u'fireplaceon', u'direction': u'incoming', u'modified': XXXXXX, u'dismissed': False, u'client_iden': u'XXXXXX', u'receiver_email': u'XXXXXX', u'active': True, u'receiver_iden': u'XXXXXX', u'type': u'note', u'receiver_email_normalized': XXXXXX'}], u'contacts': [], u'clients': [], u'devices': [], u'channels': [], u'texts': [], u'grants': [], u'accounts': [], u'profiles': [], u'subscriptions': []}
18:51:48 Traceback (most recent call last) (1722):
18:51:48 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3364, in requestPushes
18:51:48 self.processPush(push)
18:51:48 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3171, in processPush
18:51:48 elif push['sender_email'] != self.email:
18:51:48 KeyError: 'sender_email'
18:51:51 Keyboard.Shift
18:52:03 PushBullet: WebSocket message: {u'type': u'nop'}
Thanks again!
Re: PushBullet plugin (Pako)
Posted: Sun Feb 07, 2016 6:25 pm
by Pako
The problem was, when the sender was IFTTT.
In this case, the parameter 'sender_email' is missing.
Now I have this case treated, so now it should be fine.
You can download the latest version 0.2.15.
Pako
Re: PushBullet plugin (Pako)
Posted: Mon Feb 08, 2016 10:29 pm
by naryk_reklaw49
Thanks a lot it's back to working perfectly!
Re: PushBullet plugin (Pako)
Posted: Mon Mar 14, 2016 12:35 pm
by sh0w
Hi pako, i have following problem if i initialize the plugin at start:
Code: Select all
13:23:25 ---> Willkommen beim EventGhost <---
13:23:25 Autostart
13:23:25 Plugin: Task Create/Switch Events
13:23:25 Plugin: Tastatur
13:23:25 Plugin: PushBullet
13:23:25 Main.OnInit
13:23:25 Main.OnInitAfterBoot
13:23:27 Task.Created.EventGhost
13:23:27 Task.NewWindow.EventGhost
13:23:27 Task.Activated.EventGhost
13:23:28 Exception in thread Thread-4:
13:23:28 Traceback (most recent call last):
13:23:28 File "threading.pyc", line 532, in __bootstrap_inner
13:23:28 File "threading.pyc", line 484, in run
13:23:28 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3586, in updateDevices
13:23:28 self.getAccount()
13:23:28 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3469, in getAccount
13:23:28 account, flag = self.request("GET", API + 'users/me')
13:23:28 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3429, in request
13:23:28 c.perform()
13:23:28 error: (35, 'schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - Die Sperrfunktion konnte keine Sperrpr\xfcfung f\xfcr das Zertifikat durchf\xfchren.')
13:23:28
i have eventghost r1722 and downloaded the newest pushbullet plugin. i have used my api key generated on my pushbulletaccount site and encryptionpassword. on my pushbullet site there is even an api connection listed under connected apps but no device as i configured it in the plugin settings. thx in advance

Re: PushBullet plugin (Pako)
Posted: Fri Mar 18, 2016 9:50 am
by Pako
I do not understand why it does not work.
You can provide instructions on how I can reproduce the situation on my computer?
Pako
Re: PushBullet plugin (Pako)
Posted: Mon Mar 28, 2016 5:33 pm
by Cerebellum
Hi, everyone!
Is there any way to configure this plugin to delete pushes from other devices?
I configured Tasker and this plugin to mute my pc audio during phone call and now I have a pile of these pushes in my push history. I found instructions on this forum how to delete pushes sent from plugin itself but failed to find a way how to automaticaly delete pushes send from other devices (phone, tablet) to this plugin. I was wondering if that is even possible at the moment?
Thanks!
Re: PushBullet plugin (Pako)
Posted: Tue Mar 29, 2016 6:11 am
by Pako
Cerebellum wrote:I found instructions on this forum how to delete pushes sent from plugin itself but failed to find a way how to automaticaly delete pushes send from other devices (phone, tablet) to this plugin. I was wondering if that is even possible at the moment?
It is very easy:

- DeletePush.png (4.88 KiB) Viewed 5486 times
Pako
Re: PushBullet plugin (Pako)
Posted: Tue Mar 29, 2016 9:15 am
by Cerebellum
Pako wrote:Cerebellum wrote:I found instructions on this forum how to delete pushes sent from plugin itself but failed to find a way how to automaticaly delete pushes send from other devices (phone, tablet) to this plugin. I was wondering if that is even possible at the moment?
It is very easy:
DeletePush.png
Pako
Thanks! It works like a charm!