Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#311
New build in extras-devel: Mosquitto support!
Use the mosquitto server and the script in the tar.gz in the comment above this one.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#312
gv_notify appears to only be noticing new conversations. When a new message for an old conversation arrives, the notifier doesn't do anything.

Is it doing the same thing for you?

edit:
An enhancement request: The ability to change the topic that qgvdial subscribes to.

And what QOS value do you use (I think a value of 1 makes it so the server queues messages until you come back online)?

Last edited by xur17; 2011-02-26 at 19:43.
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#313
Originally Posted by xur17 View Post
gv_notify appears to only be noticing new conversations. When a new message for an old conversation arrives, the notifier doesn't do anything.

Is it doing the same thing for you?
Yes it does, but I haven't figured out why. gv_notify is based off the python Google Voice interface. I know a little python, but I don't know enough to understand how that script does what it does.

Originally Posted by xur17 View Post
edit:
An enhancement request: The ability to change the topic that qgvdial subscribes to.
Sure. Next build should have this.

Originally Posted by xur17 View Post
And what QOS value do you use (I think a value of 1 makes it so the server queues messages until you come back online)?
As of this moment, I haven't even looked into all that. I've just brought it to the point where it barely works.
Putting QOS = 1 seems like a good idea. I'll try it out.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#314
Originally Posted by uvatbc View Post
Yes it does, but I haven't figured out why. gv_notify is based off the python Google Voice interface. I know a little python, but I don't know enough to understand how that script does what it does..
Upi are isomg a version of gv_notify? Mind pointing me to it, I might be able to give some suggestions
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#315
Originally Posted by epage View Post
Upi are isomg a version of gv_notify? Mind pointing me to it, I might be able to give some suggestions
I've posted a tar.gz for gv_notify in this comment. It's a direct copy of pygooglevoice and a small script (gv_notify.py) to continuously poll for new messages.

btw, Ed: you should also consider using mosquitto and this script to provide updates to TOR and DC. I've made sure that mosquitto runs in Diablo as well as Fremantle.
There are python bindings, however from what xur17 reports, they are not "in the $PATH". I don't know what the path is supposed to be, so I'd like help there too.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 

The Following User Says Thank You to uvatbc For This Useful Post:
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#316
New build:
-> Mosquitto settings now has the topic to subscribe to.
-> When terminating the mq thread, unsubscribe and disconnect.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#317
Originally Posted by uvatbc View Post
I've posted a tar.gz for gv_notify in this comment. It's a direct copy of pygooglevoice and a small script (gv_notify.py) to continuously poll for new messages.

btw, Ed: you should also consider using mosquitto and this script to provide updates to TOR and DC. I've made sure that mosquitto runs in Diablo as well as Fremantle.
There are python bindings, however from what xur17 reports, they are not "in the $PATH". I don't know what the path is supposed to be, so I'd like help there too.
Ed: I was playing around with the mosquitto python libraries, and was going to write a short (a couple lines) script to receive mosquitto updates from gv_notify, and update TOR, then recommend you add it to your script. It is really easy to work with once you get the python bindings to work. See the separate post about mosquitto libraries by uvabtc.
 

The Following User Says Thank You to xur17 For This Useful Post:
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#318
New build:
-> Updated Mosquitto support. Now with qos = 1.
-> Corrected changelog in Maemo and Linux debianization process.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#319
I got your script to work by using the function here.

My script is definitely not very efficient, but it seems to be working. I attached a copy of the possible replacement gv_notify.py file (it would replace the old one). Let me know what you think (I don't think it checks for new voicemails right now).

How much network traffic does each update request takes? We are polling every 5 seconds, and I don't want google to get mad and ban my account or something...
Attached Files
File Type: gz gv_notify.py.gz (984 Bytes, 105 views)
 

The Following User Says Thank You to xur17 For This Useful Post:
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#320
New build.
I got sick of trying to fix the Windows build with the mosquitto cpp dll and I shifted it all to the C api. This change was propagated to the Maemo build as well, so here it is.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:52.