Skip to content

ChrisDeadman/pyPhone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyPhone 1.0.0a2

Author: ChrisDeadman

Minimalistic phone client using python-gammu.

This is what pyPhone was created for (so don't expect it to look great on a desktop screen, lol):

pyPhone_in_action

Feature list

  • Make outgoing calls
  • Receive incoming calls
  • Monitor phone and connection status
  • Load google contacts via Google People API v1

TODO list

  • SMS support
  • Phone-stored contacts support
  • Call mangling support (?)
  • Calender support (?)

Known Issues

  • Answering a call does not show ongoing call window for 30-60secs
    This was a bug in libgammu and has been fixed here.
    You might need to install a newer libgammu from source depending on your distro.

Installing

You can install the usual way for python modules using distutils, so use setup.py which is placed in the top level directory:

python3 setup.py build
sudo python3 setup.py install

Logging

Since this is an early version it may be neccesary to check ~/.pyPhone/pyPhone.log in case something is not working.

Change level in ~/.pyPhone/pyPhone.config to either one of DEBUG, INFO, WARNING, ERROR, CRITICAL to increase or decrease the log level:

[LOGGING]
level = DEBUG

Google People API

To support loading contacts from your google account, enter client-id and client-secret in ~/.pyPhone/pyPhone.config:

[GAUTH]
client-id = your_client_id
client-secret = your_client_secret

Those can be obtained by creating a google API key (enable Google People API)

Required versions

  • Python >= 3.5
  • libgammu >= 1.38.6

Supported Operating Systems

  • Linux (tested on Ubuntu and Raspbian)
  • MacOS (?)
  • Windows (?)

Application icon credits go to:

Release notes

pyPhone 1.0.0a2

  • Bugfix: fix calls not detected after error-status during answering
  • Bugfix: fix event detection delay by using ReadDevice() for polling
  • Display more phone information on the information screen

pyPhone 1.0.0a1

  • Initial release