PushBullet: Push to everything: note to Everything
PushBullet: Push to everything: note to Everything
PushBullet: WebSocket message: {"type": "tickle", "subtype": "push"}
PushBullet: Getting pushes, modified_after = 1407040455.8520000
PushBullet: Push results: [{'device_iden': None, 'type': 'device', 'nickname': 'Everything', 'ok': True, 'push_iden': u'ujDxoZjtLKCpjAs6Zz95r2'}]
PushBullet: Response = {u'pushes': []}
PushBullet: Push: note to "eleanor-ghost"
PushBullet: Push: note to "eleanor-ghost"
PushBullet: WebSocket message: {"type":"tickle","subtype":"push"}
PushBullet: Getting pushes, modified_after = 1407040455.8520000
PushBullet: Push results: [{'device_iden': u'ujDxoZjtLKCdjz1Mck4hbg', 'type': 'device', 'nickname': u'eleanor-ghost', 'ok': True, 'push_iden': u'ujDxoZjtLKCpjz2Jip7C4O'}]
PushBullet: Response = {u'pushes': []}
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 (Pako)
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
When you send something "To everything", then your other devices (smartphone, Chrome ...) received that message right?
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 (Pako)
I still have one question:
Do you have in your computer the correct time and date ?
Pako
Do you have in your computer the correct time and date ?
Pako
You know flattr ? You can 

Re: PushBullet plugin (Pako)
To answer your first: yes.
To answer your second: No! You are good. I had my system time set incorrectly under a different timezone (not sure how that happened). I've corrected it and restarted EventGhost but actions are still not getting triggered
To answer your second: No! You are good. I had my system time set incorrectly under a different timezone (not sure how that happened). I've corrected it and restarted EventGhost but actions are still not getting triggered
PushBullet: Response = {u'pushes': [{u'iden': u'ujDxoZjtLKCpjAkIausZ52', u'title': u'lights off', u'receiver_email': u'[email protected]', u'created': 1407005315.56182, u'sender_email_normalized': u'[email protected]', u'dismissed': False, u'target_device_iden': u'ujDxoZjtLKCdjz1Mck4hbg', u'sender_email': u'[email protected]', u'modified': 1407005315.56183, u'active': True, u'receiver_iden': u'ujDxoZjtLKC', u'sender_iden': u'ujDxoZjtLKC', u'type': u'note', u'receiver_email_normalized': u'[email protected]'}]}
PushBullet: modified_after updated: 1407005315.5618300
PushBullet: WebSocket message: {"type": "nop"}
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
It was obvious.izzy wrote:To answer your second: No! You are good.
Now it's just fine, it seems.izzy wrote:I've corrected it and restarted EventGhost but actions are still not getting triggered
What exactly you have a problem?
Pako
You know flattr ? You can 

