Iio-sensor-proxy isn't working

I managed to install the bundle of iio-sensor-proxy to enable automatic screen rotation in my tablet (Lenovo ThinkPad 10) and automatic screen brightness adjusting and it doesn’t work, I know that in gnome it should work ootb, on Fedora screen rotation works as it should.