temply moter active using sensor value