I just released a little bugfix. I was reading the datasheet for the sensor again and refactored a little to do it exactly as described in the datasheet. The previous version was also working perfectly but I did some write actions which were not necessary.
Check it out at Github: https://github.com/jbyle/PI4JDevelopment.git
Jan