Optical beam smoke detector with bluetooth connection to configure over app with Android or iOS device