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. General Discussion
  3. How to build a repeater

How to build a repeater

Scheduled Pinned Locked Moved General Discussion
14 Posts 4 Posters 7.9k Views 3 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.
  • S Offline
    S Offline
    stingone
    wrote on last edited by
    #1

    Hello everyone.

    I cant find a clear solution how to build a repeater. i have a tempsensor on 40m distance from my gateway and want to build a repeater in between.

    Can anyone tell me what to do achieving this e.g. sample code etc..

    Thanks..

    ramoncarranzaR 1 Reply Last reply
    0
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by
      #2

      Hello,

      Here it is https://www.mysensors.org/download/sensor_api_20#create-repeating-nodes
      lot of great docs on main site though ;)

      S ramoncarranzaR 2 Replies Last reply
      0
      • scalzS scalz

        Hello,

        Here it is https://www.mysensors.org/download/sensor_api_20#create-repeating-nodes
        lot of great docs on main site though ;)

        S Offline
        S Offline
        stingone
        wrote on last edited by
        #3

        @scalz said:

        Hello,

        Here it is https://www.mysensors.org/download/sensor_api_20#create-repeating-nodes
        lot of great docs on main site though ;)

        so do i need to use for each sensor a repeater? copy the sensor code and add the #define MY_REPEATER_FEATURE in the top of the code?

        1 Reply Last reply
        0
        • S stingone

          Hello everyone.

          I cant find a clear solution how to build a repeater. i have a tempsensor on 40m distance from my gateway and want to build a repeater in between.

          Can anyone tell me what to do achieving this e.g. sample code etc..

          Thanks..

          ramoncarranzaR Offline
          ramoncarranzaR Offline
          ramoncarranza
          wrote on last edited by
          #4

          @stingone hi, the mysensor master library comes with an example file to create a "RepeaterNode" I've built 4 of them using an Arduino nano and a radio module ( https://www.mysensors.org/build/connect_radio) they work very well for me.

          S 1 Reply Last reply
          0
          • scalzS scalz

            Hello,

            Here it is https://www.mysensors.org/download/sensor_api_20#create-repeating-nodes
            lot of great docs on main site though ;)

            ramoncarranzaR Offline
            ramoncarranzaR Offline
            ramoncarranza
            wrote on last edited by
            #5

            @scalz Thanks so much I was looking for something like this as well, thanks again

            1 Reply Last reply
            0
            • ramoncarranzaR ramoncarranza

              @stingone hi, the mysensor master library comes with an example file to create a "RepeaterNode" I've built 4 of them using an Arduino nano and a radio module ( https://www.mysensors.org/build/connect_radio) they work very well for me.

              S Offline
              S Offline
              stingone
              wrote on last edited by
              #6

              @ramoncarranza

              So just using that example code is enough?

              ramoncarranzaR 1 Reply Last reply
              0
              • S stingone

                @ramoncarranza

                So just using that example code is enough?

                ramoncarranzaR Offline
                ramoncarranzaR Offline
                ramoncarranza
                wrote on last edited by
                #7

                @stingone yep all you have to do is upload it to your radio set-up and that's it, but you do waste a board and a radio unit, but in MY case is well worth it.

                S 1 Reply Last reply
                1
                • ramoncarranzaR ramoncarranza

                  @stingone yep all you have to do is upload it to your radio set-up and that's it, but you do waste a board and a radio unit, but in MY case is well worth it.

                  S Offline
                  S Offline
                  stingone
                  wrote on last edited by
                  #8

                  @ramoncarranza

                  Ok so no need to change any code in my original sensor? and will it send multiple values from more sensors if picked-up?

                  1 Reply Last reply
                  0
                  • ramoncarranzaR Offline
                    ramoncarranzaR Offline
                    ramoncarranza
                    wrote on last edited by
                    #9

                    no need to change anything on your original sensors and and yes it will relay signals from multiple sensors to your gateway/controller. Just our of curiosity, what controller are you using???

                    S 2 Replies Last reply
                    0
                    • ramoncarranzaR ramoncarranza

                      no need to change anything on your original sensors and and yes it will relay signals from multiple sensors to your gateway/controller. Just our of curiosity, what controller are you using???

                      S Offline
                      S Offline
                      stingone
                      wrote on last edited by stingone
                      #10

                      @ramoncarranza said:

                      no need to change anything on your original sensors and and yes it will relay signals from multiple sensors to your gateway/controller. Just our of curiosity, what controller are you using???

                      Using pimatic v9. on a raspberry pi 3. I already build a mysensors combined temp/ph sensor. But had to change the code in mysensors v2.0. I'm using lot of 433mhz over more then 25 devices.. but im now changing also towards mysensors :). so the mysensors is a little bit new to me.

                      1 Reply Last reply
                      0
                      • ramoncarranzaR ramoncarranza

                        no need to change anything on your original sensors and and yes it will relay signals from multiple sensors to your gateway/controller. Just our of curiosity, what controller are you using???

                        S Offline
                        S Offline
                        stingone
                        wrote on last edited by stingone
                        #11

                        @ramoncarranza said:

                        no need to change anything on your original sensors and and yes it will relay signals from multiple sensors to your gateway/controller. Just our of curiosity, what controller are you using???

                        Just build the repeater today..how can i see check if it is working properly??

                        Nevermind its working :):) just received the information on the repeater... great support thanks

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          stingone
                          wrote on last edited by
                          #12

                          Now testing for few day's and i see that one of my sensors stops working after few minutes.. the one that is most close to the gateway... after resetting it sends af few minutes and then stops working again...

                          mfalkviddM 1 Reply Last reply
                          0
                          • S stingone

                            Now testing for few day's and i see that one of my sensors stops working after few minutes.. the one that is most close to the gateway... after resetting it sends af few minutes and then stops working again...

                            mfalkviddM Offline
                            mfalkviddM Offline
                            mfalkvidd
                            Mod
                            wrote on last edited by
                            #13

                            @stingone what does the serial debug output say?

                            S 1 Reply Last reply
                            0
                            • mfalkviddM mfalkvidd

                              @stingone what does the serial debug output say?

                              S Offline
                              S Offline
                              stingone
                              wrote on last edited by stingone
                              #14

                              @mfalkvidd said:

                              @stingone what does the serial debug output say?

                              TSM:UPL
                              TSP:PING:SEND (dest=0)
                              !TSP:MSG:SEND 6-6-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
                              TSP:CHKUPL:FAIL (hops=255)
                              !TSM:UPL:FAIL
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              !TSP:SEND:TNR
                              TSP:MSG:READ 5-5-6 s=255,c=3,t=8,pt=1,l=1,sg=0:1
                              TSP:MSG:FPAR RES (ID=5, dist=1)
                              TSP:MSG:PAR OK (ID=5, dist=2)
                              !TSP:SEND:TNR
                              TSM:FPAR:OK
                              TSM:ID
                              TSM:CHKID:OK (ID=6)
                              TSM:UPL
                              TSP:PING:SEND (dest=0)
                              !TSP:MSG:SEND 6-6-5-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
                              TSP:CHKUPL:FAIL (hops=255)
                              !TSM:UPL:FAIL
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              Init complete, id=6, parent=255, distance=255, registration=1
                              !TSP:SEND:TNR```
                              
                              
                              Starting sensor (RNNNA-, 2.0.0)
                              TSM:INIT
                              TSM:RADIO:OK
                              TSP:ASSIGNID:OK (ID=6)
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              !TSM:FPAR:FAIL
                              !TSM:FAILURE
                              TSM:PDT
                              TSM:INIT
                              TSM:RADIO:OK
                              TSP:ASSIGNID:OK (ID=6)
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              !TSM:FPAR:FAIL
                              !TSM:FAILURE
                              TSM:PDT
                              TSM:INIT
                              TSM:RADIO:OK
                              TSP:ASSIGNID:OK (ID=6)
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              TSM:FPAR
                              TSP:MSG:SEND 6-6-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                              !TSM:FPAR:FAIL
                              !TSM:FAILURE
                              TSM:PDT
                              
                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              9

                              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