Reading sensors that are not natively integrated into OpenDevice can be done simply by providing a function that will be used for reading.
...
See this example:
https://github.com/OpenDevice/opendevice-lib-arduino/blob/master/examples/CustomSensor/CustomSensor.
...
...