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.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by
    #85

    No, only one radio type or rs485 is possible at the moment.

    1 Reply Last reply
    0
    • Sander TeunissenS Sander Teunissen

      Is this device capable of being a gateway for both nRF24L01+ radio and the Hope RF RFM69HCW radio simultaneously ?
      I have some nRF24 nodes and see a lot of new goodies equiped with the RFM69 radio. One gateway to serve both would be excellent !

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

      @Sander-Teunissen

      The hardware supports both NRF and RFM69 at the same time, they share the same SPI bus, but has separate chip select lines etc.

      Unfortunately the MySensors library doesn't support multiple transports, so this time it's the software that limits things.

      FotoFieberF 1 Reply Last reply
      0
      • F Offline
        F Offline
        Fabien
        wrote on last edited by
        #87

        Yes ! Itead send me the gateway today

        alexsh1A 1 Reply Last reply
        0
        • F Fabien

          Yes ! Itead send me the gateway today

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

          @Fabien said in 💬 Sensebender Gateway:

          Yes ! Itead send me the gateway today

          I have got mine today. Very quick

          1 Reply Last reply
          0
          • tbowmoT tbowmo

            @Sander-Teunissen

            The hardware supports both NRF and RFM69 at the same time, they share the same SPI bus, but has separate chip select lines etc.

            Unfortunately the MySensors library doesn't support multiple transports, so this time it's the software that limits things.

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

            @tbowmo
            The fact, that MySensors doesn't support more then one radio, was the reason for me not to order the sensebender gateway.

            I am working on a gateway⁄controller based on an arduino due, which supports at least up to 3 serial gateways via hardware serial. It handles ID and time (synced with ntp) requests and does pub/sub to mqtt with readable topics.(inspired by the old mqtt client gateway)

            alexsh1A 1 Reply Last reply
            0
            • FotoFieberF FotoFieber

              @tbowmo
              The fact, that MySensors doesn't support more then one radio, was the reason for me not to order the sensebender gateway.

              I am working on a gateway⁄controller based on an arduino due, which supports at least up to 3 serial gateways via hardware serial. It handles ID and time (synced with ntp) requests and does pub/sub to mqtt with readable topics.(inspired by the old mqtt client gateway)

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

              @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 1 Reply Last reply
              0
              • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          5

                                          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