add syphon and hap code