Page 21 of 34
Re: PushBullet plugin (Pako)
Posted: Sat Nov 21, 2015 11:31 am
by Pako
Frosty1981 wrote:Is there any plan to implement iPhone support as well from the PC end of things for sending sms from pc to smartphone?
It seems that you have a rather distorted ideas about the possibilities Eventghost within Pushbullet.
Pushbullet plugin (within Eventghost), it is only one Pushbullet device and it can not offer any features that Pushbullet as such, does not have in its bid.
I do not know why Pushbullet developers do not offer this feature.
How do I send text messages from my computer?
Maybe iPhone operating system does not allow this.
Maybe that is why the move to Android.
Pako
Re: PushBullet plugin (Pako)
Posted: Fri Dec 11, 2015 8:17 pm
by charisma_charisma
Has anyone had problems with Pushbullet plugin going wild?
For 2 minutes it just goes:
PushBullet: Channels received: []
PushBullet: Targets derived: []
PushBullet: Devices derived: []
Then I get ratelimited for performing too many requests/ops in a short period of time.
My log is attached.
Attachment deleted for security reasons.
Re: PushBullet plugin (Pako)
Posted: Sat Dec 12, 2015 7:56 am
by charisma_charisma
I've updated both Eventghost and Pushbullet plugin,
and now I've started getting this:
2015-12-12 08:38:43 ERROR: Exception in thread Thread-4:
2015-12-12 08:38:43 ERROR: Traceback (most recent call last):
2015-12-12 08:38:43 ERROR: File "threading.pyc", line 532, in __bootstrap_inner
2015-12-12 08:38:43 ERROR: File "threading.pyc", line 484, in run
2015-12-12 08:38:43 ERROR: File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3531, in updateDevices
2015-12-12 08:38:43 ERROR: self.getAccount()
2015-12-12 08:38:43 ERROR: File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3431, in getAccount
2015-12-12 08:38:43 ERROR: account, flag = self.request("GET", API + 'users/me')
2015-12-12 08:38:43 ERROR: File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3401, in request
2015-12-12 08:38:43 ERROR: eg.PrintError(reqErr % str(resp))
2015-12-12 08:38:43 ERROR: NameError: global name 'reqErr' is not defined
2015-12-12 08:38:43 ERROR:
Attachment deleted for security reasons.
Re: PushBullet plugin (Pako)
Posted: Sat Dec 12, 2015 8:27 am
by Pako
I'm sorry, but it is a bug, that prevents write "Request error".
Please, before being released a new version, open the file __init__.py in Notepad.exe, and modify the line 3401 as follows:
Code: Select all
eg.PrintError(self.text.reqErr % str(resp))
Then restart EventGhost.
Although the original problem will not removed, but hopefully we'll know more.
Pako
Re: PushBullet plugin (Pako)
Posted: Sat Dec 12, 2015 8:36 am
by charisma_charisma
I've opened it with Notepad, but I can't find my way in this file, I can't recognize line 3401, sorry for being a noob..
Do you have any advice on 2 minutes PushBullet: Channels received: [] PushBullet: Targets derived: [] PushBullet: Devices derived: [] loop?
I've contacted PB developers and waiting for them to response.
Re: PushBullet plugin (Pako)
Posted: Sat Dec 12, 2015 8:45 am
by Pako
1) Please enable the "Status bar" in the Notepad.exe. Then you will see a line where you are. Or you can use the search function to find the string reqErr.
2) I think PB devs can not help in this case.
Pako
Re: PushBullet plugin (Pako)
Posted: Sat Dec 12, 2015 9:13 am
by charisma_charisma
OK, I changed the line 3401 as per your instructions and got this:
2015-12-12 10:09:01 AUTOSTART: Autostart
2015-12-12 10:09:01 Plugin: Log redirector and filter
2015-12-12 10:09:01 NOTICE: LogRedirector started
2015-12-12 10:09:01 Plugin: PushBullet
2015-12-12 10:09:01 Plugin: Task Create/Switch Events
2015-12-12 10:09:01 Plugin: Directory Watcher
2015-12-12 10:09:01 ACTION: Wait: 10.0 sec
2015-12-12 10:09:04 INFO: PushBullet: Devices received: [{u'iden': u'ujy8tuFSuS4sjz6ovqF5Qi', u'icon': u'desktop', u'created': 1444117759.3826051, u'nickname': u'LENOVO', u'modified': 1449904412.477345, u'fingerprint': u'{"cpu":"Intel64 Family 6 Model 58 Stepping 9, GenuineIntel","computer_name":"LENOVO"}', u'active': True, u'remote_files': u'disabled', u'model': u'Windows 8.1 Enterprise', u'app_version': 383, u'type': u'windows', u'kind': u'windows', u'pushable': True, u'manufacturer': u'Microsoft'}, {u'iden': u'ujy8tuFSuS4sjz2Jip7C4O', u'remote_files': u'enabled', u'icon': u'phone', u'created': 1446117355.3947761, u'generated_nickname': True, u'nickname': u'LGE Nexus 4', u'modified': 1449853613.8968089, u'push_token': u'czJ8mIXg4dE:APA91bHBnBkOSsGZV63zozheOS0F2ImWgfOGsHdUJtqmm4JIibFZI_OhmijEVJxEdKES9zRxLbCkMwx5x710MmugmeYlfOLCPJUM2lyaIAE9PeC8c6ILe1VtNag95b1WP41xTr8VYNtT', u'fingerprint': u'{"android_id":"58e6a1ba7bf9e19c"}', u'active': True, u'has_sms': True, u'model': u'Nexus 4', u'pushable': True, u'type': u'android', u'kind': u'android', u'manufacturer': u'LGE'}, {u'iden': u'ujy8tuFSuS4sjAg5IBbYVU', u'icon': u'browser', u'created': 1433605698.727443, u'nickname': u'Chrome', u'modified': 1446455364.591423, u'active': True, u'model': u'Chrome', u'app_version': 188, u'type': u'chrome', u'kind': u'chrome', u'pushable': True, u'manufacturer': u'Google'}, {u'iden': u'ujy8tuFSuS4sjAwyd99cbY', u'icon': u'system', u'created': 1445701353.8655949, u'nickname': u'Eventghost', u'modified': 1446455318.345432, u'active': True, u'model': u'plugin by Pako', u'app_version': 211, u'type': u'stream', u'kind': u'stream', u'pushable': True, u'manufacturer': u'EventGhost'}]
2015-12-12 10:09:04 ERROR: Exception in thread Thread-4:
2015-12-12 10:09:04 ERROR: Traceback (most recent call last):
2015-12-12 10:09:04 ERROR: File "threading.pyc", line 532, in __bootstrap_inner
2015-12-12 10:09:04 ERROR: File "threading.pyc", line 484, in run
2015-12-12 10:09:04 ERROR: File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 3570, in updateDevices
2015-12-12 10:09:04 ERROR: key_fingerprint = getKeyFingerprint(self.key)
2015-12-12 10:09:04 ERROR: File "C:\Program Files (x86)\EventGhost\plugins\PushBullet\__init__.py", line 363, in getKeyFingerprint
2015-12-12 10:09:04 ERROR: hash.update(key)
2015-12-12 10:09:04 ERROR: TypeError: update() argument 1 must be string or read-only buffer, not None
2015-12-12 10:09:04 ERROR:
2015-12-12 10:09:11 ACTION: PushBullet: Push: note to "LGE Nexus 4"
2015-12-12 10:09:11 NOTICE: PushBullet: No connectivity, waiting ...
Re: PushBullet plugin (Pako)
Posted: Sat Dec 12, 2015 8:08 pm
by Pako
I apologize for the delay, but I also have something else to do.
But now it should be okay, try the version 0.2.13.
Pako
Re: PushBullet plugin (Pako)
Posted: Sat Dec 12, 2015 9:14 pm
by charisma_charisma
Of course, I understand.
The version 0.2.13. works without error messages in red, but there's the initial problem again:
my Pushbullet actions are executed for a minute or two, but I'm also getting:
PushBullet: Channels received: []
PushBullet: Targets derived: []
PushBullet: Devices derived: []
messages constantly in that period and then I get "ratelimited for performing too many requests/ops in a short period of time."
Re: PushBullet plugin (Pako)
Posted: Sun Dec 13, 2015 6:58 am
by Pako
Please set the Logging level = 5.
Then send me EventGhost_Log.txt file to the address found in the PM.
You obviously have to wait for some time to avoid (at least initially) ratelimit problem.
I do not know how it works, I've never met ratelimit.
It might also help to attach your EventGhost configuration file (XML).
Note:
Are you sure that you have properly configured API key and unique device nickname?
Pako
Re: PushBullet plugin (Pako)
Posted: Thu Dec 31, 2015 5:15 pm
by bryanleesterk
Am I blind or is the __init__.py not in the opening post?
Re: PushBullet plugin (Pako)
Posted: Thu Dec 31, 2015 6:07 pm
by Pako
bryanleesterk wrote:Am I blind or is the __init__.py not in the opening post?
I apologize and thank you for the warning.
It happened accidentally.
Now this is OK again.
Pako
Re: PushBullet plugin (Pako)
Posted: Fri Jan 08, 2016 11:09 am
by wubudu
Hi, after updating i get the following errors all the time:
12:05:37 PushBullet: Haven't seen a nop lately, reconnecting
12:05:37 PushBullet: WebSocket error: [Errno 1] _ssl.c:480: error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unknown message digest algorithm
12:05:37 PushBullet.WebSocketClosed
and 40sec later it repeats again and again...
Any help? Thanks
Re: PushBullet plugin (Pako)
Posted: Fri Jan 08, 2016 11:22 am
by Pako
Which version EventGhost you use?
Pako
Re: PushBullet plugin (Pako)
Posted: Thu Jan 14, 2016 5:15 pm
by kevinb77
I am looking to use Push Bullet and EG to do the following:
Everytime I get a specific push (to any device) - plexWatch
Send the data in that Push to a Google Drive spreadsheet and sort it by user date and time.
I was told this is the place to come to get this going.
Any help would be greatly appreciated.