This is the original tutorial.
I’m no shell script programmer but I’ve managed to change it over the years to mostly use MQTT rather than REST
The logon routine and the getdata function are the ones that need changing.
I have to say that i use it strictly as read only as the Hive app is good enough for control.
Also I don’t have any bulb nodes but I do have switches and TRV’s and was able to modify the code myself as it is quite logical.
The reason you maybe can not get to the discussion link is that you need the same credentials as your Hive App