improved my sensors support with postgres backend