Can't Load Broken Piston


#1

Just as the title says. I have a Piston that I edited a couple of weeks back, somewhere I created a loop when a particular virtual switch turns on. I need to get into the piston to edit it. However, when I attempt to I am unable to get into this piston at all. It just continually tries to load. I’m able to get into and load all my other piston but this one. Any ideas?

Sometimes I will also get an error that says “Sorry, an error occurred while retrieving the piston data.” with a button to go back to the WebCoRE dashboard.


#2

Have you tried logging our of webCoRE and back into it?


#3

I have. I’ve also tried on several different devices.


#4

Is it a large piston with a large number of chunks? Have you tried opening your webcore instance in the ST app > settings > clean up and rebuild data cache?


#5

Yes it is quite a large Piston. I was having fun with a LiFX bulb a couple of years back and created a working weather ball lol. Now when it rains it never quits flashing and it’s only supposed to do it like 5 times.

I just tried to clean up and rebuild data cache and it still just sits on the loading screen.

What if I clear all data except variables or clear all data in the classic app? You can actually delete it from the classic app too but I’m trying to avoid that…if I do that I’ll just get rid of the bulb lol.


#6

I’ve had this problem and had to recreate the piston.

You can remove the piston from the smartthings ide. If you go into mylocations, then click smartapps you can see your pistons. If you click the edit button at the top, you can then select and delete the piston.


#7

You may want to try duplicating the piston and see if it opens. I have seen that pistons that get above 21 chunks in size start tO exhibit issues and it was recommended to stay about 16 or less in size. If you are able o open the duplicate, you can break it into multiple pistons. You can remove the remaining large one in IDE as pointed out above.


#8

I got it!!! Thank you!! Instead of deleting it from the IDE. I clicked update and then opened it and refreshed it. I’m not sure which fixed it but I can now access my Piston.


#9

Ouch it’s 24 chunks lol.


#10

Yes, that is large. You may want to try breaking it into two pistons if possible.


#11

So what seems to be happening is that my rain and snow virtual switches are looping for some odd reason. There’s no reason they actually should be. When they loop they break access to the Piston. So going into the IDE, locations, smart apps, find the Piston and then click update…this seems to be the method to get access back. Now the flashing isn’t looping though. It flashes like 3 times and then stops, once it stops flashing the Piston is broken.


#12

You may want to post images of your pistons. Someone will be able to assist with how they can be improved upon. @WCmore loves piston design… he is a piston engineer… piston whisperer… piston god :slight_smile:


#13

Well, I don’t know about that last one, but thank you for the compliment, LOL


#14

This is actually the solution to the entire bug. The Piston itself seemed to be looping, probably because of size. For some reason it acted fine for the last 2 years, with no issue. When I moved into this new place this started. Breaking it up fixed the loop and the breaking of the Piston. I broke it into 4 different Pistons.