I was wondering whether Maker API may have even been an option for you for a Hub Variable, but am not sure of the current state of connectors and alike for them.
As an alternative, if you get stuck, you could try my Generic Attribute Driver and link it up to Maker API.
But I would strongly recommend pursuing the HV route further to see if you can use the built-in option first.