Setting Logic Variable by HomeyScript

You can also create the variable in BetterLogic and update it like:

let BLApp = await Homey.apps.getApp({id:“net.i-dev.betterlogic” });
BLApp.apiPut(‘Klok12h/’ + theHour);