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)
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
That's weird. For me, it works normally and smoothly.
I do not know how I can help.
One more question: what version EventGhost you use?
I use 0.4.1.r1722.
Pako
I do not know how I can help.
One more question: what version EventGhost you use?
I use 0.4.1.r1722.
Pako
Re: PushBullet plugin (Pako)
Pako wrote:That's weird. For me, it works normally and smoothly.
I do not know how I can help.
One more question: what version EventGhost you use?
I use 0.4.1.r1722.
Pako
I am using the same EG software 0.4.1.r1722
-
martikainen
- Posts: 5
- Joined: Thu Aug 13, 2015 11:22 am
Re: PushBullet plugin (Pako)
Awesome plugin Pako! (As always
)
Just installed it and got some configurations working, but there is one thing i need some help with.
I would like to get a push notice with the results from a payload from the directory watcher plugin.
Logentry in eventghost will be:
DirectoryWatcher.Created(u'Z:\\Movies\Foldername')
And I would like to grab the foldername only and push it to myself, right now I'm using a built in function in another program to email me this as soon as anything is added, but getting a short notice in pushbullet would save me alot of effort
I've read through the whole thread but couldn't find anything to help me try build this myself, sorry if it's already been up.

Just installed it and got some configurations working, but there is one thing i need some help with.
I would like to get a push notice with the results from a payload from the directory watcher plugin.
Logentry in eventghost will be:
DirectoryWatcher.Created(u'Z:\\Movies\Foldername')
And I would like to grab the foldername only and push it to myself, right now I'm using a built in function in another program to email me this as soon as anything is added, but getting a short notice in pushbullet would save me alot of effort
I've read through the whole thread but couldn't find anything to help me try build this myself, sorry if it's already been up.

-
martikainen
- Posts: 5
- Joined: Thu Aug 13, 2015 11:22 am
Re: PushBullet plugin (Pako)
you my dear sir are amazingPako wrote:Is this enough ?
Pako
Right now my payload is this

and i would like to remove the Z:\Movies\ part, I've tried learning how to use this kind of tweaks before but i can't get my head around exactly how it works (payloads in eventghost that is..)
Notification right now:

Final results would be
"subject"
Foldername
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
I'm a bit confused.martikainen wrote:Final results would be
"subject"
Foldername
Maybe it should be "subject" Filename instead of "subject" Foldername ?
In any case, it is also simple.
You may use {eg.event.payload[0][10:]} instead of {eg.event.payload[0]}.
If you insist on "subject" Foldername, then you'd better use the term {eg.event.payload[0][:9]} instead of {eg.event.payload[0]}.
Pako
You know flattr ? You can 

