fix a bug(using sensor id)
Merge pull request #262 from irvs/issue260

fix a bug(using sensor id)