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

Releases

Scheduled Pinned Locked Moved MyController.org
25 Posts 6 Posters 9.7k Views 4 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.
  • Suresh MaliS Suresh Mali

    Hi jkandasa,

    Amazing job on the MyController. I am trying to install on raspi. Post installation and setting up java, when tried to start. It does not start, below isw the log file.

    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/mycontroller/standalone/StartApp : Unsupported major.minor version 52.0
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
    

    Please help. Thanks.

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

    @Suresh-Mali said:

    Hi jkandasa,

    Amazing job on the MyController. I am trying to install on raspi. Post installation and setting up java, when tried to start. It does not start, below isw the log file.
    Please help. Thanks.

    @Suresh-Mali You have to upgrade your java version to 1.8 or later. For raspi Oracle java is recommended with MyController.

    Refer: http://forum.mysensors.org/topic/1907/mycontroller-org/63

    Suresh MaliS 1 Reply Last reply
    0
    • J jkandasa

      @Suresh-Mali said:

      Hi jkandasa,

      Amazing job on the MyController. I am trying to install on raspi. Post installation and setting up java, when tried to start. It does not start, below isw the log file.
      Please help. Thanks.

      @Suresh-Mali You have to upgrade your java version to 1.8 or later. For raspi Oracle java is recommended with MyController.

      Refer: http://forum.mysensors.org/topic/1907/mycontroller-org/63

      Suresh MaliS Offline
      Suresh MaliS Offline
      Suresh Mali
      wrote on last edited by
      #4

      @jkandasa Thanks, Got it working after updating Java 8JDK, which installed JRE1.8

      Is there a page that I can request for features or changes, like There is no section which shows me information about the type of gateway configured and if its working or not.

      J 1 Reply Last reply
      0
      • Suresh MaliS Offline
        Suresh MaliS Offline
        Suresh Mali
        wrote on last edited by
        #5

        On using I had a couple of questions.

        • How do I configure more than 1 type of gateway. I have a node which runs using ESP8266 and has DHT11 to read Temp+Hum. Its loaded with EasyESP. Its send data through MQTT. And at the same time Raspi is configured with serial gateway using NRF24L01.

        • Add edit option for Timers.

        J 1 Reply Last reply
        0
        • Suresh MaliS Suresh Mali

          @jkandasa Thanks, Got it working after updating Java 8JDK, which installed JRE1.8

          Is there a page that I can request for features or changes, like There is no section which shows me information about the type of gateway configured and if its working or not.

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

          @Suresh-Mali said:

          @jkandasa Thanks, Got it working after updating Java 8JDK, which installed JRE1.8

          Is there a page that I can request for features or changes, like There is no section which shows me information about the type of gateway configured and if its working or not.

          @Suresh-Mali Nice! Yes, you have to raise bugs, features requests in github issues section

          1 Reply Last reply
          0
          • Suresh MaliS Suresh Mali

            On using I had a couple of questions.

            • How do I configure more than 1 type of gateway. I have a node which runs using ESP8266 and has DHT11 to read Temp+Hum. Its loaded with EasyESP. Its send data through MQTT. And at the same time Raspi is configured with serial gateway using NRF24L01.

            • Add edit option for Timers.

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

            @Suresh-Mali said:

            On using I had a couple of questions.

            • How do I configure more than 1 type of gateway. I have a node which runs using ESP8266 and has DHT11 to read Temp+Hum. Its loaded with EasyESP. Its send data through MQTT. And at the same time Raspi is configured with serial gateway using NRF24L01.

            @Suresh-Mali MyController designed to support only one gateway, It can be either serial, eathernet, MQTT or NRF24L01 (via RPI).
            You can attach your DHT11 with NRF24L01, so we can access it from RPI serial gateway.

            • Add edit option for Timers.

            Created a feature request for Timers edit option

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jkandasa
              Plugin Developer
              wrote on last edited by
              #8

              MyController.org released 0.0.2-alpha5 build

              DidiD 1 Reply Last reply
              2
              • bpairB Offline
                bpairB Offline
                bpair
                wrote on last edited by
                #9

                Awesome - Thanks!

                1 Reply Last reply
                0
                • J jkandasa

                  MyController.org released 0.0.2-alpha5 build

                  DidiD Offline
                  DidiD Offline
                  Didi
                  wrote on last edited by
                  #10

                  @jkandasa

                  :+1:

                  if (knowledge == 0) { use BRAIN; use GOOGLE;use SEARCH; } else {make POST;}

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

                    @jkandasa nice release. this is working well.
                    for others who run into this.
                    i couldn't get mine to start. i looked at the logs and read that i should stop - rm db file - start
                    and that worked.

                    J 1 Reply Last reply
                    0
                    • M mvader

                      @jkandasa nice release. this is working well.
                      for others who run into this.
                      i couldn't get mine to start. i looked at the logs and read that i should stop - rm db file - start
                      and that worked.

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

                      @mvader said:

                      @jkandasa nice release. this is working well.
                      for others who run into this.
                      i couldn't get mine to start. i looked at the logs and read that i should stop - rm db file - start
                      and that worked.

                      @mvader Thank you! I forget to mention this. You did it!!

                      0.0.2-alpha5 version has huge changes in database, Hence I could not support for upgrade. I'm sorry for that.

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        jkandasa
                        Plugin Developer
                        wrote on last edited by
                        #13

                        Your requests are in 0.0.2-alpha5, Kindly check it.

                        @diggs Export Sensor Data - https://github.com/mycontroller-org/mycontroller/issues/6

                        @mvader Support for DualOptiboot-bootloader - https://github.com/mycontroller-org/mycontroller/issues/25 I do not have hardware, Could you please check this feature on your setup?

                        @bpair Add support for Metric or Imperial - https://github.com/mycontroller-org/mycontroller/issues/26 and Retry Serial Port and Virtual Port support (implemented Retry Serial Port) - https://github.com/mycontroller-org/mycontroller/issues/36

                        @Suresh-Mali Value does not get updated, if the device was actioned by timer - https://github.com/mycontroller-org/mycontroller/issues/35

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

                          for the firmware upload
                          i see this in the logs
                          [ST_FIRMWARE_CONFIG_RESPONSE], [NodeId:3, SensorId:255, PayLoad: 01000200A8066891]
                          but nothing further..
                          i'm not sure how to tell if it's working or not.
                          other than to wait?
                          should i continue to refresh logs and look for payload/packet updates?

                          J 1 Reply Last reply
                          0
                          • M mvader

                            for the firmware upload
                            i see this in the logs
                            [ST_FIRMWARE_CONFIG_RESPONSE], [NodeId:3, SensorId:255, PayLoad: 01000200A8066891]
                            but nothing further..
                            i'm not sure how to tell if it's working or not.
                            other than to wait?
                            should i continue to refresh logs and look for payload/packet updates?

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

                            @mvader said:

                            for the firmware upload
                            i see this in the logs
                            [ST_FIRMWARE_CONFIG_RESPONSE], [NodeId:3, SensorId:255, PayLoad: 01000200A8066891]
                            but nothing further..
                            i'm not sure how to tell if it's working or not.
                            other than to wait?

                            For now there is no option, you have to wait

                            should i continue to refresh logs and look for payload/packet updates?

                            You can see payload.packet updates when you enable debug log

                            @mvader Enable DEBUG for org.mycontroller.standalone.mysensors package in mycontroller/conf/logback.xml

                              <logger level="DEBUG" name="org.mycontroller.standalone.mysensors"/>
                            

                            I have to add some mechanism to know more about without enabling debug log.

                            Added a ticket to track firmware status https://github.com/mycontroller-org/mycontroller/issues/37

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

                              @jkandasa said:
                              okay i will check this tonight and let you know.
                              some kind of realtime packet/payload screen would be a nice feature :)
                              thanks

                              J 1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                jkandasa
                                Plugin Developer
                                wrote on last edited by
                                #17

                                Document updated for 0.0.2-alpha5 release.

                                1 Reply Last reply
                                0
                                • M mvader

                                  @jkandasa said:
                                  okay i will check this tonight and let you know.
                                  some kind of realtime packet/payload screen would be a nice feature :)
                                  thanks

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

                                  @mvader said:

                                  okay i will check this tonight and let you know.
                                  some kind of realtime packet/payload screen would be a nice feature :)

                                  As node and controller communicates asynchronous, showing in real time would be bit difficult. I will have this feedback in my mind, will work to implement.

                                  For now we have an option to check it via logs page. https://github.com/mycontroller-org/mycontroller/issues/37 This will be available in 0.0.2-alpha6 release. In the current release (0.0.2-alpha5) this fix will not be.

                                  Thank you!

                                  1 Reply Last reply
                                  0
                                  • J jkandasa

                                    @mvader said:

                                    for the firmware upload
                                    i see this in the logs
                                    [ST_FIRMWARE_CONFIG_RESPONSE], [NodeId:3, SensorId:255, PayLoad: 01000200A8066891]
                                    but nothing further..
                                    i'm not sure how to tell if it's working or not.
                                    other than to wait?

                                    For now there is no option, you have to wait

                                    should i continue to refresh logs and look for payload/packet updates?

                                    You can see payload.packet updates when you enable debug log

                                    @mvader Enable DEBUG for org.mycontroller.standalone.mysensors package in mycontroller/conf/logback.xml

                                      <logger level="DEBUG" name="org.mycontroller.standalone.mysensors"/>
                                    

                                    I have to add some mechanism to know more about without enabling debug log.

                                    Added a ticket to track firmware status https://github.com/mycontroller-org/mycontroller/issues/37

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

                                    @jkandasa said:

                                    I enabled debug in the logs , rebooted the rpi2
                                    this is what i have after telling the firmware to upload
                                    trying to reboot a sensor
                                    and then manually rebooting the device.
                                    it doesn't appear it's sending

                                    Oct 22, 2015 10:43:18 PM Sensor Internal Sent [I_CONFIG], [NodeId:3, SensorId:255, PayLoad: I]
                                    Oct 22, 2015 10:43:18 PM Sensor Internal Received [I_CONFIG], [NodeId:3, SensorId:255, PayLoad: 0]
                                    Oct 22, 2015 10:43:18 PM Sensor Presentation Received [S_ARDUINO_NODE], [NodeId:3, SensorId:255, PayLoad: 1.5]
                                    Oct 22, 2015 10:43:01 PM Sensor Internal Sent [I_REBOOT], [NodeId:3, SensorId:255, PayLoad: ]
                                    Oct 22, 2015 10:42:41 PM Sensor Internal Received [I_VERSION], [NodeId:0, SensorId:0, PayLoad: 1.5]
                                    Oct 22, 2015 10:42:13 PM Sensor Stream Sent [ST_FIRMWARE_CONFIG_RESPONSE], [NodeId:3, SensorId:255, PayLoad: 01000200A8066891]

                                    also on a separate issue
                                    time zone
                                    can this be a configurable option?
                                    it seems to default to
                                    Version: 0.0.2-alpha5, Timezone: UTC(+0000)
                                    i have the TZ set correctly on my rpi2
                                    (i'm EDT timezone)
                                    thanks

                                    J 1 Reply Last reply
                                    0
                                    • M mvader

                                      @jkandasa said:

                                      I enabled debug in the logs , rebooted the rpi2
                                      this is what i have after telling the firmware to upload
                                      trying to reboot a sensor
                                      and then manually rebooting the device.
                                      it doesn't appear it's sending

                                      Oct 22, 2015 10:43:18 PM Sensor Internal Sent [I_CONFIG], [NodeId:3, SensorId:255, PayLoad: I]
                                      Oct 22, 2015 10:43:18 PM Sensor Internal Received [I_CONFIG], [NodeId:3, SensorId:255, PayLoad: 0]
                                      Oct 22, 2015 10:43:18 PM Sensor Presentation Received [S_ARDUINO_NODE], [NodeId:3, SensorId:255, PayLoad: 1.5]
                                      Oct 22, 2015 10:43:01 PM Sensor Internal Sent [I_REBOOT], [NodeId:3, SensorId:255, PayLoad: ]
                                      Oct 22, 2015 10:42:41 PM Sensor Internal Received [I_VERSION], [NodeId:0, SensorId:0, PayLoad: 1.5]
                                      Oct 22, 2015 10:42:13 PM Sensor Stream Sent [ST_FIRMWARE_CONFIG_RESPONSE], [NodeId:3, SensorId:255, PayLoad: 01000200A8066891]

                                      also on a separate issue
                                      time zone
                                      can this be a configurable option?
                                      it seems to default to
                                      Version: 0.0.2-alpha5, Timezone: UTC(+0000)
                                      i have the TZ set correctly on my rpi2
                                      (i'm EDT timezone)
                                      thanks

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

                                      @mvader said:

                                      @jkandasa said:

                                      I enabled debug in the logs , rebooted the rpi2

                                      If you enable or disable debug logs in MyController , there is no need to reboot your rpi.
                                      Whatever you change in mycontroller/conf/logback.xml the out logs will be in mycontroller/logs/mycontroller.log

                                      this is what i have after telling the firmware to upload
                                      trying to reboot a sensor
                                      and then manually rebooting the device.
                                      it doesn't appear it's sending

                                      Oct 22, 2015 10:43:18 PM	Sensor Internal	Sent	[I_CONFIG], [NodeId:3, SensorId:255, PayLoad: I]
                                      Oct 22, 2015 10:43:18 PM	Sensor Internal	Received	[I_CONFIG], [NodeId:3, SensorId:255, PayLoad: 0]
                                      Oct 22, 2015 10:43:18 PM	Sensor Presentation	Received	[S_ARDUINO_NODE], [NodeId:3, SensorId:255, PayLoad: 1.5]
                                      Oct 22, 2015 10:43:01 PM	Sensor Internal	Sent	[I_REBOOT], [NodeId:3, SensorId:255, PayLoad: ]
                                      Oct 22, 2015 10:42:41 PM	Sensor Internal	Received	[I_VERSION], [NodeId:0, SensorId:0, PayLoad: 1.5]
                                      Oct 22, 2015 10:42:13 PM	Sensor Stream	Sent	[ST_FIRMWARE_CONFIG_RESPONSE], [NodeId:3, SensorId:255, PayLoad: 01000200A8066891]
                                      

                                      Based on the log seems like, gateway cannot communicate with your node. Only receiving from node. If you have any relay board, or something send ON/OFF from MyController and check it?

                                      also on a separate issue
                                      time zone
                                      can this be a configurable option?

                                      Right now it's taking system timezone as timezone. I hope if we give it as configurable option may leads confusion.

                                      it seems to default to
                                      Version: 0.0.2-alpha5, Timezone: UTC(+0000)
                                      i have the TZ set correctly on my rpi2
                                      (i'm EDT timezone)
                                      thanks

                                      You have to set timezone with the help of raspi-config https://learn.adafruit.com/adafruits-raspberry-pi-lesson-2-first-time-configuration/changing-timezone

                                      I believe your rpi still with UTC. If you run date command from your raspberry PI what is the output?

                                      M 1 Reply Last reply
                                      0
                                      • joaopauloJ Offline
                                        joaopauloJ Offline
                                        joaopaulo
                                        wrote on last edited by
                                        #21

                                        Is there any implementation to control equipments via IR (infrared) ? I've done some tests with light actuators and that works fine.

                                        M J 2 Replies Last reply
                                        0
                                        • J jkandasa

                                          @mvader said:

                                          @jkandasa said:

                                          I enabled debug in the logs , rebooted the rpi2

                                          If you enable or disable debug logs in MyController , there is no need to reboot your rpi.
                                          Whatever you change in mycontroller/conf/logback.xml the out logs will be in mycontroller/logs/mycontroller.log

                                          this is what i have after telling the firmware to upload
                                          trying to reboot a sensor
                                          and then manually rebooting the device.
                                          it doesn't appear it's sending

                                          Oct 22, 2015 10:43:18 PM	Sensor Internal	Sent	[I_CONFIG], [NodeId:3, SensorId:255, PayLoad: I]
                                          Oct 22, 2015 10:43:18 PM	Sensor Internal	Received	[I_CONFIG], [NodeId:3, SensorId:255, PayLoad: 0]
                                          Oct 22, 2015 10:43:18 PM	Sensor Presentation	Received	[S_ARDUINO_NODE], [NodeId:3, SensorId:255, PayLoad: 1.5]
                                          Oct 22, 2015 10:43:01 PM	Sensor Internal	Sent	[I_REBOOT], [NodeId:3, SensorId:255, PayLoad: ]
                                          Oct 22, 2015 10:42:41 PM	Sensor Internal	Received	[I_VERSION], [NodeId:0, SensorId:0, PayLoad: 1.5]
                                          Oct 22, 2015 10:42:13 PM	Sensor Stream	Sent	[ST_FIRMWARE_CONFIG_RESPONSE], [NodeId:3, SensorId:255, PayLoad: 01000200A8066891]
                                          

                                          Based on the log seems like, gateway cannot communicate with your node. Only receiving from node. If you have any relay board, or something send ON/OFF from MyController and check it?

                                          also on a separate issue
                                          time zone
                                          can this be a configurable option?

                                          Right now it's taking system timezone as timezone. I hope if we give it as configurable option may leads confusion.

                                          it seems to default to
                                          Version: 0.0.2-alpha5, Timezone: UTC(+0000)
                                          i have the TZ set correctly on my rpi2
                                          (i'm EDT timezone)
                                          thanks

                                          You have to set timezone with the help of raspi-config https://learn.adafruit.com/adafruits-raspberry-pi-lesson-2-first-time-configuration/changing-timezone

                                          I believe your rpi still with UTC. If you run date command from your raspberry PI what is the output?

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

                                          @jkandasa said:

                                          Right now it's taking system timezone as timezone. I hope if we give it as configurable option may leads confusion.

                                          it seems to default to
                                          Version: 0.0.2-alpha5, Timezone: UTC(+0000)
                                          i have the TZ set correctly on my rpi2
                                          (i'm EDT timezone)
                                          thanks

                                          You have to set timezone with the help of raspi-config https://learn.adafruit.com/adafruits-raspberry-pi-lesson-2-first-time-configuration/changing-timezone

                                          I believe your rpi still with UTC. If you run date command from your raspberry PI what is the output?

                                          i must have had a browser cache issue or something, the next day i came back and it said EDT. so it appears my system clock was indeed set to UTC.

                                          One comment on something you said above.

                                          " I hope if we give it as configurable option may leads confusion."

                                          I think that given the audience here, there isn't much that would confuse people.
                                          If you were dealing with people who didn't know anything about electronics, or computers, maybe, but to be honest i can't see how it would confuse anyone, much less anyone here..
                                          just my thoughts..

                                          now to circle around to the firmware issue.
                                          the nodes that use dual-optiboot, are mostly the sensebender micro boards.
                                          these are typically battery powered devices that sleep most of the time.
                                          with the library 1.5, you have an OTA enabled setting and when the device boots, it listens for a defined amount of time for an OTA upgrade signal.
                                          I've tested this with MYScontroller and it works.
                                          when i reboot the device, the firmware upgrade takes off.

                                          I rebooted the device manually and nothing was sent, so it seems like something may still not be working correctly.
                                          with your implementation.

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


                                          17

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          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