Open jps1x2 opened 7 years ago
Tested first installing on pip_console.py following library:
pip install PushyBullet
And after installing on my qpython, testing following script receive indicated message:
import pushybullet as pb API_KEY = 'myapiKey' idRPI2='myIdDevice' api = pb.PushBullet(API_KEY) devices = api.devices() print str(devices) device = pb.Device(api, idRPI2) push = pb.NotePush('message', 'title') push.send(device)
Message received:
/data/user/0/org.qpython.qpy/files/bin/qpython-android5.sh "/storage/emulated/0/qpython/scripts/pbEnviaNotaSimplePushy.py" && exit
bEnviaNotaSimplePushy.py" && exit <
<class 'pushybullet.Device'>
Traceback (most recent call last):
File "/storage/emulated/0/qpython/scripts/pbEnviaNotaSimplePushy.py", line 5, in
Hi,
i try to use several Pushbullet libraries to send notes to other devices and always receive the following error:
ssl.SSLError: [Errno 8] _ssl.c:503: EOF occurred in violation of protocol.
Could you help me please?
Thanks in advance
jps1x2