0.0.3-Alpha2 pre-release - volunteers required to test
-
Good!!, thank you, I will try.
-
@jkandasa said:
MyController 0.0.3-Alpha2
Nice work! How can I Download MyController 0.0.3-Alpha2 ?
I update it on my Raspbery PI and test it. -
@Werwolfx Thank you for your contribution!
0.0.3-Alpha2
not released yet. Currently it is pre-release0.0.3-Alpha2-SNAPSHOT
I will send you the download details. -
@jkandasa I'd love to help test the 0.0.3-Alpha2-SNAPSHOT. Thanks sir!
-
@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.txtJust 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 -
@murdog Thank you for your interest with MyController.
Let me have a look on backup/restore issue.I could fork and submit a PR if you are interested in this.
PR always welcome! Please go ahead and submit.
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.
You can use
Rule
withThreshold
condition andSend payload
operation.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).
Yes, it is true
Run now
will be helpful to find out the issue immediately in our script. I have addedRun now
option. We can use this now.By default
MyController
supports only forjava script
, to support other scripting, we have to includescripting engine
, As scripting engine jar file size looks bigger, I did not include it with package. We have to include it manually.To support
pyhton
scripting, please includejython-standalone-2.7.0.jar
from jython website. You have to put this jar(jython-standalone-2.7.0.jar
) file inmycontroller/lib
directory and restart/start MyController.To run script immediately in GUI select
Run now
underActions
. Tail log file to know more about script execution/resulttail -f mycontroller/logs/mycontroller.log
I have added these changes in https://github.com/mycontroller-org/mycontroller/commit/d1db1da6dae8d57421b569099c9c50078350828c
-
@jkandasa So the first thing I have found is that the SNAPSHOT will not firmware upgrade more than one device at a time. If I select several nodes which all should get new firmware and select the upload firmware action, only one node will be sent to and then it stops. I cannot get it to sent to another node without a stop/start cycle on the controller.
I'm running the controller on an A20 based BananaPi with a LowPowerLab Moteino as the gateway with an RFM69 radio.
I'm finding that response time between stimulus from a node (like a button push) and a rule running and sending a response (turn relay on) to another node is sluggish and noticeable to the end user.
I was initially confused by the rules acting on operations, but I think I've got it down now.
So that's my feedback right now as I continue to explore the software. thanks for letting me in on the SNAPSHOT!
-
I cannot get it to sent to another node without a stop/start cycle on the controller.
Do you have firmware mapped for all the nodes? Anyhow I will check this locally and update.
I'm finding that response time between stimulus from a node (like a button push) and a rule running and sending a response (turn relay on) to another node is sluggish and noticeable to the end user.
Can you please explain about your setup bit more? Do you use
Rule
in this operation? If yes, What type ofRule
, etc?If you find any issues please log a bug on https://github.com/mycontroller-org/mycontroller/issues
-
@BenCranston Hi, I am unable to reproduce the firmware issue. Can please post exact steps that, you followed? Thank you!
About the error 0_1461544225988_st.txt, looks like this happened with null payload received from MySensors.
-
@jkandasa Sure thing.
I have the firmware setup like this:
And then I try to upload a to two nodes at a time. the first node will get the code sent to it, the second will not.
There was nothing in the log to show an error..
-
Hi!
Please sign me up for the beta testing of alpha2!
-
-
I would like to try the pre-release also, please.
-
This week I am going to release 0.0.3.Aplah2 final version. Please submit locale changes if you want to see your language in MyController.org
-
I would like to test it, if the offer still stands!
Thank you. -
Hi I would try this version. I'm using it for an irrigation system. regards
-
Hi Jeeva,
I would also like to test 0.0.3-Alpha2.
Regards,
Thomas -
Hi jkandasa
I also want to test the new version
can you provide a link? -
I'd like to also test the new Alpha2 version,
-
Hi Jeeva!
I would like to test Alpha2!
Thanks
Tibi