Okay - sounds like you don't have a driver installed. Read this post by @veeceeoh, and install the correct driver for your lux/motion sensor:
Also, read this post: