This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SpaceLynk delay
#6
Put it into a separate script and remove everything after "-- doorbird APP" from Common functions. Since there's script.disable(_SCRIPTNAME) at the end of the doorbird script it means that is should run only once and then it will automatically disable itself.

Further explanation: Common functions is a library which is loaded by every script. In your case all event scripts are delayed for at least 5 seconds because you have os.sleep(5) is Common functions. You also have a code that writes HTML to a file. Since this code is executed for every script you can quickly degrade internal SD card this way.
Reply


Messages In This Thread
SpaceLynk delay - by weblima - 17.03.2020, 22:40
RE: SpaceLynk delay - by admin - 18.03.2020, 15:32
RE: SpaceLynk delay - by weblima - 24.03.2020, 01:37
RE: SpaceLynk delay - by admin - 24.03.2020, 07:09
RE: SpaceLynk delay - by weblima - 24.03.2020, 19:01
RE: SpaceLynk delay - by admin - 25.03.2020, 07:16

Forum Jump: