This library needs openHAB 4 and will not work on any earlier openHAB release. Open a ticket at github for openHAB 3 support, if there are enough requests, I might think about rewriting and testing ...