New statement -> Action, devices = Location is grayed out, can't add a task


#1

1) Give a description of the problem
I’m trying to add a new statement (as indicated in the image below), then action, devices = Location but when I drop down the list under devices I see location is grayed out; hovering the mouse over this shows a black stop icon.

image

I select Add Task but nothing happens.

2) What is the expected behaviour?
I was hoping to be able to add a task

3) What is happening/not happening?
Nothing as indicated above.

**4) Post a Green Snapshot of the piston

5) Attach logs after turning logging level to Full
No logs yet.

I’m curious if I’m missing something? I appreciate any help or advice :-).

Thanks, Ian


#2

For generic commands, just ignore the drop down menu, and click in the lower right corner instead:

pic

Once you click “Add a task”, a new window will popup that allows for the specific task.


Alternatively, you can create the task in a new block elsewhere, and then drag & drop it in place.


#3

Thanks for taking a look. Left mouse clicking on the “Add a task” button is also not responding hence why I reported more details just in case they’re relevant??? I’ve not seen this issue before but this is a piston that I’ve been hacking a lot as I’ve not yet got the behavior I’m after (that’s another long story!)…


#4

Uggg… There is a chance the piston may have become corrupt.

I would likely:
Pause your current piston
DupPiston
Test and work with the new piston.

This could potentially resolve corruption.


Hopefully this next bit won’t apply to you, but there have been times in the past where I had to recreate the piston from scratch… Using a green snapshot as a visual reference.

(I would likely test a drag & drop before going this last route though)


#5

OK, thanks, this is good to know :-). I’ll give that a go and report back.

I love this stuff and I’m hugely appreciative of all the work but… Sometimes I wish I could just use a good old text editor like Notepad++ and copy and paste :-).


#6

No luck with the duplication! I also tried to copy a similar statement with the intention of modifying it once pasted but the paste command didn’t work either.


#7

And also with a brand new piston I see the same behavior; I also tried using two different browsers just in case this is an issue…


#8

Go to your instance of webCoRE in the ST app > settings > clean up and rebuild data cache. Also clear your browser cache for webcore.co


#9

I did find a workaround, rather than using the elif/then use else and then add a new if statement.


#10

Thanks, I’ll give that a go also. Will report back.


#11

It got a little better, I can get to the add task interface but when I hit add it doesn’t add anything… So I have this:

But no code when I hit the add button. I’ll go with the workaround for now. It’s not as elegant imho!