Open mattbrailsford opened 9 years ago
Hrmm, it should work the same on a raspberry pi as it does elsewhere. Have you got a test case or some code I could use to reproduce and investigate?
It's kind of all intermingled with a bunch of other stuff I'm doing, but the dweepy bit is just bog standard
for dweet in dweepy.listen_for_dweets_from( thingId ):
if type(dweet) is not int:
processDweet(dweet)
I'll get a couple through, but then it just seems to stall. There also seems to be an issue with keeping it open that after a while of no messages you'll get an OpenSSL.SSL.ZeroResultError thrown (not sure if this is part of the issue, or whether that should be another issue).
I'm not sure if dweepy is intended for use on a RaspberryPi or not, but when I've tried to use listen_for_dweets_from, it seems really flakey at receiving dweets with it being a bit hit and miss as to whether they come through or not.
Has this been tested to run on a Pi? Or am I just using it for an unintended purpose?