https://github.com/rkoshak/sensor Reporter is one way.
Integrating reelyActive on a Raspberry Pi 3 with openHAB over MQTT is another.