Re: PushBullet plugin (Pako)
Macros are not being executed.
Code: Select all
PushBullet: Push to everything: note to Everything
PushBullet: Response = {u'pushes': []}
PushBullet: WebSocket message: {"type": "nop"}
PushBullet: WebSocket message: {"type": "tickle", "subtype": "push"}
PushBullet: Getting pushes, modified_after = 1407091894.6200600
PushBullet: Push results: [{'device_iden': None, 'type': 'device', 'nickname': 'Everything', 'ok': True, 'push_iden': u'ujDxoZjtLKCpjzYO1AGpB6'}]
PushBullet: Response = {u'pushes': [{u'iden': u'ujDxoZjtLKCpjzYO1AGpB6', u'source_device_iden': u'ujDxoZjtLKCdjz1Mck4hbg', u'title': u'lightsoft', u'receiver_email': u''******@gmail.com', u'created': 1407091919.6080899, u'sender_email_normalized': u'******@gmail.com', u'dismissed': False, u'modified': 1407091919.60811, u'sender_email': u''******@gmail.com', u'active': True, u'receiver_iden': u'ujDxoZjtLKC', u'sender_iden': u'ujDxoZjtLKC', u'type': u'note', u'receiver_email_normalized': u''******@gmail.com'}]}
PushBullet: modified_after updated: 1407091919.6081100- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
What macros?
It would be good, if you put a screenshot here.
Maybe you have not noticed, that the suffix following the "Note", now always begins with a capital letter...
PushBullet.Note.Lightsoff
Pako
It would be good, if you put a screenshot here.
Maybe you have not noticed, that the suffix following the "Note", now always begins with a capital letter...
PushBullet.Note.Lightsoff
Pako
You know flattr ? You can 

-
cableghost
- Posts: 37
- Joined: Thu Oct 10, 2013 9:43 pm
Re: PushBullet plugin (Pako)
I would like to use this plugin to handle Windows sessions, i.e. Lock, Log Off, etc. I've attempted to send a Note with 'Lock' in 'Message' with the following macro in EG, but it is not recognized. What am I missing, or is the syntax wrong?
AutoRemote.Message.Lock (see attached screenshot)
Second issue is if I have Chrome Open with PB active, Chrome/PB grabs the 'push'...is there a way to send to EG from within Chrome? Basically, I want EG to handle this, regardless of where the push comes from.
AutoRemote.Message.Lock (see attached screenshot)
Second issue is if I have Chrome Open with PB active, Chrome/PB grabs the 'push'...is there a way to send to EG from within Chrome? Basically, I want EG to handle this, regardless of where the push comes from.
- Attachments
-
- eg-pb.JPG (12.59 KiB) Viewed 6408 times
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
If you want to achieve, that event had the form PushBullet.Note.Lock, then you have to send a note, where Title = Lock. It does not matter what is in the box "message" (which may be empty).cableghost wrote:I've attempted to send a Note with 'Lock' in 'Message' with the following macro in EG, but it is not recognized.
I do not understand how Autoremote related to PushBullet.cableghost wrote:AutoRemote.Message.Lock (see attached screenshot)
It does not matter from which device you send the note.cableghost wrote:I want EG to handle this, regardless of where the push comes from.
Pako
You know flattr ? You can 

-
cableghost
- Posts: 37
- Joined: Thu Oct 10, 2013 9:43 pm
Re: PushBullet plugin (Pako)
Thanks @Pako. I entered Lock as Title instead of Message, though I had to upgrade the __ init__.py file to get it working.Pako wrote:If you want to achieve, that event had the form PushBullet.Note.Lock, then you have to send a note, where Title = Lock. It does not matter what is in the box "message" (which may be empty).
Re: PushBullet plugin (Pako)
All of these macros used to work before, and were not case sensitive.
Here is a screenshot.
Here is a screenshot.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
Python is case sensitive.izzy wrote:All of these macros used to work before, and were not case sensitive.
Capital letters are there now in every case (since the new version).
So it should be earlier, but there was a bug, that prevented it.
I'm sorry, but I think it's better now (clearer and especially if it is more than one word).
I think that it not be a lot of work to edit all events.
Remove (at least temporarily) check of checkbox "Log only assigned and activated events".
Pako
You know flattr ? You can 

Re: PushBullet plugin (Pako)
Can someone please tell me what this means
:-
Traceback (most recent call last) (1669):
File "C:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 1728, in requestPushes
self.processPush(push)
File "C:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 1596, in processPush
part3 = push[u'body']
KeyError: u'body'
I can send a note etc to my phone.
when I try and send from my phone to PushBullet I get that error
Cheers Paul.
Traceback (most recent call last) (1669):
File "C:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 1728, in requestPushes
self.processPush(push)
File "C:\Program Files\EventGhost\plugins\PushBullet\__init__.py", line 1596, in processPush
part3 = push[u'body']
KeyError: u'body'
I can send a note etc to my phone.
when I try and send from my phone to PushBullet I get that error
Cheers Paul.
Re: PushBullet plugin (Pako)
Error on one macro
And no action on the others.
Code: Select all
PushBullet: Push to everything: note to Everything
PushBullet: Push to everything: note to Everything
Exception in thread Thread-57681:
Traceback (most recent call last):
File "threading.pyc", line 532, in __bootstrap_inner
File "threading.pyc", line 484, in run
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 2008, in push
res, flag = self.request("POST", API + "pushes", data = payload)
File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 1778, in request
resp = request(method, url, **kwargs)
File "C:\Program Files (x86)\EventGhost\lib26\site-packages\requests\api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Program Files (x86)\EventGhost\lib26\site-packages\requests\sessions.py", line 456, in request
resp = self.send(prep, **send_kwargs)
File "C:\Program Files (x86)\EventGhost\lib26\site-packages\requests\sessions.py", line 559, in send
r = adapter.send(request, **kwargs)
File "C:\Program Files (x86)\EventGhost\lib26\site-packages\requests\adapters.py", line 375, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='api.pushbullet.com', port=443): Max retries exceeded with url: /v2/pushes (Caused by <class 'socket.error'>: [Errno 10054] An existing connection was forcibly closed by the remote host)
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: PushBullet plugin (Pako)
This happens every time you run the macro?izzy wrote:Error on one macro
I need the macro.
It is possible that when this error occurs, you need to restart EventGhost.
Can you describe using more words?izzy wrote:And no action on the others.
I would have understood that in all other macros will not execute any action?
Your posts are too short, you provide little information.
The solution then takes too long. I'm not clairvoyant.
Pako
You know flattr ? You can 
