gbour / harbour-smssync

SMS synchronization daemon for Jolla devices
GNU General Public License v3.0
3 stars 0 forks source link
desktop-app jolla mqtt phone sms

harbour-smssync

SMS synchronization daemon for Jolla devices

Everything is connected now. You want to be able to read the sms you received on your phone directly on your computer, or on your tablet.

smssync fill the gap, allowing to synchronize your sms with you desktop computer or your tablet.

WARNING: this sofware is in alpha stage. use at your own risks

! do not use it for sensible informations, or only on a local network you control !

Configuration

NOTE: SSL is mandatory, so you need to configure your MQTT server in order to accept SSL connections

jolla application

        [mqtt]
        # mqtt server ip address
        server="127.0.0.1"
        # mqtt server port
        port=8883

        # device name (used in MQTT topic)
        deviceid="jolla"
        # MQTT keepalive and ping delay (in seconds)
        keepalive=100

ENJOY :)

desktop side

you can use any MQTT client to read sms received on/sent from your Jolla phone. Here is an example using mosquitto client:

~$>  mosquitto_sub -h localhost -t smssync/#
{
  "type": "msg",
  "dir": "in",
  "id": "c7a4ba96-8233-408e-8922-653fd1baec2d",
  "content": "What's up, bro?",
  "contact": {"name": "John Doe","phoneNumber": "+33XXXXXXXXX"}
}

For convenience, I provide a simple python client in desktop-notification-client/ directory. This client display sent & received sms as desktop notifications (for 20 seconds).

It connects by default to mqtt server localhost:1883

~/harbour-smssync $> ./desktop-notification-client/smssync-notify --help
usage: smssync-notify [-h] [--server server] [--port port] [--ssl]
                      [--cacert cacert]

Smssync notification client

optional arguments:
  -h, --help       show this help message and exit
  --server server  MQTT server
  --port port      MQTT port
  --ssl            connect using SSL protocol
  --cacert cacert  SSL CA certificate

smssync-notify

Roadmap

License

harbour-smssync is distributed under GPL3 license terms.

About