-
martikainen
- Posts: 5
- Joined: Thu Aug 13, 2015 11:22 am
Re: PushBullet plugin (Pako)
Foldername is correct, its what i wantPako wrote:I'm a bit confused.martikainen wrote:Final results would be
"subject"
Foldername
Maybe it should be "subject" Filename instead of "subject" Foldername ?
In any case, it is also simple.
You may use {eg.event.payload[0][10:]} instead of {eg.event.payload[0]}.
If you insist on "subject" Foldername, then you'd better use the term {eg.event.payload[0][:9]} instead of {eg.event.payload[0]}.
Pako
So the statement [10:] in {eg.event.payload[0][10:] means that i want to "start" after the 10th character i guess, good to know
Re: PushBullet plugin (Pako)
Ok, so I realy enjoy this plugin of yours. How ever, lately I've been getting some errors...
My EG version is 0.4.1.r1700 with Pushbullet by Pako (0.2.4)
Any ideas?
My EG version is 0.4.1.r1700 with Pushbullet by Pako (0.2.4)
Any ideas?
Code: Select all
02:32:17 PushBullet: Haven't seen a nop lately, reconnecting
02:32:18 PushBullet: WebSocket error: [Errno 1] _ssl.c:480: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
02:32:18 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback
02:32:18 callback(self, *args)
02:32:18 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1208, in on_error
02:32:18 self.stopWatchdog()
02:32:18 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback
02:32:18 callback(self, *args)
02:32:18 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1213, in on_close
02:32:18 self.plugin.Log(self.plugin.text.wsClosed, 2)
02:32:44 System.Idle
02:32:52 PushBullet: Haven't seen a nop lately, reconnecting
02:32:53 PushBullet: WebSocket error: [Errno 1] _ssl.c:480: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
02:32:53 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback
02:32:53 callback(self, *args)
02:32:53 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1208, in on_error
02:32:53 self.stopWatchdog()
02:32:53 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback
02:32:53 callback(self, *args)
02:32:53 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1213, in on_close
02:32:53 self.plugin.Log(self.plugin.text.wsClosed, 2)
02:33:16 System.UnIdle
02:33:27 PushBullet: Haven't seen a nop lately, reconnecting
02:33:28 PushBullet: WebSocket error: [Errno 1] _ssl.c:480: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
02:33:28 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback
02:33:28 callback(self, *args)
02:33:28 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1208, in on_error
02:33:28 self.stopWatchdog()
02:33:28 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback
02:33:28 callback(self, *args)
02:33:28 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1213, in on_close
02:33:28 self.plugin.Log(self.plugin.text.wsClosed, 2)-
eventspook
- Posts: 23
- Joined: Tue Mar 05, 2013 2:50 pm
Re: PushBullet plugin (Pako)
I remember having similar issues a while back. Updating to the latest version of EventGhost and the plugin fixed it for me. I believe the version you're running is close to 2 years old.kamsvag wrote:Ok, so I realy enjoy this plugin of yours. How ever, lately I've been getting some errors...
My EG version is 0.4.1.r1700 with Pushbullet by Pako (0.2.4)
Any ideas?
Code: Select all
02:32:17 PushBullet: Haven't seen a nop lately, reconnecting 02:32:18 PushBullet: WebSocket error: [Errno 1] _ssl.c:480: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version 02:32:18 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback 02:32:18 callback(self, *args) 02:32:18 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1208, in on_error 02:32:18 self.stopWatchdog() 02:32:18 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback 02:32:18 callback(self, *args) 02:32:18 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1213, in on_close 02:32:18 self.plugin.Log(self.plugin.text.wsClosed, 2) 02:32:44 System.Idle 02:32:52 PushBullet: Haven't seen a nop lately, reconnecting 02:32:53 PushBullet: WebSocket error: [Errno 1] _ssl.c:480: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version 02:32:53 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback 02:32:53 callback(self, *args) 02:32:53 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1208, in on_error 02:32:53 self.stopWatchdog() 02:32:53 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback 02:32:53 callback(self, *args) 02:32:53 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1213, in on_close 02:32:53 self.plugin.Log(self.plugin.text.wsClosed, 2) 02:33:16 System.UnIdle 02:33:27 PushBullet: Haven't seen a nop lately, reconnecting 02:33:28 PushBullet: WebSocket error: [Errno 1] _ssl.c:480: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version 02:33:28 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback 02:33:28 callback(self, *args) 02:33:28 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1208, in on_error 02:33:28 self.stopWatchdog() 02:33:28 File "C:\Program Files (x86)\EventGhost\lib26\site-packages\websocket\_app.py", line 186, in _callback 02:33:28 callback(self, *args) 02:33:28 File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1213, in on_close 02:33:28 self.plugin.Log(self.plugin.text.wsClosed, 2)
Re: PushBullet plugin (Pako)
is this still working for everyone?
i am using EG R1722 and the latest plugin files from the first post. i am able to load the plugin and set my API key but it doesn't seem to do anything after that. Nothing is logged even if increase the logging level to 5. If i try to execute a test push it says "PushBullet: No connectivity, waiting..."
I also noticed that the device name does not appear in my pushbullet account (not sure that it's supposed to, but i assume it is).
Any ideas?
i am using EG R1722 and the latest plugin files from the first post. i am able to load the plugin and set my API key but it doesn't seem to do anything after that. Nothing is logged even if increase the logging level to 5. If i try to execute a test push it says "PushBullet: No connectivity, waiting..."
I also noticed that the device name does not appear in my pushbullet account (not sure that it's supposed to, but i assume it is).
Any ideas?
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
I do not know about any problem. It should work normally (it works for me).
Pako
Pako
You know flattr ? You can 

Re: PushBullet plugin (Pako)
ok, i'm lost then. i tried it on 3 different machines with the same behavior. It could be something i doing wrong, but i'm not sure what else there is to do beyond entering the API key? As an alternative i set up the SMTPd plugin and got that working without any problem, so i know that in general my setup is working. I'd much rather uses pushbullet pushes for my events though than emails 
Re: PushBullet plugin (Pako)
The same thing started happening to me yesterday when I updated to plugin 0.2.18 and changed the encryption password. I did a clean install of EG r1722 and the plugin, even updated the API key, but the "no connectivity" message continues to appear. Reverting to plugin 0.2.16 and updating to EG 0.5.0-rc2 also broke in different ways.chris3g wrote:is this still working for everyone?
i am using EG R1722 and the latest plugin files from the first post. i am able to load the plugin and set my API key but it doesn't seem to do anything after that. Nothing is logged even if increase the logging level to 5. If i try to execute a test push it says "PushBullet: No connectivity, waiting..."
I also noticed that the device name does not appear in my pushbullet account (not sure that it's supposed to, but i assume it is).
Any ideas?
I'm not fluent enough in Python to diagnose the problem. Increasing the logging level doesn't seem to provide any additional context. @Pako, can we check anything in the Python shell that might point to the issue?
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
I need more information to help.
Please turn on log level 5. Then I need to see the whole log until the error occurs.
I have additional questions. Do you have a Pushbullet desktop client or Chrome extension installed on the same computer as EventGhost?
Does that work flawlessly?
Pako
Please turn on log level 5. Then I need to see the whole log until the error occurs.
I have additional questions. Do you have a Pushbullet desktop client or Chrome extension installed on the same computer as EventGhost?
Does that work flawlessly?
Pako
You know flattr ? You can 

Re: PushBullet plugin (Pako)
Thanks for the quick reply. I do have the Pushbullet extension installed and working well in Firefox on the same system. EventGhost can send and receive events from other devices/services.Pako wrote:I need more information to help.
Please turn on log level 5. Then I need to see the whole log until the error occurs.
I have additional questions. Do you have a Pushbullet desktop client or Chrome extension installed on the same computer as EventGhost?
Does that work flawlessly?
Changing the logging level in the plugin doesn't seem to produce more verbose output. I have an action set up to send a PB notification 15 seconds after EG starts. This is the log output at level 5:
Code: Select all
2017-05-19 12:13:11 Plugin: Log redirector and filter
2017-05-19 12:13:11 NOTICE: LogRedirector started
2017-05-19 12:13:11 Plugin: Webserver
2017-05-19 12:13:11 INFO: Webserver started as unsecured (http://) on port 81
2017-05-19 12:13:11 NOTICE: Persistent values: {}
2017-05-19 12:13:11 Plugin: Speech
2017-05-19 12:13:11 Plugin: PushBullet
2017-05-19 12:13:11 ACTION: Wait: 15.0 sec
2017-05-19 12:13:26 ACTION: PushBullet: Push: note to "Android"
2017-05-19 12:13:26 NOTICE: PushBullet: No connectivity, waiting ...
2017-05-19 12:13:26 EVENT: Main.OnInit
2017-05-19 12:15:00 EVENT: System.Idle