The tiny, wireless sensor uses machine learning to determine if psychophysiological are consistent with opioid cravings.