Personal tools
Document Actions

Tux detects your presence with a bluetooth phone

Up to Scripts

Tux detects your presence with a bluetooth phone

Posted by Vincent Fretin at April 19. 2007

Ping your phone regularly to detect your presence.
When you come back, Tux will ask you if you have had a good day.
If you leave the house, Tux will be sad too.

Requirements:
You need PyBluez, a phone with bluetooth enabled and bluetooth on your PC.

How to configure this script:
1) execute "sdptool browse" to collect information about your phone
2) modify the target_address variable with the address of your phone
3) modify CHECK_PROFILE with a profile available in your phone

CHANGES
=======
2007/04/19 - version 1.0:
    - initial version


Attachments

Re: Tux detects your presence with a bluetooth phone

Posted by Philippe Goossens at April 23. 2008

Cool script!


My phone is found by his MAC or ID, I changed also the "CHECK_PROFILE" to Headset


But Ubuntu does not find my phone, he connects/disconnects


Pybluez is installed correctly by apt-get


Phone : Samsung SGH-E340, changed my bluetooth name to Tux en noted it also in the config






Can somebody help to get my bluetooth right? Thanks  




Re: Tux detects your presence with a bluetooth phone

Posted by Philippe Goossens at April 23. 2008

Finded out the issue


Must download gnome-bluetooth with apt-get for Ubunut


Now I can see my telephone with the hcitool info :)


Powered by Ploneboard
You are here: Home Forum Scripts Tux detects your presence with a bluetooth phone

Powered by Plone CMS, the Open Source Content Management System