<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Notifications working, UBports is now my daily driver]]></title><description><![CDATA[<p dir="auto">I just today finished coding up an alternative notification system; since I run my own message and notification server, I can do things like this.  It uses a UDP-based protocol I cooked up, and I'll see how it holds up over a trip I'm taking for the next week.  I have pop-up display, sound, and blinking LED for notifications.  Reading the actual notifications is via a web interface.</p>
<p dir="auto">Anyway, anybody who's interested:<br />
<a href="https://github.com/vandys/webXMPP" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/vandys/webXMPP</a></p>
<p dir="auto">The files <a href="http://udp.py" target="_blank" rel="noopener noreferrer nofollow ugc">udp.py</a> and <a href="http://notified.py" target="_blank" rel="noopener noreferrer nofollow ugc">notified.py</a> are the main parts of this work.  At its core the server handles being an XMPP client as a proxy on your behalf, it also talks SMS via a VoIP provider for SMS messaging.</p>
<p dir="auto">Andy</p>
]]></description><link>https://forums.ubports.com/topic/399/notifications-working-ubports-is-now-my-daily-driver</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 16:43:47 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/399.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Jul 2017 00:30:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Notifications working, UBports is now my daily driver on Tue, 11 Jul 2017 02:47:10 GMT]]></title><description><![CDATA[<p dir="auto">Update...</p>
<p dir="auto">During my trip, I had to switch back to my old phone due to a bug in the Python3 notification2 library.  _closed_callback() was using an "nid" which wasn't in the notifications_registry any more.  I coded some defensive logic and logging, and will see what's going on.</p>
<p dir="auto">But with that workaround, I have been able to daily drive my Nexus 5 for the second day now.  I'm able to keep real time notifications with one 150 byte packet sent and received every 2.5 minutes.  It lives fine behind NAT, and also seems fine with the transition from Wifi to mobile data and back.</p>
]]></description><link>https://forums.ubports.com/post/2858</link><guid isPermaLink="true">https://forums.ubports.com/post/2858</guid><dc:creator><![CDATA[vandys]]></dc:creator><pubDate>Tue, 11 Jul 2017 02:47:10 GMT</pubDate></item></channel></rss>