Hi Henrik!
Just an update, it turned out I had a bad sensor! Got a new one and it seems to work fine!