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. Feature Requests
  3. Bridge between RF24 and RS485

Bridge between RF24 and RS485

Scheduled Pinned Locked Moved Feature Requests
17 Posts 8 Posters 5.5k Views 10 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.
  • rejoe2R Offline
    rejoe2R Offline
    rejoe2
    wrote on last edited by
    #2

    Sounds like an interesting idea. As my controller (FHEM) seems to get a little confused when using more than one GW, the option to have one wired RS485 backbone with one or more "relay stations" towards a few NRF-Nodes would be really cool.

    Made some investigations wrt. to this, but I didn't even suceed in finding the place of the code used for "regular" repeater nodes. As the normal repeaters also seem to buffer the info to forward, it should not be impossible to make them send info received from RF-side to RS485 and vice versa. It is quite obvious, this will eliminate the "regular" RF-repeater functionality, but imo. that would not be a problem.

    Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

    1 Reply Last reply
    0
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #3

      +1 on that, I like wired when possible but need wireless for most part.

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      1
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #4

        If you can run a cable, you could make a new ethernet gateway

        sundberg84S 1 Reply Last reply
        0
        • gohanG gohan

          If you can run a cable, you could make a new ethernet gateway

          sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #5

          @gohan - not within the same network and nodes in between have to be configured to choose one - if i got this right.

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          1 Reply Last reply
          1
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #6

            By choosing correct nodes id and channels I don't see why you can't have more gateways

            YveauxY 1 Reply Last reply
            0
            • gohanG gohan

              By choosing correct nodes id and channels I don't see why you can't have more gateways

              YveauxY Offline
              YveauxY Offline
              Yveaux
              Mod
              wrote on last edited by
              #7

              @gohan You can have as many gateways as you like, as long as these form separate networks.
              A single controller can connect to many gateways (networks).

              http://yveaux.blogspot.nl

              1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #8

                That's what I meant 😀

                1 Reply Last reply
                0
                • dk_iotD dk_iot

                  Are there plans (or code) to create a bridge (repeater) between a RF24 and RS485 mysensors network?

                  I'd like to have a some RS485 nodes to a few central locations in the house, from there on use a RF24 network.
                  Now I am enabling the Repeater functionality on every node, which should not be necessary and is prone to more errors.
                  (I tried to google for an answer, but could not find the right keywords to find an answer)

                  Looking forward to a nice discussion :)

                  marceltrapmanM Offline
                  marceltrapmanM Offline
                  marceltrapman
                  Mod
                  wrote on last edited by
                  #9

                  @dk_iot I have been playing with the same idea but then realised that using repeaters should be ok as well.
                  'What are you issues with repeaters' could be a more interesting question because I get the feeling that you are trying to give the patient some medicine without really knowing what to cure...
                  Or am I wrong?

                  Fulltime Servoy Developer
                  Parttime Moderator MySensors board

                  I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                  I have a FABtotum to print cases.

                  dk_iotD 1 Reply Last reply
                  0
                  • sundberg84S Offline
                    sundberg84S Offline
                    sundberg84
                    Hardware Contributor
                    wrote on last edited by sundberg84
                    #10

                    Its possible both ways - yes, but with a repeater you would not have to specify your network and the "healing" process which is one of the nice features in mysensors would work for a node in range of both repaters. This would not work with two different networks/gw.

                    Controller: Proxmox VM - Home Assistant
                    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                    1 Reply Last reply
                    0
                    • marceltrapmanM marceltrapman

                      @dk_iot I have been playing with the same idea but then realised that using repeaters should be ok as well.
                      'What are you issues with repeaters' could be a more interesting question because I get the feeling that you are trying to give the patient some medicine without really knowing what to cure...
                      Or am I wrong?

                      dk_iotD Offline
                      dk_iotD Offline
                      dk_iot
                      wrote on last edited by
                      #11

                      @marceltrapman
                      One of the problems I had that the auto healing of the network started to loop/route into each other. So packets never arrived to the Gateway. The other one was a female NRF connector attached to a female antenna connector (took some time before I figured out). My current solution is one USB Gateway, and only one repeater, and two BIG antennas (with a male-to-male cable) between them...
                      I am hardcoding Node-ID's and Parents ID's now in my scripts.
                      What I am really missing is a way to define/set the parent ID in my script (Arduino Sketch), it would mean that I can have a single script for all my nodes, and configure the next hop (parent ID) before starting the NRF radio.
                      Do you know if this exists?

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        hugch
                        wrote on last edited by
                        #12

                        A repeater feature would be amasing. I posted a feature request on github, but i think it is better here:

                        I would like to build a wired network with RS-485 based sensors, because wireless signals can't go through the location where the sensors are. But outside of the metal house i can send and receive messages via NRF24L01.

                        So but the current MySensor library supports only a LAN, WLAN or serial gateway, but i need a NRF gateway. ;-)
                        Because there is no LAN or WLAN available. Would it possible to do this?
                        I think two ways could be useful:

                        1. a real gateway function
                        2. only pass through between RS-485 and NRF without an extra gateway

                        Which one would be easier to implement? I could help with this, but i don't exactly know the best point to start at. Allows the current library structure this modification?

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          ArduiSens
                          wrote on last edited by
                          #13

                          This would be a great step forward because today I can't find a good solution for connecting a RS485 wired sensor network to my Synology NAS without using USB (USB is complicated when using Arduino boards)

                          By option 1, do you mean a gateway-interface device like translating RS485 data into Ethernet?

                          I can do some integration testing :wink:

                          MySensors 2.3.2; contr:Domoticz; layer: RS485, nRF24; gw: Ethernet, Serial

                          H 1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #14

                            Rs485 gateway exists already in mysensors

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              ArduiSens
                              wrote on last edited by
                              #15

                              I know but not with the interface RS485 to Ethernet or NRF24L01+.
                              Only RS485 to USB which doesn't work when connecting to Synology NAS, in this case you also should wire it up to your NAS.

                              MySensors 2.3.2; contr:Domoticz; layer: RS485, nRF24; gw: Ethernet, Serial

                              gohanG 1 Reply Last reply
                              0
                              • A ArduiSens

                                This would be a great step forward because today I can't find a good solution for connecting a RS485 wired sensor network to my Synology NAS without using USB (USB is complicated when using Arduino boards)

                                By option 1, do you mean a gateway-interface device like translating RS485 data into Ethernet?

                                I can do some integration testing :wink:

                                H Offline
                                H Offline
                                hugch
                                wrote on last edited by
                                #16

                                @ArduiSens No i mean not a ethernet gateway. I mean a gateway between RS485 and the wireless network.
                                Currently there exists only a gateway from RS485 to UART but not to the wireless network.

                                1 Reply Last reply
                                0
                                • A ArduiSens

                                  I know but not with the interface RS485 to Ethernet or NRF24L01+.
                                  Only RS485 to USB which doesn't work when connecting to Synology NAS, in this case you also should wire it up to your NAS.

                                  gohanG Offline
                                  gohanG Offline
                                  gohan
                                  Mod
                                  wrote on last edited by
                                  #17

                                  @ArduiSens actually it should be working with all gateway types

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


                                  24

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