Git Product home page Git Product logo

Comments (18)

akileos avatar akileos commented on August 13, 2024

With this we could send doorbell pictures to mobile devices :)

If you do not plan doing it I may be able to do it in March.

from mqttwarn.

jpmens avatar jpmens commented on August 13, 2024

No plans.

If you, or somebody else, do it, I'll take it. :-)

from mqttwarn.

akileos avatar akileos commented on August 13, 2024

Possible quick win : https://github.com/Azelphur/pyPushBullet

from mqttwarn.

jpmens avatar jpmens commented on August 13, 2024

If I do this for you, will you test it?

from mqttwarn.

sumnerboy12 avatar sumnerboy12 commented on August 13, 2024

I can test JP. Just installed PB the other day to give it a try.

from mqttwarn.

jpmens avatar jpmens commented on August 13, 2024

Fire away @sumnerboy12, and please attach a screenshot for me, will you? :)

from mqttwarn.

akileos avatar akileos commented on August 13, 2024

2014-02-20 09:39:28,956 mqttwarn Message received on EDF/IINST: 013
2014-02-20 09:39:28,956 mqttwarn Topic [EDF/IINST] going to ['pushbullet:ChromeMAC']
2014-02-20 09:39:28,957 mqttwarn New pushbullet:ChromeMAC' job: EDF/IINST 2014-02-20 09:39:28,957 mqttwarn processor is handling:pushbullet' for ChromeMAC
2014-02-20 09:39:28,957 pushbullet *** MODULE=services/pushbullet.pyc: service=pushbullet, target=ChromeMAC
2014-02-20 09:39:29,566 pushbullet Cannot notify pushbullet: HTTP Error 400: Bad Request
2014-02-20 09:39:29,566 mqttwarn Notification of pushbullet for `EDF/IINST' FAILED

Maybe failed on my side, hope it works for summerboy :)

from mqttwarn.

jpmens avatar jpmens commented on August 13, 2024
2014-02-20 09:39:26,864 pushbullet Cannot notify pushbullet: HTTP Error 400: Bad Request

It looks like either the python module is doing something wrong, or your apikey/deviceID are incorrect ... According to their Web page:

400 Bad Request - Often missing a required parameter.

from mqttwarn.

akileos avatar akileos commented on August 13, 2024

My bad, works correctly. Typo on DEVICE ID, shame on me.

image

( Also went to the API page to crosscheck what I might have done wrong )

from mqttwarn.

jpmens avatar jpmens commented on August 13, 2024

Great, thanks!

from mqttwarn.

sumnerboy12 avatar sumnerboy12 commented on August 13, 2024

Where did you get your device id from? I tried the 'name' but it returned with HTTP Error 400: Bad request.

from mqttwarn.

akileos avatar akileos commented on August 13, 2024

Use the pushbullet_cmd.py getdevices:

% python pushbullet_cmd.py v1uHJv4EQG1lK4fwetwetwetwemYNujBN6JwE9qC getdevices
56294qwert4213120 HP TouchPad
5707rewrwe8738688 Chrome
57410twetwe955648 Enspert CINK SLIM

from mqttwarn.

sumnerboy12 avatar sumnerboy12 commented on August 13, 2024

Thanks - yeah that is working now.

from mqttwarn.

akileos avatar akileos commented on August 13, 2024

That's me to thank you both for the quick job, I'm really happy 👍

from mqttwarn.

sumnerboy12 avatar sumnerboy12 commented on August 13, 2024

Just added some extra notes to the README to give more detail about how to obtain the device id etc. Great stuff JP.

from mqttwarn.

snauth avatar snauth commented on August 13, 2024

Sorry, I know this is not a mqttwarn question, but where did you install the pushbullet library? I tried PYTHONPATH but to no avail. I am on Debian.

from mqttwarn.

sumnerboy12 avatar sumnerboy12 commented on August 13, 2024

Just copy pushbullet.py to the mqttwarn folder and it will pick it up from there.

from mqttwarn.

snauth avatar snauth commented on August 13, 2024

Working now thanks!

from mqttwarn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.