HomeyScript (new API) and Better Logic Library

Does anyone know how to read and write BLL variables using the new, latest Homey API?

Old code:
// BLL
var testStr = “1.01,1.02,1.03”;
let BLApp = await Homey.apps.getApp({id:“net.i-dev.betterlogic” });
log(BLApp);
BLApp.apiPut(‘TestStr/’ + testStr);

Script Error
Type Error: BLApp.apiPut is not a function

Thanks! :slight_smile:

Guess you get best answers in the Better Logic Library forum by Ari

Hi SingKT!

Yeah, I guess!
I will post one question there too.

Thanks!

Please read this first, this isn’t an issue with the BLL app.

1 Like

Thanks Robert!

/Johan