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. MyNodes.NET
  4. MyNodes.NET 2.0

MyNodes.NET 2.0

Scheduled Pinned Locked Moved MyNodes.NET
31 Posts 11 Posters 11.0k 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.
  • derwishD derwish

    @barduino Thank you!

    barduinoB Offline
    barduinoB Offline
    barduino
    wrote on last edited by barduino
    #5

    @derwish, I'm getting an illegal instruction error.

    It seems to come from the dnx, actually when I try dnx --version I get the Illegal instruction.

    the dnvm list seems fine

    pi@rpic:~ $ dnvm list
    
    Active Version              Runtime Architecture OperatingSystem Alias
    ------ -------              ------- ------------ --------------- -----
           1.0.0-rc1-update1    coreclr x64          linux           
      *    1.0.0-rc1-update1    mono                 linux/osx       default
    

    not sure where it went wrong and I have no clue where to look.

    This is Raspien latest version after plenty of apt-get update and upgrade

    EDIT:

    Re installed from start, dnx is working fine and I can even start the web server.

    However now I cant get passed the serial device selection

    I have the arduino gateway on usb with the gateway beta 2.0 installed, and I get this:

    0_1457760885086_upload-29e0c122-219c-4406-ab20-042bb942ad3a

    Any tips?

    Thanks

    derwishD 1 Reply Last reply
    0
    • Q Offline
      Q Offline
      Qu3Uk
      wrote on last edited by
      #6

      Looking good, I setup my ethernet gateway quite quickly. I'm running on windows and I did have to "unblock" the zip before extracting or it threw an error on start up regarding CAS policy.

      I've noticed though as I'm running Openhab and MyNodes.NET side by side on the ethernet gateway I see the openhab log flooded with the return for a gateway version request from a controller. I see nothing in the logs to suggest MyNodes.NET is sending this but closing it stops the messages etc so I suspect it is. Seems every second it's requesting the version..

      See example from OpenHab log.

      22:43:22.740 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;0;1;0;0;36.0
      22:43:25.739 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5
      22:43:35.746 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5
      22:43:45.762 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5
      22:43:55.031 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;0;1;0;0;36.0
      22:43:55.764 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5
      22:44:05.462 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 9;0;1;0;1;28.6
      
      derwishD 1 Reply Last reply
      0
      • barduinoB barduino

        @derwish, I'm getting an illegal instruction error.

        It seems to come from the dnx, actually when I try dnx --version I get the Illegal instruction.

        the dnvm list seems fine

        pi@rpic:~ $ dnvm list
        
        Active Version              Runtime Architecture OperatingSystem Alias
        ------ -------              ------- ------------ --------------- -----
               1.0.0-rc1-update1    coreclr x64          linux           
          *    1.0.0-rc1-update1    mono                 linux/osx       default
        

        not sure where it went wrong and I have no clue where to look.

        This is Raspien latest version after plenty of apt-get update and upgrade

        EDIT:

        Re installed from start, dnx is working fine and I can even start the web server.

        However now I cant get passed the serial device selection

        I have the arduino gateway on usb with the gateway beta 2.0 installed, and I get this:

        0_1457760885086_upload-29e0c122-219c-4406-ab20-042bb942ad3a

        Any tips?

        Thanks

        derwishD Offline
        derwishD Offline
        derwish
        Contest Winner
        wrote on last edited by
        #7

        @barduino At the moment there are some problems working with the serial port under Linux in ASP.NET5. I wrote about this in Troubleshooting. I made a request to Microsoft, but they answered that probably this is a problem in mono. I'm waiting for the update mono and ASP.NET5 RC2. But now there is only the possibility to use Ethernet-gateway.

        1 Reply Last reply
        0
        • Q Qu3Uk

          Looking good, I setup my ethernet gateway quite quickly. I'm running on windows and I did have to "unblock" the zip before extracting or it threw an error on start up regarding CAS policy.

          I've noticed though as I'm running Openhab and MyNodes.NET side by side on the ethernet gateway I see the openhab log flooded with the return for a gateway version request from a controller. I see nothing in the logs to suggest MyNodes.NET is sending this but closing it stops the messages etc so I suspect it is. Seems every second it's requesting the version..

          See example from OpenHab log.

          22:43:22.740 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;0;1;0;0;36.0
          22:43:25.739 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5
          22:43:35.746 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5
          22:43:45.762 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5
          22:43:55.031 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;0;1;0;0;36.0
          22:43:55.764 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5
          22:44:05.462 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 9;0;1;0;1;28.6
          
          derwishD Offline
          derwishD Offline
          derwish
          Contest Winner
          wrote on last edited by
          #8

          @Qu3Uk Thanks for the hint to unlock the zip archive. I got this problem while testing on some computers with Windows 7, and could not understand how to fix it. In Windows 10 this problem is not present. I'll write about it on the website.

          About the request version. The controller queries the version of the gateway every 10 seconds, to make sure that the gateway is still connected. If the gateway does not respond, the controller will try to reconnect to it. This is a mechanism to protect against disconnects. Log console filters those messages by default, but you can see them if you enable Gateway Messages on config page.

          Q 1 Reply Last reply
          0
          • derwishD derwish

            @Qu3Uk Thanks for the hint to unlock the zip archive. I got this problem while testing on some computers with Windows 7, and could not understand how to fix it. In Windows 10 this problem is not present. I'll write about it on the website.

            About the request version. The controller queries the version of the gateway every 10 seconds, to make sure that the gateway is still connected. If the gateway does not respond, the controller will try to reconnect to it. This is a mechanism to protect against disconnects. Log console filters those messages by default, but you can see them if you enable Gateway Messages on config page.

            Q Offline
            Q Offline
            Qu3Uk
            wrote on last edited by
            #9

            @derwish Ah that makes sense if your using it to check connection, should have twigged that.

            So whats your plans for MyNodes.NET?

            derwishD 1 Reply Last reply
            0
            • W Offline
              W Offline
              wilson64
              wrote on last edited by
              #10

              Any support for MQTT gateway?

              1 Reply Last reply
              1
              • Q Qu3Uk

                @derwish Ah that makes sense if your using it to check connection, should have twigged that.

                So whats your plans for MyNodes.NET?

                derwishD Offline
                derwishD Offline
                derwish
                Contest Winner
                wrote on last edited by
                #11

                @Qu3Uk If it will be in demand, I will add the functionality that is being asked.

                derwishD 1 Reply Last reply
                0
                • derwishD derwish

                  @Qu3Uk If it will be in demand, I will add the functionality that is being asked.

                  derwishD Offline
                  derwishD Offline
                  derwish
                  Contest Winner
                  wrote on last edited by
                  #12

                  @derwish I haven't experimented with it yet.

                  1 Reply Last reply
                  0
                  • derwishD Offline
                    derwishD Offline
                    derwish
                    Contest Winner
                    wrote on last edited by
                    #13

                    Updated Troubleshooting section on the website.

                    1 Reply Last reply
                    0
                    • Greg McFadyenG Offline
                      Greg McFadyenG Offline
                      Greg McFadyen
                      wrote on last edited by
                      #14

                      Wow, this is really smart thinking and I've just installed with one gateway and one sensor.
                      Well done, thank you.

                      derwishD 1 Reply Last reply
                      0
                      • oscarcO Offline
                        oscarcO Offline
                        oscarc
                        wrote on last edited by
                        #15

                        Newbie here , could some one please show me how to do a timer for a relay ? my gateway and my relay are already connected to Mynodes but so far i haven't been able to make it switch on or off
                        thanks for any help

                        derwishD 1 Reply Last reply
                        0
                        • oscarcO oscarc

                          Newbie here , could some one please show me how to do a timer for a relay ? my gateway and my relay are already connected to Mynodes but so far i haven't been able to make it switch on or off
                          thanks for any help

                          derwishD Offline
                          derwishD Offline
                          derwish
                          Contest Winner
                          wrote on last edited by
                          #16

                          @oscarc To start, just plug UI/Toggle. It will send "1" / "0" in your device. You got it in the firmware of the Arduino. When this will work, try different timers. For example, UI/Timer. You'll see its interface in dashboard. Schedule it to send "1" at the right time. If you have any problems, write me (info@mynodes.net) and I'll help you via Skype.

                          oscarcO 1 Reply Last reply
                          0
                          • Greg McFadyenG Greg McFadyen

                            Wow, this is really smart thinking and I've just installed with one gateway and one sensor.
                            Well done, thank you.

                            derwishD Offline
                            derwishD Offline
                            derwish
                            Contest Winner
                            wrote on last edited by
                            #17

                            @Greg-McFadyen Thank you.

                            Guys, if you make an interesting panels, share file/screenshot here.
                            I want to make panels for various kinds of RGB-LED fades for the party. I would be grateful if you help.

                            1 Reply Last reply
                            0
                            • derwishD derwish

                              @oscarc To start, just plug UI/Toggle. It will send "1" / "0" in your device. You got it in the firmware of the Arduino. When this will work, try different timers. For example, UI/Timer. You'll see its interface in dashboard. Schedule it to send "1" at the right time. If you have any problems, write me (info@mynodes.net) and I'll help you via Skype.

                              oscarcO Offline
                              oscarcO Offline
                              oscarc
                              wrote on last edited by
                              #18

                              @derwish Thank you ,I'll give it a try .

                              1 Reply Last reply
                              0
                              • keldandorinK Offline
                                keldandorinK Offline
                                keldandorin
                                wrote on last edited by
                                #19

                                This is soooooooo great. I been trying to program something like this for month but as a total N00B it has been harder then I thought. Got a hold bunch off ideas to expand this. :)

                                1. Email Node - Send mail message
                                2. Send message to Azure IoT hub
                                3. Resive message from Azure
                                4. Send Message to Azure mobile hub for Push notifications
                                5. Read From External Database
                                6. Write To External Database

                                Couple of questians
                                Is it possible to run this as a service in windows and not as a console app?
                                Is it possible to make it work on Windows IoT ?

                                And again super nice gateway alot of thx.

                                //Håkan

                                derwishD 1 Reply Last reply
                                0
                                • keldandorinK keldandorin

                                  This is soooooooo great. I been trying to program something like this for month but as a total N00B it has been harder then I thought. Got a hold bunch off ideas to expand this. :)

                                  1. Email Node - Send mail message
                                  2. Send message to Azure IoT hub
                                  3. Resive message from Azure
                                  4. Send Message to Azure mobile hub for Push notifications
                                  5. Read From External Database
                                  6. Write To External Database

                                  Couple of questians
                                  Is it possible to run this as a service in windows and not as a console app?
                                  Is it possible to make it work on Windows IoT ?

                                  And again super nice gateway alot of thx.

                                  //Håkan

                                  derwishD Offline
                                  derwishD Offline
                                  derwish
                                  Contest Winner
                                  wrote on last edited by
                                  #20

                                  @keldandorin Hi. I've added your ideas to my task list. Thank you. If you can program in C#, you can try to do it yourself. Read documentation for developers.
                                  I haven't experimented with Windows IOT yet, but it certainly works under Linux on the raspberry.
                                  On about the service, I'll look for options, how to do it. It is a necessary thing for me too.

                                  keldandorinK 1 Reply Last reply
                                  0
                                  • derwishD derwish

                                    @keldandorin Hi. I've added your ideas to my task list. Thank you. If you can program in C#, you can try to do it yourself. Read documentation for developers.
                                    I haven't experimented with Windows IOT yet, but it certainly works under Linux on the raspberry.
                                    On about the service, I'll look for options, how to do it. It is a necessary thing for me too.

                                    keldandorinK Offline
                                    keldandorinK Offline
                                    keldandorin
                                    wrote on last edited by
                                    #21

                                    @derwish Cool. I have working code for sending and resiveing messages from azure. Read the dev documents and will try to make a node as soon as I can.

                                    1 Reply Last reply
                                    0
                                    • lordsidneyL Offline
                                      lordsidneyL Offline
                                      lordsidney
                                      wrote on last edited by
                                      #22

                                      Hi,

                                      I'm really interested in this software, but I'm also a .NET beginer. I got an issue when executing web.cmd ==> "dnx.win32.dll could not be loaded. Last error : 87"...

                                      Is there someone who could tell me what is going wrong ?

                                      derwishD 1 Reply Last reply
                                      0
                                      • lordsidneyL lordsidney

                                        Hi,

                                        I'm really interested in this software, but I'm also a .NET beginer. I got an issue when executing web.cmd ==> "dnx.win32.dll could not be loaded. Last error : 87"...

                                        Is there someone who could tell me what is going wrong ?

                                        derwishD Offline
                                        derwishD Offline
                                        derwish
                                        Contest Winner
                                        wrote on last edited by
                                        #23

                                        @lordsidney This error occurs on Windows 7, if you have not installed the system update. https://github.com/aspnet/dnx/issues/3213

                                        1 Reply Last reply
                                        0
                                        • Q Offline
                                          Q Offline
                                          Qu3Uk
                                          wrote on last edited by
                                          #24

                                          Any plans to support the MQTT gateway.. I'm finding I want to use multiple controllers but I find the Ethernet gateway supports only so many connections so I want to move towards using MQTT.

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


                                          13

                                          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