Difference between revisions of "PinePhone MMS with Matrix"

Jump to navigation Jump to search
m (Fxc moved page Pinephone MMS with Matrix to PinePhone MMS with Matrix: naming convention)
(typos)
Line 1: Line 1:
This is a possible way to get mms fully working by relaying sms to a matrix server with a bridge from mmsd, and using the fractal matrix client to interact with them. Most of this should be cut and pastable. On Mobian, incoming and outgoing mms works with images displayed in line. Outgoing messages over the max size are sent as a link. The link will not resolve if matrix is hosted on the pinephone itself.
This is a possible way to get MMS fully working by relaying SMS to a matrix server with a bridge from MMSD, and using the fractal matrix client to interact with them. Most of this should be cut and pastable. On Mobian, incoming and outgoing MMS works with images displayed in line. Outgoing messages over the max size are sent as a link. The link will not resolve if matrix is hosted on the PinePhone itself.


This is being tested on mobian and arch with phosh.
This is being tested on Mobian and Arch with Phosh.


On arch matrix-synapse 1.29.0-1, fractal 4.4.0-2 (saving login doesn't work), kop316 mmsd v0.3 -- Works for sms, but images don't go through in or out. Unresolvable links are sent out, so maybe small images will go?
On Arch matrix-synapse 1.29.0-1, fractal 4.4.0-2 (saving login doesn't work), kop316 mmsd v0.3 -- Works for SMS, but images don't go through in or out. Unresolvable links are sent out, so maybe small images will go?


On mobian I'm using matrix-synapse-py3 1.30.0+bionic1 (on a remote VPS server), fractal 4.4.0-2 (and saving the login actually works), kop316 mmsd 0.1-2.2, and images DO go through in and out, with resolvable links out for large images. With matrix_synapse-1.32.2 from pip installed locally images are received but unresolvable links are sent, perhaps this works fine with smaller images though.
On Mobian I'm using matrix-synapse-py3 1.30.0+bionic1 (on a remote VPS server), fractal 4.4.0-2 (and saving the login actually works), kop316 mmsd 0.1-2.2, and images DO go through in and out, with resolvable links out for large images. With matrix_synapse-1.32.2 from pip installed locally images are received but unresolvable links are sent, perhaps this works fine with smaller images though.


=Install packages=
=Install packages=
==arch==
==Arch==
start with a nice and up to date danctnix arch arm pinephone install, mine is from April 20 2021. Ssh into the pinephone and then run this to install all the needed packages
Start with a nice and up-to-date Danctnix' Arch ARM PinePhone installation, mine is from April 20 2021. SSH into the PinePhone and then run this to install all the needed packages


<pre>
<pre>
Line 15: Line 15:
</pre>
</pre>


==mobian==
==Mobian==


=Set up Matrix Synapse on localhost=
=Set up Matrix Synapse on localhost=
Line 39: Line 39:


=Install MMSD=
=Install MMSD=
Grab the git repo and install it
Grab the git repository and install it:


<pre>
<pre>
Line 51: Line 51:
</pre>
</pre>


==Settings for tmobile==
==Settings for T-Mobile==
This config works for me
This config works for me


Line 89: Line 89:
</pre>
</pre>


=Install mms bridge=
=Install MMS bridge=
Grab it from git and put things in places
Grab it from git and put things in places


Line 102: Line 102:
</pre>
</pre>


==Configure mms bridge==
==Configure MMS bridge==
This will mostly take care of editing the config for you if you are running a local matrix server.
This will mostly take care of editing the config for you if you are running a local matrix server.


Line 146: Line 146:
</pre>
</pre>


==Set up mms bridge service==
==Set up MMS bridge service==


Make systemd unit
Make systemd unit
Line 188: Line 188:


=Done=
=Done=
At this point if you get a message a new room should be created by the bridge bot which you will be invited to. Needs more testing to find problems. Outgoing works for replies but I can't seem to find the 'set topic' button so new rooms can't be created that the mms bridge can use. The ones the bridge creates work fine though.
At this point if you get a message a new room should be created by the bridge bot which you will be invited to. Needs more testing to find problems. Outgoing works for replies but I can't seem to find the 'set topic' button so new rooms can't be created that the MMS bridge can use. The ones the bridge creates work fine though.