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.
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)
Re: PushBullet plugin
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?
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?
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin
See PushBullet API:Phil wrote:Does 'Push to everything' push to just your own devices or does it actually push to everything including friends?
A friend - he is not the account's device.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.
Look carefully at the example that I have published.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?
Pako
You know flattr ? You can 

Re: PushBullet plugin
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.
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.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin
In the next version it will be available also an option to delete pushes, sent using EventGhost.Phil wrote:Ah, ok, I've looked carefully and think I understand.
The delete function is for messages sent into eventghost.
Pako
You know flattr ? You can 

Re: PushBullet plugin
That sounds promising, I will be looking out for the new version then!
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin
New version (0.0.12) released.
News:
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:If selected several targets simultaneously, it will require some scripting.
Here's example how the payload of event looks, when you select two targets:If "ok" = False, it means that sending failed and parameter "push_iden" will be missed.
Pako
News:
- added option to delete pushes, sent using this plugin
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: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'}
]Pako
You know flattr ? You can 

- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin
New version (0.0.13) released.
News:
News:
- forced change of url, used to test connectivity
You know flattr ? You can 

Re: PushBullet plugin
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.
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.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin
I think in short it can be said as follows:Phil wrote:Would it be possible to explain what the push mirror option does?
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
You know flattr ? You can 

Re: PushBullet plugin
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
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
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin
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
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
- Attachments
-
- __init__.py
- test version 0.0.13a
- (73.61 KiB) Downloaded 176 times
You know flattr ? You can 

Re: PushBullet plugin
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.
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.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin
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
Please set Logging level to a value of 5.
Then attach a long passage.
Pako
You know flattr ? You can 

Re: PushBullet plugin
thanks, Will do. How to I change logging level?
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin
Phil wrote:thanks, Will do. How to I change logging level?
You know flattr ? You can 
