maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Software to use BT I/O board (https://talk.maemo.org/showthread.php?t=11086)

IBICO 2007-10-28 18:43

Software to use BT I/O board
 
anyone know if it is easy to make a to turn devices on/off with this BT I/O device? It would be very nice to be able to control devices like the front door of your house (opening it) or turning light/heat on off.. Maybe turn your heater in your car on before going out in the cold :)
mfc_4422

jethro.itt 2007-10-28 19:17

Re: Software to use BT I/O board
 
Looks like the module uses the Bluetooth Serial Port Profile, which is accessible from Python (the PyBluez module, included with PyMaemo). Using Python it shouldn't be too difficult to create a simple application to switch I/Os on and off.

Another way is to create a virtual RFCOMM port by using the "rfcomm" command line tool and then access the virtual serial port from software written in any language, even shell scripts.


All times are GMT. The time now is 04:49.

vBulletin® Version 3.8.8