Page 1 of 1

Problem with text device

Posted: Thursday 12 December 2019 12:08
by Wiktor
I've been trying to trigger 1st lamp if Roomba is charging and 2nd if roomba is stoped but something doesn't work.
I have dummy text device linked with Roomba where i have roomba status every ~10 minutes

Re: Problem with text device

Posted: Thursday 12 December 2019 12:27
by waaren
Wiktor wrote: Thursday 12 December 2019 12:08 I've been trying to trigger 1st lamp if Roomba is charging and 2nd if roomba is stoped but something doesn't work.
I have dummy text device linked with Roomba where i have roomba status every ~10 minutes
Have you seen this topic ?
In short:
You try to use the Value of a text device as trigger for the script (in the if part) but in Blockly this value can only be used in the do part. See the tooltip for this element when you hover over it with your mouse-pointer.