Page 4 of 34
Re: PushBullet plugin
Posted: Mon May 19, 2014 7:23 am
by Phil
Thanks again Pako, im glad this is working properly again.
I have two questions.
- Does 'Push to everything' push to just your own devices or does it actually push to everything including friends?
- The delete push requires a push iden, where do you get this information from? If I just pushed a note and want to delete it a few seconds later how do I know its iden?
Re: PushBullet plugin
Posted: Mon May 19, 2014 8:28 am
by Pako
Phil wrote:Does 'Push to everything' push to just your own devices or does it actually push to everything including friends?
See
PushBullet API:
device_iden - The identifiers of the device this push is to be routed to. If absent, the push goes to all of the account's devices.
A friend -
he is not the account's device.
Phil wrote:The delete push requires a push iden, where do you get this information from? If I just pushed a note and want to delete it a few seconds later how do I know its iden?
Look carefully at the example that I have published.
Pako
Re: PushBullet plugin
Posted: Mon May 19, 2014 9:06 am
by Phil
Ah, ok, I've looked carefully and think I understand.
The delete function is for messages sent into eventghost. I was thinking it was a similar function to the mirror in the chrome plug-in where you could choose to dismiss the message from my phones notification area
thanks.
Re: PushBullet plugin
Posted: Mon May 19, 2014 4:54 pm
by Pako
Phil wrote:Ah, ok, I've looked carefully and think I understand.
The delete function is for messages sent into eventghost.
In the next version it will be available also an option to delete pushes,
sent using EventGhost.
Pako
Re: PushBullet plugin
Posted: Tue May 20, 2014 7:13 am
by piert
That sounds promising, I will be looking out for the new version then!
Re: PushBullet plugin
Posted: Tue May 20, 2014 9:41 am
by Pako
New version (0.0.12) released.
News:
- added option to delete pushes, sent using this plugin
A more detailed description:
Action
Push was expanded to include a new parameter -
Event suffix:
Note: If the field is left blank, the event will not be triggered.
If you are sending a Push to only one target, then it's simple to use:

- PB_DeletePush2.png (4.45 KiB) Viewed 7619 times
If selected several targets simultaneously, it will require some scripting.
Here's example how the payload of event looks, when you select two targets:
Code: Select all
[
{'device_iden': u'0123abcd', 'type': 'device', 'nickname': u'EG_notebook', 'ok': True, 'push_iden': u'ujBlbIJ7TNcpjAtdrosor6'},
{'type': 'friend', 'ok': True, 'nickname': u'James', 'email': u'[email protected]', 'push_iden': u'ujyuu38KSs0pjz0Z1Zjaea'}
]
If "ok" = False, it means that sending failed and parameter "push_iden" will be missed.
Pako
Re: PushBullet plugin
Posted: Wed May 21, 2014 4:24 am
by Pako
New version (0.0.13) released.
News:
- forced change of url, used to test connectivity
Re: PushBullet plugin
Posted: Wed May 21, 2014 7:33 am
by Phil
Thanks Pako, this plugin gets more useful by the day, you must not be sleeping much!
Would it be possible to explain what the push mirror option does? I notice I cant send a message to my phone from that only to other items but dont really understand its purpose. I've looked on the pushbullet website but cant see any explanation of its use there.
Re: PushBullet plugin
Posted: Wed May 21, 2014 4:03 pm
by Pako
Phil wrote:Would it be possible to explain what the push mirror option does?
I think in short it can be said as follows:
Primarily
mirroring is designed to forward notifications from phone to PC
(for example: in your pocket the phone rings and you can see on the computer screen, who is calling).
Receive mirroring, it can for example Chrome extension or EventGhost with PushBullet plugin.
PushBullet service does not allow reverse function (phone as a recipient of mirroring).
However EventGhost/PushBullet plugin allows both receiving and sending.
How do you use it, it depends on you.
Note: Notice that only mirroring allows you to add an icon to the message.
Pako
Re: PushBullet plugin
Posted: Thu May 22, 2014 9:46 am
by Phil
With version 0.0.13 im getting the following message which I used to get with v0.0.10 I think but was cleared after that.
This just runs constantly though the log.
10:17:05 PushBullet: WebSocket closed
10:17:06 Starting new HTTPS connection (1): api.pushbullet.com
10:17:07 PushBullet: WebSocket opened
10:32:21 PushBullet: Haven't seen a nop lately, reconnecting
10:32:21 PushBullet: WebSocket closed
10:32:21 Starting new HTTPS connection (1): api.pushbullet.com
10:32:22 PushBullet: WebSocket opened
10:34:36 PushBullet: Haven't seen a nop lately, reconnecting
10:34:36 PushBullet: WebSocket closed
Re: PushBullet plugin
Posted: Thu May 22, 2014 10:16 am
by Pako
That's interesting, I have no such problem.
Also, I do not know why there is the message "
Starting new HTTPS connection (1): api.pushbullet.com".
This (with 100% certainty) does not write PushBullet plugin.
Try the attached test version 0.0.13a.
If that fails, there came to me one option:
Try to also replace the file
Scheduler.py (see
this topic - post 2014 5 17 Sat, 12:21).
Scheduler.py file is located in the
.../eg/Classes folder.
Pako
Re: PushBullet plugin
Posted: Thu May 22, 2014 1:25 pm
by Phil
Thanks but neither of those have stopped it.
I get this on start up
14:13:57 Starting new HTTPS connection (1): api.pushbullet.com
14:13:57 PushBullet: Devices received: [{u'iden': etc........
14:13:57 Starting new HTTPS connection (1): api.pushbullet.com
14:13:58 PushBullet: Friends received: [{u'status': u'invited', u'iden': etc...
14:13:58 PushBullet: Targets derived: [(u'Samsung S5', etc.....
14:13:58 Starting new HTTPS connection (1): api.pushbullet.com
14:13:59 Starting new HTTPS connection (1): api.pushbullet.com
14:14:00 PushBullet: WebSocket opened
then the same messages start almost 8 minutes later and look to be every couple of minutes.
Re: PushBullet plugin
Posted: Thu May 22, 2014 1:33 pm
by Pako
This passage is totally correct. I do not see anything objectionable.
Please set Logging level to a value of 5.
Then attach a long passage.
Pako
Re: PushBullet plugin
Posted: Thu May 22, 2014 1:49 pm
by Phil
thanks, Will do. How to I change logging level?
Re: PushBullet plugin
Posted: Thu May 22, 2014 1:58 pm
by Pako
Phil wrote:thanks, Will do. How to I change logging level?