I have this flow but need to change the value of the ‘Result’, but i cant figure out how to access that value form the script? Args doesn’t contain any information, so how else can access the Result form Logic Parse card?
Does result has any value before you ask the script to do anything with it? When looking at something I created, the syntax seems right:
I’m handig over a complete JSON string via “Body” but as said the syntax seems right for args[0]
Yes, the Result tag has a correct value and passes to the virtual sensor perfectly. I just need to divide by 1000. However args in the script contains no values. The script works fine as a standalone test and manually giving it an argument.
Maybe use the BLL card “run BLL expression (as tag)” instead? I’m translating from dutch, so maybe not exact match.
Great thanks, yes that works, still it would be nice to able to get the value into a script directly
I let Google AI make my script; it has step-by-step instructions on what you need to do.
I don’t understand it at all, but it works. ![]()



