• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    0.0.3-Alpha2 pre-release - volunteers required to test

    scheduled pinned locked moved Announcements
    pre-releasealpha
    23 posts 15 posters 22.7k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • jkandasaJ offline
      jkandasa
      global:last-edited-by, jkandasa

      How to upgrade from 0.0.3-alpha1 to 0.0.3-Alpha2-SNAPSHOT

      Note: Upgrade supports from 0.0.3-alpha1. Older than this release will not support for upgrade.

      Before moving to 0.0.3-Alpha2-SNAPSHOT version,

      • Take a backup (1)
      • Stop 0.0.3-alpha1 server
      • Extract 0.0.3-Alpha2-SNAPSHOT
      • 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
        0_1460666509870_backup-1.png
      • Click on Run backup
        0_1460666663277_backup-2.png
      Steps to restore:
      • after backup completed successfully. Stop MyController from command line
      • Now extract MyController 0.0.3-Alpha2-SNAPSHOT version 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
        0_1460666935007_restore-backup-3.png
      • after successful restore change mycontroller/conf/mycontroller.properties manually compare to latest version
      • start the server manually from command line.

      Enjoy 🎈

      Note: Changes in new version,

      • Alarms renamed as Rules
      • Notifications renamed as Operations
      • Timer supports multiple Operations
      • 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

      one-reply-to-this-post last-reply-time reply quote 0
      • A offline
        anarro
        global:last-edited-by,

        Good!!, thank you, I will try.

        one-reply-to-this-post last-reply-time reply quote 1
        • W offline
          Werwolfx
          global:last-edited-by, Werwolfx

          @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.

          one-reply-to-this-post last-reply-time reply quote 1
          • jkandasaJ offline
            jkandasa
            global:last-edited-by,

            @Werwolfx Thank you for your contribution! 0.0.3-Alpha2 not released yet. Currently it is pre-release 0.0.3-Alpha2-SNAPSHOT
            I will send you the download details.

            one-reply-to-this-post last-reply-time reply quote 0
            • B offline
              BenCranston
              global:last-edited-by,

              @jkandasa I'd love to help test the 0.0.3-Alpha2-SNAPSHOT. Thanks sir!

              B one-reply-to-this-post last-reply-time reply quote 1
              • M offline
                murdog
                global:last-edited-by,

                @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

                jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
                • jkandasaJ offline
                  jkandasa @murdog
                  global:last-edited-by,

                  @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 with Threshold condition and Send 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 added Run now option. We can use this now.

                  By default MyController supports 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.

                  To support pyhton scripting, please include jython-standalone-2.7.0.jar from jython website. You have to put this jar(jython-standalone-2.7.0.jar) file in mycontroller/lib directory and restart/start MyController.

                  To run script immediately in GUI select Run now under Actions. Tail log file to know more about script execution/result tail -f mycontroller/logs/mycontroller.log

                  0_1461578088520_script-run-now.png

                  I have added these changes in https://github.com/mycontroller-org/mycontroller/commit/d1db1da6dae8d57421b569099c9c50078350828c

                  one-reply-to-this-post last-reply-time reply quote 0
                  • B offline
                    BenCranston @BenCranston
                    global:last-edited-by,

                    @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!

                    jkandasaJ topic:replies-to-this-post, 2 last-reply-time reply quote 0
                    • jkandasaJ offline
                      jkandasa @BenCranston
                      global:last-edited-by,

                      @BenCranston

                      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 of Rule, etc?

                      If you find any issues please log a bug on https://github.com/mycontroller-org/mycontroller/issues

                      one-reply-to-this-post last-reply-time reply quote 0
                      • jkandasaJ offline
                        jkandasa @BenCranston
                        global:last-edited-by,

                        @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.

                        B one-reply-to-this-post last-reply-time reply quote 0
                        • B offline
                          BenCranston @jkandasa
                          global:last-edited-by,

                          @jkandasa Sure thing.

                          I have the firmware setup like this:

                          0_1461677909336_firmwares.png

                          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.

                          0_1461677950415_send firmware.png

                          There was nothing in the log to show an error..

                          one-reply-to-this-post last-reply-time reply quote 0
                          • T offline
                            Tag MOD
                            global:last-edited-by,

                            Hi!

                            Please sign me up for the beta testing of alpha2!

                            one-reply-to-this-post last-reply-time reply quote 2
                            • J offline
                              jgate @jkandasa
                              global:last-edited-by,

                              @jkandasa

                              Hi, very nice work. I would like to help testing the new version too.

                              Regards

                              one-reply-to-this-post last-reply-time reply quote 1
                              • B offline
                                Brian
                                global:last-edited-by,

                                I would like to try the pre-release also, please.

                                one-reply-to-this-post last-reply-time reply quote 1
                                • jkandasaJ offline
                                  jkandasa
                                  global:last-edited-by,

                                  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

                                  https://www.transifex.com/mycontrollerorg/multi-locale/

                                  one-reply-to-this-post last-reply-time reply quote 0
                                  • T offline
                                    turbatus
                                    global:last-edited-by,

                                    I would like to test it, if the offer still stands! 🙂
                                    Thank you.

                                    one-reply-to-this-post last-reply-time reply quote 1
                                    • A offline
                                      alberto
                                      global:last-edited-by,

                                      Hi I would try this version. I'm using it for an irrigation system. regards

                                      one-reply-to-this-post last-reply-time reply quote 1
                                      • D offline
                                        DerTomm
                                        global:last-edited-by,

                                        Hi Jeeva,

                                        I would also like to test 0.0.3-Alpha2.

                                        Regards,
                                        Thomas

                                        one-reply-to-this-post last-reply-time reply quote 1
                                        • G offline
                                          greengo
                                          global:last-edited-by,

                                          Hi jkandasa
                                          I also want to test the new version
                                          can you provide a link?

                                          one-reply-to-this-post last-reply-time reply quote 1
                                          • R offline
                                            RMF69
                                            global:last-edited-by,

                                            I'd like to also test the new Alpha2 version,

                                            one-reply-to-this-post last-reply-time reply quote 1
                                            • first-post
                                              last-post

                                            0

                                            online

                                            644

                                            users

                                            532

                                            topics

                                            3.4k

                                            posts
                                            Copyright © 2015-2025 MyController.org | Contributors | Localization