To enable sensors for chrome, open given link (copy and paste) in chrome and makeGeneric Sensor Extra Classesto enable andGeneric Sensorfeature flag to enable motion sensors on the previous Chrome versions (before Chrome 67). Restart Chrome and you should be good to go. Link 1:
chrome://flags/#enable-generic-sensor-extra-classes -Click to Copy
Magnetometer
A magnetometer is a device that measures magnetic field or magnetic dipole moment. Some magnetometers measure the direction, strength, or relative change of a magnetic field at a particular location.