What should we install to build SmartApp on any local devices?


(MinKyu Park) #1

Now, we are facing the build error issue to build SmartApp codes which we have developed in SmartThings IDE environment on our local windows PC.

Although we installed groovy and java, some errors still remain as follows:

groovy.lang.MissingMethodException: No signature of method: definition() is applicable for argument types: (java.util.LinkedHashMap) values: ~~
groovy.lang.MissingMethodException: No signature of method: preferences() is applicable for argument types: ~~
groovy.lang.MissingMethodException: No signature of method: mappings() is applicable for argument types: ~~

  1. What should we install to resolve this issue? Do we need to get smartthings libraries to provide SmartThings APIs??
  2. Suppose there is any package we should install, how can we get the material(libraries…)?

(Dave) #2

How is this effort going? Can you build a PC app?


(Jody) #3

It’s an old code, but it still checks out.

In all seriousness. I think the original author was asking why the smart app he wrote in the IDE would not compile or run on his local machine. The answer is that the smart apps will only run in the cloud on smart thing’s servers.


(Dave) #4

Unfortunately that is probably a deal breaker for me if the cloud connection must be present to change anything. Does the Internet connection being down affect operation of the local system?


(Jody) #5

With the current hub, yes, if your internet connection is down your schedules and rules will not work. Hub v2 should be announced next week at CES should allow some local processing, but SmartThings will still be very cloud dependent.