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

MyController.org

Scheduled Pinned Locked Moved MyController.org
100 Posts 22 Posters 72.7k Views 14 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.
  • J Offline
    J Offline
    jkandasa
    Plugin Developer
    wrote on last edited by
    #30

    Anyone tried MyController.org to setup locally? If yes kindly share your experiences ;)

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

      Wiki Link: http://www.mycontroller.org/

      1 Reply Last reply
      0
      • D Offline
        D Offline
        d-smes
        wrote on last edited by
        #32

        @jkandasa very nice work! As for my experience, I had a bit of trouble getting it started. Somehow, I was under the impression that double-clicking start.bat would automatically start the Java app. It was later that I realized I then need to point my browser to localhost:8443 and log in. Your WIKI is well written, but I somehow missed that step. BTW, I'm using the Ethernet gateway and editing settings was a breeze.

        Possible bug to report- Sensors with an ID of 0 (zero) are not auto-detected. I have four nodes with sensor ID's of 0 that I know are sending data but they do not show up on Sensors page or on Action Board.

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

          @d-smes thank you to gave a try with MyController.org. Could you please see your log file is there any error? logs/mycontroller.log

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

            @d-smes can you see other sensors in MyController page? other than sensor id 0

            1 Reply Last reply
            0
            • D Offline
              D Offline
              d-smes
              wrote on last edited by
              #35

              @jkandasa Yep, error log full of the same sets of errors. Example of one error pair:

              2015-09-16 11:41:55,150 WARN [Thread-3] [org.mycontroller.standalone.db.dao.SensorDaoImpl:52] Sensor:[org.mycontroller.standalone.db.tables.Sensor@e7f65f[id=<null>,sensorId=0,type=<null>,messageType=38,name=<null>,updateTime=<null>,status=<null>,lastValue=<null>,unit=<null>,node=org.mycontroller.standalone.db.tables.Node@18dbb32[id=4,name=<null>,version=<null>,updateTime=<null>,type=<null>,mySensorsVersion=<null>,batteryLevel=<null>,eraseEEPROM=<null>,firmware=<null>]]], Sensser Id should be in the range of 1~254
              2015-09-16 11:41:55,150 ERROR [Thread-3] [org.mycontroller.standalone.mysensors.MessageMonitorThread:68] RawMessage[NodeId:4,ChildSensorId:0,MessageType:1,Ack:0,SubType:38,PayLoad:4.825] throws exception while processing!, 
              java.lang.NullPointerException: null
              	at org.mycontroller.standalone.mysensors.ProcessRawMessage.recordData(ProcessRawMessage.java:480) ~[mycontroller-standalone-0.0.2-alpha2-single.jar:na]
              	at org.mycontroller.standalone.mysensors.ProcessRawMessage.setSubMessageTypeSelector(ProcessRawMessage.java:449) ~[mycontroller-standalone-0.0.2-alpha2-single.jar:na]
              	at org.mycontroller.standalone.mysensors.ProcessRawMessage.messageTypeSelector(ProcessRawMessage.java:91) ~[mycontroller-standalone-0.0.2-alpha2-single.jar:na]
              	at org.mycontroller.standalone.mysensors.MessageMonitorThread.processRawMessage(MessageMonitorThread.java:60) [mycontroller-standalone-0.0.2-alpha2-single.jar:na]
              	at org.mycontroller.standalone.mysensors.MessageMonitorThread.run(MessageMonitorThread.java:82) [mycontroller-standalone-0.0.2-alpha2-single.jar:na]
              	at java.lang.Thread.run(Unknown Source) [na:1.8.0_60]
              

              The clue appears to be "Sensser Id should be in the range of 1~254"

              Nodes with multiple sensors show e.g. sensors 1- 11 but not sensor 0.

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

                @d-smes My bad it was a mistake, I understand wrongly like, we will not have sensor id 0, should have only from 1~254, now corrected and will allowed 0~254 id,

                you have to stop your mycontroller server and replace lib/mycontroller-standalone-0.0.2-alpha2-single.jar with the fix http://www.filedropper.com/mycontroller-standalone-002-alpha2-single

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

                  MyController.org Released 0.0.2-alpha3 :thumbsup:
                  For user documents visit MyController.org

                  1 Reply Last reply
                  2
                  • D Offline
                    D Offline
                    diggs
                    wrote on last edited by
                    #38

                    Just wondering if it is possible to run two controllers side by side both looking at the same serial port?

                    i.e. can I run Domoticz and MyController at the same time in serial mode with the one gateway or would it cause issues?

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

                      @diggs for my knowledge we could not share same port directly for two applications. We may need to use some adapters for this operation. I do not know how much it is possible.

                      1 Reply Last reply
                      0
                      • E Offline
                        E Offline
                        etrombly
                        wrote on last edited by
                        #40

                        @diggs I was looking into doing the same thing. There are ways to duplicate a serial port using utilities like socat that should work. I was having issues with one side of the redirect disconnecting when there was no data to read. I was thinking of just writing up a quick python utility that would have the features I wanted. ser2net would work well, but it only redirects the port to the network, it doesn't do local redirection.

                        1 Reply Last reply
                        0
                        • E Offline
                          E Offline
                          ericvdb
                          wrote on last edited by
                          #41

                          @jkandasa Would it be possible to add a graph for the battery percentage?

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

                            @ericvdb Thank you for your interest with MyController.org. I have created a request for battery percentage. Kindly update your thoughts on this https://github.com/mycontroller-org/mycontroller/issues/14

                            How often node sends battery percentage?

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              fleinze
                              wrote on last edited by
                              #43

                              @jkandasa said:

                              How often node sends battery percentage?

                              That depends on your sketch. I update battery every hour, but only if there are changes.

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                shattered
                                wrote on last edited by shattered
                                #44

                                Thank you - This is what I have been looking for. I was getting ready to write my own which I did not have time for. It is simple displays the data that is needed and easy to debug. The other controllers I tried I spent more time debugging because of the bloat. I can not focus on my sensor development.

                                1 Reply Last reply
                                0
                                • D Offline
                                  D Offline
                                  davidbd
                                  wrote on last edited by
                                  #45

                                  Nice ! Very clean GUI !

                                  I installed this controller on RPI with serial gateway and it works like a charm with two TEMP sensors.

                                  It will be good if you can use the RPI GPIO to connect directly to NRF24 RF module instead on adding the serial gateway ( see http://iot-playground.com ..)

                                  I wish you good luck with this project.

                                  J 1 Reply Last reply
                                  0
                                  • G Offline
                                    G Offline
                                    GertSanders
                                    Hardware Contributor
                                    wrote on last edited by
                                    #46

                                    Actually, you can add the NRF24 directly to the Raspberry and use it as a gateway at the same time:

                                    http://forum.mysensors.org/topic/1151/tutorial-raspberry-pi-nrf24l01-direct-connection

                                    J 1 Reply Last reply
                                    0
                                    • D davidbd

                                      Nice ! Very clean GUI !

                                      I installed this controller on RPI with serial gateway and it works like a charm with two TEMP sensors.

                                      It will be good if you can use the RPI GPIO to connect directly to NRF24 RF module instead on adding the serial gateway ( see http://iot-playground.com ..)

                                      I wish you good luck with this project.

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

                                      @davidbd said:

                                      It will be good if you can use the RPI GPIO to connect directly to NRF24 RF module instead on adding the serial gateway ( see http://iot-playground.com ..)

                                      Yes, I have plan to implement NRF24l01 directly. I have to learn more about how mysensors gateway is working. Also planing to implement RPI GPIO port access from MyController.org directly

                                      I wish you good luck with this project.

                                      Thank you! @davidbd

                                      1 Reply Last reply
                                      0
                                      • G GertSanders

                                        Actually, you can add the NRF24 directly to the Raspberry and use it as a gateway at the same time:

                                        http://forum.mysensors.org/topic/1151/tutorial-raspberry-pi-nrf24l01-direct-connection

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

                                        @GertSanders said:

                                        Actually, you can add the NRF24 directly to the Raspberry and use it as a gateway at the same time:

                                        http://forum.mysensors.org/topic/1151/tutorial-raspberry-pi-nrf24l01-direct-connection

                                        Thank you @GertSanders let me have a look. As MyController.org is designed with pure Java language I have to implement with some wrapper or with the help of pi4j module

                                        1 Reply Last reply
                                        0
                                        • G Offline
                                          G Offline
                                          GertSanders
                                          Hardware Contributor
                                          wrote on last edited by
                                          #49

                                          @jkandasa
                                          I used the Raspberry version of Mysensors gateway for software to set up a serial gateway. Then Inadded a symlink link with shorter name so domoticz could see it. If your software can detect the normal ttyMySensorGateway then no need for a symlink.
                                          Hardware toconnect radio and raspberry is simple interconnect with GPIO. Same connections as with wire. I made a little board for it. Link to that is also somewhere on the forum.

                                          J 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          19

                                          Online

                                          12.0k

                                          Users

                                          11.2k

                                          Topics

                                          113.4k

                                          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