Home automation in Raspberry Pi using Rails and X10. Does not work