0.0.3-Alpha2 pre-release - volunteers required to test
jkandasa last edited by jkandasa
0.0.3-Alpha2release almost ready. We need pre-release test volunteers.
Please post here I will send you pre-release bundle.
If you face any issues log it on https://github.com/mycontroller-org/mycontroller/issues
Demo server: http://demo.mycontroller.org/
Didi last edited by
send me one please
jkandasa last edited by jkandasa
How to upgrade from
Note: Upgrade supports from
0.0.3-alpha1. Older than this release will not support for upgrade.
Before moving to
- Take a backup (1)
- Restore backup from (1)
Steps to take backup:
- Navigate to
Settings -> Backup.
- Click on
Settings. add location where you want to keep backup files. save
- Click on
Steps to restore:
- after backup completed successfully. Stop MyController from command line
- Now extract
MyController 0.0.3-Alpha2-SNAPSHOTversion on different location.
- Start new version of MyController
- Configure backed up file location on our new installation
- Now old backup file will be listing in our new installation
- Click on the file and run restore in action
- after successful restore change
mycontroller/conf/mycontroller.propertiesmanually compare to latest version
- start the server manually from command line.
Note: Changes in new version,
- Scripting support (I will update detailed document on user manual, will be available on main release)
- some other changes
Do not forget to file issues on https://github.com/mycontroller-org/mycontroller/issues if you face any
Thank you for your support
Good!!, thank you, I will try.
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-Alpha2not released yet. Currently it is pre-release
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.
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).
@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
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 nowwill be helpful to find out the issue immediately in our script. I have added
Run nowoption. We can use this now.
MyControllersupports only for
java script, to support other scripting, we have to include
scripting engine, As scripting engine jar file size looks bigger, I did not include it with package. We have to include it manually.
pyhtonscripting, please include
jython-standalone-2.7.0.jarfrom jython website. You have to put this jar(
jython-standalone-2.7.0.jar) file in
mycontroller/libdirectory and restart/start MyController.
To run script immediately in GUI select
Actions. Tail log file to know more about script execution/result
tail -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.
Can you please explain about your setup bit more? Do you use
Rulein this operation? If yes, What type of
If you find any issues please log a bug on https://github.com/mycontroller-org/mycontroller/issues
@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..
Please sign me up for the beta testing of alpha2!
Hi, very nice work. I would like to help testing the new version too.
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!
Hi I would try this version. I'm using it for an irrigation system. regards
I would also like to test 0.0.3-Alpha2.