I need to set a variable in BetterLogic from a HomeyScript

Start by asking this in the dedicated Better Logic topic please.

You mean the instructions on the BLL app store page don’t function?

Recent changes for Homeyscript
https://athombv.github.io/com.athom.homeyscript/tutorial-migrate.html