Adding groovy libraries? (specifically groovy.sql for TimescaleDB)

This is how I get my device events to InfluxDB:

Pro's and Con's aside re popularity / active user-base and activity on the topic.... The approach used was to have users setup an instance of Makler API on the HE hub, with the POST device events option configured as the target Node JS App host, then have the Node JS App interpret the built-in HE output of device events.

I mainly offer it now as an alternative design more than anything, if/how you choose to craft it into what you are trying to achieve may differ from this implementation, or you may choose to not use this approach at all.