HMC5883L GY-273 does not work as compass

If anyone is still experiencing problems trying to get the HMC5883L GY-273, which is actually actually the QMC5883L version then have a look at https://leobot.net/viewproduct.aspx?id=2940 for links to the libraries and tutorials on how to use it.