|
2010-12-12
, 00:46
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#192
|
http://mosquitto.org/ is the software that I am talking about. It does not have the ability to poll gmail, or other email services built in. MQTT is a pub/sub system where you can subscribe to topics from the server. The device then receives updates whenever the server posts a new message in one of the topics. My plan was to have the device (n900) subscribe to topics based on what types of notifications it wants to receive from the server (email, google voice, etc).
The server then receives emails when it needs to notify the n900 (for google voice sms messages), or it polls a server to determine when to push the information to the device (for facebook messages, etc).
Email can either be handled by forwarding your email to the server (an option in gmail), or by polling the server for new messages).
I played around with creating an imap4 client on the server that could check for new messages, and notify the n900, but it was a lot harder than I thought (noticing that there is a new email is difficult without storing all of the email so you can tell when there is a new one), so this would require some more work.
|
2010-12-12
, 00:50
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#193
|
First, thanks for the link.
Second, I'm really impressed by this and more so because of this video.
I'll need to read up more on this topic and try it out.
|
2010-12-13
, 13:26
|
Posts: 2 |
Thanked: 3 times |
Joined on Dec 2010
|
#194
|
|
2010-12-15
, 01:47
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#195
|
Hi there,
I'm the author of mosquitto. I'd just like to point out that some of the MQTT features you might want to use aren't in mosquitto yet - specifically client authentication and access control lists as added in v3.1 of the MQTT spec. They'll be in the next release, but if you can't wait that long they are supported in the IBM "free for evaluation" broker, rsmb. Mosquitto uses the same config file format as rsmb, so you'll be able to swap between them.
I'm also keen on making sure mosquitto can run on more restricted/unusual devices - so if you need help getting it on a dd-wrt router or similar then feel free to get in touch.
It's good to hear interest in MQTT for this kind of application - it's exactly the situation its suited for.
Best of luck!
Cheers,
Roger
|
2010-12-15
, 18:47
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#196
|
|
2010-12-15
, 19:31
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#197
|
|
2010-12-16
, 01:44
|
|
Posts: 1,684 |
Thanked: 1,562 times |
Joined on Jun 2008
@ Austin, TX
|
#198
|
Heads up on a imminent problem: qgvdial may not be able to login to google voice.
GV servers have started pushing the iPhone Google Voice app on the Google voice Webapp. I don't exactly know how to bypass / fix this.
Suggestions welcome.
|
2010-12-16
, 02:26
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#199
|
Mind sharing what was the matter in case it is something to hit DC/TOR also?
It sounds like you are using an iPhone UA? I'm guessing they changed the login page for iOS UAs and it broke how you scraped login? Were you intentionally using an iOS version of the site?
I'm using a firefox 3.5 UA and using the generic mobile site.
|
2010-12-17
, 10:19
|
Posts: 2 |
Thanked: 3 times |
Joined on Dec 2010
|
#200
|
I tried playing around with the qos values, but I am not sure that I understand them. What is the best way to send a message, and ensure that it gets delivered, even if the client is offline?
The server then receives emails when it needs to notify the n900 (for google voice sms messages), or it polls a server to determine when to push the information to the device (for facebook messages, etc).
Email can either be handled by forwarding your email to the server (an option in gmail), or by polling the server for new messages).
I played around with creating an imap4 client on the server that could check for new messages, and notify the n900, but it was a lot harder than I thought (noticing that there is a new email is difficult without storing all of the email so you can tell when there is a new one), so this would require some more work.