Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. MyController.org
  4. MyController 0.0.3.Alpha2 released!! :)

MyController 0.0.3.Alpha2 released!! :)

Scheduled Pinned Locked Moved MyController.org
new-releasemycontroller.orgcontrollertopologyinfluxdb
17 Posts 7 Posters 6.0k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fabien
    wrote on last edited by
    #5

    I'm trying the demo and I think it will be my next controller !

    1 Reply Last reply
    1
    • F Offline
      F Offline
      Fabien
      wrote on last edited by
      #6

      After quick read the doc. I have few question. I use serial gateway and is it possible to publish sensors data to an external MQTT server ? And Is it possible to import MQTT topic and use it in scripts.
      Actually I have for example milight bulbs or Kodi connected to my MQTT broker.
      Another question : OTA will work with sleeping node ? When node wake up (and correctly configured) is it possible to send new firmware ?
      Finally, an update would be fine to select node in list and sensors too to send raw data.

      J 1 Reply Last reply
      0
      • cimba007C Offline
        cimba007C Offline
        cimba007
        wrote on last edited by cimba007
        #7

        Just a quick test. "GatewayESP8266MQTTClient" on mosquitto mqtt-server works fine. I currently have only one test-node but it is successfully detected and all sensors on this node are listed fine!

        One thing I noticed is somewhat unclear to me. If some rules tripp an action. e.g. "Send a mail" .. is there a way to specify how often this should happen? I see an option to completely disable the rule after one time trigger but it would be nice to have a way to reset this.

        e.g.

        1. rule is triggered
        2. mail is send
        3. rule is disable
        4. after configurable time elapsed (1 hour?) the rule is automatically reenabled

        This would prevent spam in case of broken sensor or unintended triggers.

        To clarify: I have noticed the dampening feature .. but this might still not be enough. My case is when a sensor goes rogue for whatever reason .. and I send a notification to my work email address. Under NO NO circumstances the email should be send multiple time and I don't want to reenable the rule after triggering.

        PS: Very well done. I like the webpage and the overall user experience.

        Addition: The Values from my sensors are not auto refreshed in the dashboard and Resources->Sensors. Would be really nice to be able to refresh these values constantly (configurable) to get an even better "live" user experience.

        Noticed the widget refresh interval is configurable. Nice!

        J 1 Reply Last reply
        0
        • cimba007C cimba007

          Just a quick test. "GatewayESP8266MQTTClient" on mosquitto mqtt-server works fine. I currently have only one test-node but it is successfully detected and all sensors on this node are listed fine!

          One thing I noticed is somewhat unclear to me. If some rules tripp an action. e.g. "Send a mail" .. is there a way to specify how often this should happen? I see an option to completely disable the rule after one time trigger but it would be nice to have a way to reset this.

          e.g.

          1. rule is triggered
          2. mail is send
          3. rule is disable
          4. after configurable time elapsed (1 hour?) the rule is automatically reenabled

          This would prevent spam in case of broken sensor or unintended triggers.

          To clarify: I have noticed the dampening feature .. but this might still not be enough. My case is when a sensor goes rogue for whatever reason .. and I send a notification to my work email address. Under NO NO circumstances the email should be send multiple time and I don't want to reenable the rule after triggering.

          PS: Very well done. I like the webpage and the overall user experience.

          Addition: The Values from my sensors are not auto refreshed in the dashboard and Resources->Sensors. Would be really nice to be able to refresh these values constantly (configurable) to get an even better "live" user experience.

          Noticed the widget refresh interval is configurable. Nice!

          J Offline
          J Offline
          jkandasa
          Plugin Developer
          wrote on last edited by
          #8

          @cimba007 This is good feature request! I can implement this one.
          For now we have workaround for this option.
          Create a rule for your sensor with auto disable option.
          Create a simple timer with one hour interval (3600 seconds) and repeat count as 1

          • Create the following operations,
          1. Send email for your work email
          2. Enable your rule
          3. Enable your timer

          Now map operations like mentioned here,

          • In the Rule select Operation's, 1 and 3
          • In the timer select Operation 2
          cimba007C F 2 Replies Last reply
          0
          • F Fabien

            After quick read the doc. I have few question. I use serial gateway and is it possible to publish sensors data to an external MQTT server ? And Is it possible to import MQTT topic and use it in scripts.
            Actually I have for example milight bulbs or Kodi connected to my MQTT broker.
            Another question : OTA will work with sleeping node ? When node wake up (and correctly configured) is it possible to send new firmware ?
            Finally, an update would be fine to select node in list and sensors too to send raw data.

            J Offline
            J Offline
            jkandasa
            Plugin Developer
            wrote on last edited by jkandasa
            #9

            @Fabien said:

            After quick read the doc. I have few question. I use serial gateway and is it possible to publish sensors data to an external MQTT server ? And Is it possible to import MQTT topic and use it in scripts.

            For now it supports only for InfluxDB, emoncms.org and sparkfun. Please create a feature request to support MQTT. Please note this one way communication, it means pushes data to external server. Not listening from external servers.

            EDIT: MQTT external server support added at https://github.com/mycontroller-org/mycontroller/commit/9c179f9f88022fd5e7cee782c884f4c9bc38fcea

            Actually I have for example milight bulbs or Kodi connected to my MQTT broker.

            For these kind of things we have to add gateway support. If we have support in gateway for these devices we can control these device as like normal MySensors device. Please create a feature request with these device documentations with API details, I will add it when I get time.

            Another question : OTA will work with sleeping node ? When node wake up (and correctly configured) is it possible to send new firmware ?

            For now MyController doesn't support for sleeping nodes.

            Finally, an update would be fine to select node in list and sensors too to send raw data.

            I'm sorry I could not get this one?

            1 Reply Last reply
            0
            • J jkandasa

              @cimba007 This is good feature request! I can implement this one.
              For now we have workaround for this option.
              Create a rule for your sensor with auto disable option.
              Create a simple timer with one hour interval (3600 seconds) and repeat count as 1

              • Create the following operations,
              1. Send email for your work email
              2. Enable your rule
              3. Enable your timer

              Now map operations like mentioned here,

              • In the Rule select Operation's, 1 and 3
              • In the timer select Operation 2
              cimba007C Offline
              cimba007C Offline
              cimba007
              wrote on last edited by cimba007
              #10

              @jkandasa said:

              Enable your rule

              Looking at operations I see only operations to send notifications and no operation to enable/disable a rule? Might the functionality I am looking for hidden in the "scripting" part? If so I could not find any documentation of the scripting stuff.

              PS: Found the documentation, slightly hidden on the download page.
              PPS: Found it, "send payload" might not be too intuitive to find operations to manipulate rules ;_)

              Do I even need a timer? Looks like this simple rule might fulfill my needs:

              0_1470241804296_upload-e889ed01-09fc-4ca5-91ea-2b1a494ceece

              J 1 Reply Last reply
              0
              • cimba007C cimba007

                @jkandasa said:

                Enable your rule

                Looking at operations I see only operations to send notifications and no operation to enable/disable a rule? Might the functionality I am looking for hidden in the "scripting" part? If so I could not find any documentation of the scripting stuff.

                PS: Found the documentation, slightly hidden on the download page.
                PPS: Found it, "send payload" might not be too intuitive to find operations to manipulate rules ;_)

                Do I even need a timer? Looks like this simple rule might fulfill my needs:

                0_1470241804296_upload-e889ed01-09fc-4ca5-91ea-2b1a494ceece

                J Offline
                J Offline
                jkandasa
                Plugin Developer
                wrote on last edited by
                #11

                @cimba007

                Found it, "send payload" might not be too intuitive to find operations to manipulate rules ;_)

                Name it we may change it on next release, If the current name confuses.

                Do I even need a timer? Looks like this simple rule might fulfill my needs:

                Yes, I forgot this delay field, This simple rule is enough for you. You can map this operation also along with your Rule definition. This delay is in seconds.

                cimba007C 1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mvader
                  wrote on last edited by
                  #12

                  how can i reset the login and password.
                  no matter what i do i get "invalid username and password"
                  I've tried admin/admin a million times

                  J 1 Reply Last reply
                  0
                  • M mvader

                    how can i reset the login and password.
                    no matter what i do i get "invalid username and password"
                    I've tried admin/admin a million times

                    J Offline
                    J Offline
                    jkandasa
                    Plugin Developer
                    wrote on last edited by jkandasa
                    #13

                    @mvader said:

                    how can i reset the login and password.

                    I'm sorry, for now we do not have direct way to reset password.
                    We have a workaround to reset password by accessing database directly. I know this is not a good solution :( I will try to give new option to reset password in friendly manner.

                    To reset admin password,

                    Note: First you have to STOP(mycontroller/bin/stop.sh) MyController server

                    Download and extract http://www.h2database.com/h2-2014-04-05.zip in to your raspberry PI.
                    java -cp h2/bin/h2*.jar org.h2.tools.Shell

                    URL       jdbc:h2:/opt/mycontroller/conf/mycontroller
                    Driver    org.h2.Driver
                    User      mycontroller
                    Password  mycontroller
                    

                    Set your path exactly with the above command.
                    Update user admin password UPDATE USER SET PASSWORD='Wm1vE8jvQXE=' WHERE USERNAME='admin';
                    Note: In database passwords are encrypted. for admin encrypted string is Wm1vE8jvQXE.

                    You can also check admin with default password by running SELECT * FROM USER;

                    EDIT: created new ticket: https://github.com/mycontroller-org/mycontroller/issues/233

                    M 1 Reply Last reply
                    0
                    • J jkandasa

                      @cimba007

                      Found it, "send payload" might not be too intuitive to find operations to manipulate rules ;_)

                      Name it we may change it on next release, If the current name confuses.

                      Do I even need a timer? Looks like this simple rule might fulfill my needs:

                      Yes, I forgot this delay field, This simple rule is enough for you. You can map this operation also along with your Rule definition. This delay is in seconds.

                      cimba007C Offline
                      cimba007C Offline
                      cimba007
                      wrote on last edited by cimba007
                      #14

                      @jkandasa
                      Just a suggestion: 0_1470305410775_upload-6bf4a0ed-44a8-42cb-9161-864003de09b5

                      Send notification would include all further kinds of notifications you might include but grouping this is not that important. The current way it is is already very easy to understand so a change might not be necessary.

                      Send payload might be better split into three different points as it would be very clear from the beginning what you are dealing with.

                      • Dealing with Resources (manipulating stuff that is only known to the controller )
                      • Manipulating Devices (reboot etc. .. this is more like a "command")
                      • Update Sensor variables is an 1:1 mapping of the request/set concept of mysensors
                      J 1 Reply Last reply
                      0
                      • J jkandasa

                        @mvader said:

                        how can i reset the login and password.

                        I'm sorry, for now we do not have direct way to reset password.
                        We have a workaround to reset password by accessing database directly. I know this is not a good solution :( I will try to give new option to reset password in friendly manner.

                        To reset admin password,

                        Note: First you have to STOP(mycontroller/bin/stop.sh) MyController server

                        Download and extract http://www.h2database.com/h2-2014-04-05.zip in to your raspberry PI.
                        java -cp h2/bin/h2*.jar org.h2.tools.Shell

                        URL       jdbc:h2:/opt/mycontroller/conf/mycontroller
                        Driver    org.h2.Driver
                        User      mycontroller
                        Password  mycontroller
                        

                        Set your path exactly with the above command.
                        Update user admin password UPDATE USER SET PASSWORD='Wm1vE8jvQXE=' WHERE USERNAME='admin';
                        Note: In database passwords are encrypted. for admin encrypted string is Wm1vE8jvQXE.

                        You can also check admin with default password by running SELECT * FROM USER;

                        EDIT: created new ticket: https://github.com/mycontroller-org/mycontroller/issues/233

                        M Offline
                        M Offline
                        mvader
                        wrote on last edited by
                        #15

                        @jkandasa

                        Thanks for the info. I'm not sure what was wrong. when i looked at my password, it was the encrypted one you posted above.
                        i ended up just removing everything and copying up the files from scratch. and it's working now.
                        thanks!!

                        1 Reply Last reply
                        1
                        • cimba007C cimba007

                          @jkandasa
                          Just a suggestion: 0_1470305410775_upload-6bf4a0ed-44a8-42cb-9161-864003de09b5

                          Send notification would include all further kinds of notifications you might include but grouping this is not that important. The current way it is is already very easy to understand so a change might not be necessary.

                          Send payload might be better split into three different points as it would be very clear from the beginning what you are dealing with.

                          • Dealing with Resources (manipulating stuff that is only known to the controller )
                          • Manipulating Devices (reboot etc. .. this is more like a "command")
                          • Update Sensor variables is an 1:1 mapping of the request/set concept of mysensors
                          J Offline
                          J Offline
                          jkandasa
                          Plugin Developer
                          wrote on last edited by
                          #16

                          @cimba007 Thank you! I have created a ticket to track this one, https://github.com/mycontroller-org/mycontroller/issues/235

                          1 Reply Last reply
                          0
                          • J jkandasa

                            @cimba007 This is good feature request! I can implement this one.
                            For now we have workaround for this option.
                            Create a rule for your sensor with auto disable option.
                            Create a simple timer with one hour interval (3600 seconds) and repeat count as 1

                            • Create the following operations,
                            1. Send email for your work email
                            2. Enable your rule
                            3. Enable your timer

                            Now map operations like mentioned here,

                            • In the Rule select Operation's, 1 and 3
                            • In the timer select Operation 2
                            F Offline
                            F Offline
                            Fabien
                            wrote on last edited by Fabien
                            #17

                            @jkandasa
                            Thank you for the update. I will use this controller in production in few days. Eactly what I want. For non-msensors devices I Will use node-red as glue !

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            20

                            Online

                            11.7k

                            Users

                            11.2k

                            Topics

                            113.1k

                            Posts


                            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • MySensors
                            • OpenHardware.io
                            • Categories
                            • Recent
                            • Tags
                            • Popular