Controlling household appliances with Raspberry Pi