taxilian / OctoPrint-Twilio

Octoprint plugin for print completion notifications using Twilio (for free w/ trial account)
GNU Affero General Public License v3.0
5 stars 9 forks source link

Bugfix: uploads.im is down. #7

Closed shadycuz closed 6 years ago

shadycuz commented 6 years ago

Uploads.im is down. Probably for good. Returning 500 with no msg. Not just the API but the website as well. Fixes #6

I have signed up for a cloudinary free account under the "Octoprint-Twilio" Moniker. I can share the creds with you if you like.

Last time you updated the py package to 0.3.0 but did not set that in setup.py. I have the set the version in setup.py to 0.3.1.

Thanks, Levi

taxilian commented 6 years ago

I've invited you as a collaborator on the project; I don't have a lot of time to work on this right now and you seem to know what you're doing =]

shadycuz commented 6 years ago

@taxilian I think you will still have to push the pypi releases.

Creating tar archive
removing 'OctoPrint-Twilio-0.3.1' (and everything under it)
running upload
Submitting dist/OctoPrint-Twilio-0.3.1.tar.gz to https://upload.pypi.org/legacy/
Upload failed (403): The user 'shadycuz' is not allowed to upload to project 'OctoPrint-Twilio'.
taxilian commented 6 years ago

Finally getting to this. I actually did bump the versions in setup.py, I just forgot to git push =] Easily disstracted, I guess.

I've made you a maintainer for the project on pypi; I'll try to remember how to submit this. I don't submit things to pypi very often (Just this, in fact) so I have to relearn each time.

taxilian commented 6 years ago

I think I figured it out, but next time you can do it yourself if you need =] At this point you've done as much original coding as I have.

Just as a point of interest, the main feature I've considered adding that I haven't yet is support for sending the text using a google voice account.

shadycuz commented 6 years ago

Hmm, do they have an API? So we create the account and people only need to enter a recipient number? I really like this idea. I'll look into the API part and probably make a new repo. The only issue is privacy. We would know everyone's phone number.

On Jan 28, 2018 5:59 PM, "Richard Bateman" notifications@github.com wrote:

I think I figured it out, but next time you can do it yourself if you need =] At this point you've done as much original coding as I have.

Just as a point of interest, the main feature I've considered adding that I haven't yet is support for sending the text using a google voice account.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/taxilian/OctoPrint-Twilio/pull/7#issuecomment-361104391, or mute the thread https://github.com/notifications/unsubscribe-auth/AQTJt8I8BVKeOx3yhwzqFE3BKzBHllY3ks5tPPvCgaJpZM4RvYGG .

taxilian commented 6 years ago

https://github.com/pettazz/pygooglevoice

http://sphinxdoc.github.io/pygooglevoice/

I haven't played with it in awhile, but if I remember correctly you needed to do something to log in on the console and it'd save the creds in your home directory; after that it would all just work.

No reason we'd need to collect any information from people for this to work, the config would all be on their system.

tedder commented 6 years ago

Please don't remove the Twilio support when doing this.

shadycuz commented 6 years ago

Separate plugin =)

On Jan 29, 2018 12:28 AM, "Ted Timmons" notifications@github.com wrote:

Please don't remove the Twilio support when doing this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/taxilian/OctoPrint-Twilio/pull/7#issuecomment-361143875, or mute the thread https://github.com/notifications/unsubscribe-auth/AQTJt-8lH9LTrlVsVmAbI6lyebVAtqRIks5tPVb7gaJpZM4RvYGG .

shadycuz commented 6 years ago

@taxilian So I looked at the API. It doesn't support MMS, though we could still pass on the link to the person. We could implement MMS our selves and Submit a PR.

The real issue is how many people are using just voice? For instance my google voice is integrated with my google hangouts, so this new plugin would not work for me.

taxilian commented 6 years ago

... huh. are you sure? Granted, my main gvoice number I've been using since before it was owned by Google, back when it was GrandCentral, but even new accounts I've set up I can send and receive SMS messages through. I haven't tried all of them through the pygooglevoice API, though.

if you go to voice.google.com do you not have a phone number and such?

My thought was that if you didn't have google voice you could just set up a gvoice account, but this is the first inkling I've heard that it might not be compatible with some gvoice accounts.

shadycuz commented 6 years ago

@taxilian You can send MMS with google voice ;) but not with the python library. https://github.com/pettazz/pygooglevoice/issues/50

I have a google voice number, but I can't use the google voice api to use it because I have it integrated into hangouts. I'm guessing most users will have it integrated into hangouts but that might be changing https://www.usatoday.com/story/tech/columnist/2017/01/29/best-android-messaging-apps-crowded-field/97155226/ . Any new accounts just for the new plugin would work fine.

image

taxilian commented 6 years ago

Interesting. I suspect that a lot of android users do that, but probably only them. Additionally, I would tend to lean towards making a google voice account just for this purpose rather than using an existing account -- but then, I use my google voice number as a "home phone" number that we give people.

Regardless, seems like it should be useful... particularly since my twilio trial has ended and I'm not sure it's worth paying for just for this.

shadycuz commented 6 years ago

I'll get a new voice number and try to reverse engineer the Google API for mms.

On Jan 30, 2018 4:43 PM, "Richard Bateman" notifications@github.com wrote:

Interesting. I suspect that a lot of android users do that, but probably only them. Additionally, I would tend to lean towards making a google voice account just for this purpose rather than using an existing account -- but then, I use my google voice number as a "home phone" number that we give people.

Regardless, seems like it should be useful.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/taxilian/OctoPrint-Twilio/pull/7#issuecomment-361744267, or mute the thread https://github.com/notifications/unsubscribe-auth/AQTJt8Q6wcVBHeuubyjVbVUoYFUI4eiBks5tP4z8gaJpZM4RvYGG .