Skip to content
  • 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. OpenHardware.io
  3. 💬 Sensebender Gateway
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

💬 Sensebender Gateway

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsgatewaysamd
382 Posts 59 Posters 151.2k Views 53 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.
  • alexsh1A alexsh1

    @FotoFieber this is a software limitation. Hardware wise I do not see why Sensebender GW cannot handle two (nrf24l01+ and rfm69/rfm95) GWs at the same time

    FotoFieberF Offline
    FotoFieberF Offline
    FotoFieber
    Hardware Contributor
    wrote on last edited by
    #91

    @alexsh1
    The question is: will the software restriction be solved? If not, I do not care if it is a software or a hardware restriction. :)

    alexsh1A 1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #92

      @FotoFieber

      Well, you need to hack the core anyways, if you want to accomplish your goal.

      You could also help out with the core development, so we can get support for multiple transport on one gateway ;)

      FotoFieberF 1 Reply Last reply
      0
      • tbowmoT tbowmo

        @FotoFieber

        Well, you need to hack the core anyways, if you want to accomplish your goal.

        You could also help out with the core development, so we can get support for multiple transport on one gateway ;)

        FotoFieberF Offline
        FotoFieberF Offline
        FotoFieber
        Hardware Contributor
        wrote on last edited by
        #93

        @tbowmo
        No, I don't have to hack the core. I use the serial API. From an architectural point of view, I don't see the need to change anything in MySensors. A serial controller can be built for under 20€ Including the radio. Why should I add complexity to support more than one radio support with one cpu in MySensors, if I can have the functipnality with the abstraction layer of the serial API? Please keep MySensors s simple as possible.

        AnticimexA tbowmoT alexsh1A 3 Replies Last reply
        0
        • FotoFieberF FotoFieber

          @tbowmo
          No, I don't have to hack the core. I use the serial API. From an architectural point of view, I don't see the need to change anything in MySensors. A serial controller can be built for under 20€ Including the radio. Why should I add complexity to support more than one radio support with one cpu in MySensors, if I can have the functipnality with the abstraction layer of the serial API? Please keep MySensors s simple as possible.

          AnticimexA Offline
          AnticimexA Offline
          Anticimex
          Contest Winner
          wrote on last edited by
          #94

          @FotoFieber simple for who? Simplicity also involve maintenance and code complexity. What about testability and regression testing? Nobody gets paid for maintaining mysensors.

          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

          1 Reply Last reply
          0
          • FotoFieberF FotoFieber

            @tbowmo
            No, I don't have to hack the core. I use the serial API. From an architectural point of view, I don't see the need to change anything in MySensors. A serial controller can be built for under 20€ Including the radio. Why should I add complexity to support more than one radio support with one cpu in MySensors, if I can have the functipnality with the abstraction layer of the serial API? Please keep MySensors s simple as possible.

            tbowmoT Offline
            tbowmoT Offline
            tbowmo
            Admin
            wrote on last edited by
            #95

            @FotoFieber

            But you ditched the sensebender Gateway, as it doesn't support multiple radios at the same time? Now you are saying that you would keep it as one radio per gateway?

            This doesn't make sense :)

            FotoFieberF 1 Reply Last reply
            0
            • tbowmoT tbowmo

              @FotoFieber

              But you ditched the sensebender Gateway, as it doesn't support multiple radios at the same time? Now you are saying that you would keep it as one radio per gateway?

              This doesn't make sense :)

              FotoFieberF Offline
              FotoFieberF Offline
              FotoFieber
              Hardware Contributor
              wrote on last edited by
              #96

              @tbowmo
              Maybe the design of the sensebender gateway doesn't make sense to my architectural viewpoint....

              1 Reply Last reply
              0
              • FotoFieberF FotoFieber

                @alexsh1
                The question is: will the software restriction be solved? If not, I do not care if it is a software or a hardware restriction. :)

                alexsh1A Offline
                alexsh1A Offline
                alexsh1
                wrote on last edited by
                #97

                @FotoFieber This is a question for the MySensors dev team. Sensebender can handle both radios. Currently, there is a software restriction.

                1 Reply Last reply
                0
                • FotoFieberF FotoFieber

                  @tbowmo
                  No, I don't have to hack the core. I use the serial API. From an architectural point of view, I don't see the need to change anything in MySensors. A serial controller can be built for under 20€ Including the radio. Why should I add complexity to support more than one radio support with one cpu in MySensors, if I can have the functipnality with the abstraction layer of the serial API? Please keep MySensors s simple as possible.

                  alexsh1A Offline
                  alexsh1A Offline
                  alexsh1
                  wrote on last edited by alexsh1
                  #98

                  @FotoFieber No, you do have to hack the core if you want both radios to be handled properly, i.e. to handle message queues with corresponding radios. For example, sending a message is done via rfm69 only and not via nrf24l01+

                  1 Reply Last reply
                  0
                  • AnticimexA Offline
                    AnticimexA Offline
                    Anticimex
                    Contest Winner
                    wrote on last edited by
                    #99

                    The architecture we use would place this kind of situation to the controller to solve. One gw per network. So one gw for nrf and one for rfm.
                    HW is cheap, and library should be kept simple.

                    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                    FotoFieberF 1 Reply Last reply
                    1
                    • AnticimexA Anticimex

                      The architecture we use would place this kind of situation to the controller to solve. One gw per network. So one gw for nrf and one for rfm.
                      HW is cheap, and library should be kept simple.

                      FotoFieberF Offline
                      FotoFieberF Offline
                      FotoFieber
                      Hardware Contributor
                      wrote on last edited by
                      #100

                      @Anticimex
                      One gateway per radio, that is what I think is best. :+1:

                      What I try to do, is to implement a controller with arduino due for up to three serial gateways. If there would be a solution for ethernet&rfm69 I may not have invested time in this. :laughing:

                      0_1485703507553_DueMysMQTT_Steckplatine.png

                      1 Reply Last reply
                      0
                      • tbowmoT Offline
                        tbowmoT Offline
                        tbowmo
                        Admin
                        wrote on last edited by
                        #101

                        @FotoFieber

                        Well sensebender GW supports rfm69 with ethernet ;)

                        FotoFieberF alexsh1A 2 Replies Last reply
                        1
                        • tbowmoT tbowmo

                          @FotoFieber

                          Well sensebender GW supports rfm69 with ethernet ;)

                          FotoFieberF Offline
                          FotoFieberF Offline
                          FotoFieber
                          Hardware Contributor
                          wrote on last edited by
                          #102

                          @tbowmo
                          Yes, that is really nice. :+1:

                          My other goal was to have a new MQTTClientGateway, as it existed with MySensors 1.1 (which is not only a gateway, but a controller too). It would have been really painful to add it to MySensors 2.1.x, as I would have to patch core files. It is much easier, to throw hardware at it. :laughing:

                          1 Reply Last reply
                          0
                          • tbowmoT tbowmo

                            @FotoFieber

                            Well sensebender GW supports rfm69 with ethernet ;)

                            alexsh1A Offline
                            alexsh1A Offline
                            alexsh1
                            wrote on last edited by
                            #103

                            @tbowmo More practical question. I have received the GW and it already has MySensors 2.1.0 software. Excellent service by Itead. Can you please help me how to map LEDs in the GW sketch? I can see that they are connected to pins 38, 41, 42, 39, 40 as LED1, LED2, LED3, LED4 and LED5. Thanks

                            tbowmoT 1 Reply Last reply
                            0
                            • alexsh1A alexsh1

                              @tbowmo More practical question. I have received the GW and it already has MySensors 2.1.0 software. Excellent service by Itead. Can you please help me how to map LEDs in the GW sketch? I can see that they are connected to pins 38, 41, 42, 39, 40 as LED1, LED2, LED3, LED4 and LED5. Thanks

                              tbowmoT Offline
                              tbowmoT Offline
                              tbowmo
                              Admin
                              wrote on last edited by tbowmo
                              #104

                              @alexsh1

                              you should be able to use LED_BLUE, LED_GREEN etc. defines (or even just LED_1, LED_2..) in your sketch, to access the different LED's on board the gateway. That is, if you are using the SenseBender GW hardware support files in arduino (installation instructions are here https://github.com/mysensors/ArduinoBoards)

                              Also, look at the board definition files, located here https://github.com/mysensors/ArduinoHwSAMD/blob/master/variants/mysensors_gw/variant.cpp
                              and here https://github.com/mysensors/ArduinoHwSAMD/blob/master/variants/mysensors_gw/variant.h

                              alexsh1A 1 Reply Last reply
                              1
                              • tbowmoT tbowmo

                                @alexsh1

                                you should be able to use LED_BLUE, LED_GREEN etc. defines (or even just LED_1, LED_2..) in your sketch, to access the different LED's on board the gateway. That is, if you are using the SenseBender GW hardware support files in arduino (installation instructions are here https://github.com/mysensors/ArduinoBoards)

                                Also, look at the board definition files, located here https://github.com/mysensors/ArduinoHwSAMD/blob/master/variants/mysensors_gw/variant.cpp
                                and here https://github.com/mysensors/ArduinoHwSAMD/blob/master/variants/mysensors_gw/variant.h

                                alexsh1A Offline
                                alexsh1A Offline
                                alexsh1
                                wrote on last edited by
                                #105

                                @tbowmo Excellent links, many thanks. BTW the board is working with the standard arduino samd, the problem I suppose comes with things LEDs.

                                1 Reply Last reply
                                0
                                • tbowmoT Offline
                                  tbowmoT Offline
                                  tbowmo
                                  Admin
                                  wrote on last edited by
                                  #106

                                  @alexsh1

                                  You might be able to compile with the standard arduino zero BSP files. But the IO mapping is not the same at all.. I have swapped some pins to make routing a bit easier. Also the SPI channels are configured a bit differently than the standard arduino, if I remember right. So I will advise to use the mysensors gateway BSP files..

                                  alexsh1A 1 Reply Last reply
                                  0
                                  • tbowmoT tbowmo

                                    @alexsh1

                                    You might be able to compile with the standard arduino zero BSP files. But the IO mapping is not the same at all.. I have swapped some pins to make routing a bit easier. Also the SPI channels are configured a bit differently than the standard arduino, if I remember right. So I will advise to use the mysensors gateway BSP files..

                                    alexsh1A Offline
                                    alexsh1A Offline
                                    alexsh1
                                    wrote on last edited by alexsh1
                                    #107

                                    @tbowmo it is already done. Thanks to your link I have now Sensebender Gateway board added.
                                    Waiting for an ethernet board now, it has stuck in the post

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

                                      @tbowmo : Did you try to use this board with platformio ?

                                      1 Reply Last reply
                                      0
                                      • tbowmoT Offline
                                        tbowmoT Offline
                                        tbowmo
                                        Admin
                                        wrote on last edited by
                                        #109

                                        @Fabien

                                        No, platformio is still on my bucketlist.. There is just not hours enough for everything :)

                                        F 1 Reply Last reply
                                        1
                                        • tbowmoT tbowmo

                                          @Fabien

                                          No, platformio is still on my bucketlist.. There is just not hours enough for everything :)

                                          F Offline
                                          F Offline
                                          Fabien
                                          wrote on last edited by
                                          #110

                                          @tbowmo Ok I will install arduino IDE to upgrade it to 2.1.1
                                          Please post here iwhen you have more information. I think I will try but I have no experience with this architecture.

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


                                          6

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular