@pavel-hrudka I know this is quite an old post but I discovered tonight that when openHAB would not discover my node, I hit reset on the node and openHAB discovered the sensor when it restarted and contacted the GW. May help someone in the future!
Just to let you know, that best result I got was when I changed the DHT library (sparkfun) for the one with this sketch. with this sketch.
Thank toy for your time.
PH