Hi ,
Actually i use Raspberry as a server controlling and reading X10 existing modules Raspberry is also controlling additional Arduino slaves RF/RS232 modules like temperature , doors and windows status , the raspberry program is B4J
I have a B4A program on my Android , phone and tablets accessing to the Raspberry server controlling and reading all the devices in house