@jkandasa I grabbed the latest dev snapshot from github and have been testing things out (just on a small setup with a few sensors - I just discovered this project yesterday). I did get a minor error after importing the backup, see attached stacktrace - Config/Dashboard all appears okay.
0_1461544225988_st.txt
Just been playing around with the scripting - couple of things:
For my use case when a trigger happens I want to hit a URL (example soil moisture drops below X, then turn on sprinklers). It would be great to have an operation "Hit URL" and then have options for GET/POST/etc. I could fork and submit a PR if you are interested in this.
In the meantime I figured I could test out a Python script to do the above. It would be helpful if on the script page there was an Action to "Run Now" and execute the script (for testing or just wanting the script to be run). I setup a python script, however when it went to run the following error occurred:
2016-04-24 18:12:14,108 ERROR [Quartz_Scheduler_Worker-1] [org.mycontroller.standalone.operation.model.OperationExecuteScript:119] Exception,
org.mycontroller.standalone.scripts.McScriptException: Requested engine is not available! McScript(engineName=null, mimeType=null, extension=py, name=/Users/bradmurray/Documents/workspace-sts/mycontroller/dist/src/main/package/conf/scripts/operations/PythonTest.py, type=OPERATION, size=0, lastModified=0, data=null)
at org.mycontroller.standalone.scripts.McScriptEngine.executeScript(McScriptEngine.java:54) ~[mycontroller-dist-standalone-0.0.3.Alpha2-SNAPSHOT-single.jar:0.0.3.Alpha2-SNAPSHOT]
at org.mycontroller.standalone.operation.model.OperationExecuteScript.executeScript(OperationExecuteScript.java:116) [mycontroller-dist-standalone-0.0.3.Alpha2-SNAPSHOT-single.jar:0.0.3.Alpha2-SNAPSHOT]
at org.mycontroller.standalone.operation.model.OperationExecuteScript.execute(OperationExecuteScript.java:100) [mycontroller-dist-standalone-0.0.3.Alpha2-SNAPSHOT-single.jar:0.0.3.Alpha2-SNAPSHOT]
at org.mycontroller.standalone.timer.jobs.TimerJob.executeTimer(TimerJob.java:58) [mycontroller-dist-standalone-0.0.3.Alpha2-SNAPSHOT-single.jar:0.0.3.Alpha2-SNAPSHOT]
at org.mycontroller.standalone.timer.jobs.TimerJob.doRun(TimerJob.java:94) [mycontroller-dist-standalone-0.0.3.Alpha2-SNAPSHOT-single.jar:0.0.3.Alpha2-SNAPSHOT]
at org.knowm.sundial.Job.execute(Job.java:57) [mycontroller-dist-standalone-0.0.3.Alpha2-SNAPSHOT-single.jar:0.0.3.Alpha2-SNAPSHOT]
at org.quartz.core.JobRunShell.run(JobRunShell.java:178) [mycontroller-dist-standalone-0.0.3.Alpha2-SNAPSHOT-single.jar:0.0.3.Alpha2-SNAPSHOT]
at org.quartz.core.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:515) [mycontroller-dist-standalone-0.0.3.Alpha2-SNAPSHOT-single.jar:0.0.3.Alpha2-SNAPSHOT]
Showing engine name as null, not sure if Java needs a configuration/properties around the ScriptEngine (haven't used it before).
Cheers,
Brad