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. Announcements
  3. 💬 The Sensor Network

💬 The Sensor Network

Scheduled Pinned Locked Moved Announcements
46 Posts 11 Posters 2.9k 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.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by hek
    #1

    This thread contains comments for the article "The Sensor Network" posted on MySensors.org.

    1 Reply Last reply
    0
    • alowhumA Offline
      alowhumA Offline
      alowhum
      Plugin Developer
      wrote on last edited by
      #2

      So if I understand correctly I could just by default enable the repeater on every non-battery powered node I create? The nodes wil only use a repeater if they can't connect to the gateway directly? Are there any downsides to enabling it, besides using more battery? Will the airwaves be full of repeating shouting nodes, like a speech at an Occupy demonstration, and perhaps disrupt wifi?

      mfalkviddM 1 Reply Last reply
      0
      • alowhumA alowhum

        So if I understand correctly I could just by default enable the repeater on every non-battery powered node I create? The nodes wil only use a repeater if they can't connect to the gateway directly? Are there any downsides to enabling it, besides using more battery? Will the airwaves be full of repeating shouting nodes, like a speech at an Occupy demonstration, and perhaps disrupt wifi?

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

        @alowhum I don't know the answer but this thread has an earlier discussion on the same subject.

        1 Reply Last reply
        0
        • NiklasON Offline
          NiklasON Offline
          NiklasO
          wrote on last edited by
          #4

          In the example sketch for the RepeaterNode it has this info:

          • It is important that nodes that has enabled repeater mode calls
          • process() frequently. Repeaters should never sleep.

          So, is this for older sketches for versions below 2?
          Do we need to add something more to the example sketch?

          1 Reply Last reply
          1
          • hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #5

            This is done automatically nowadays. I will update the doc.

            1 Reply Last reply
            1
            • talhatecT Offline
              talhatecT Offline
              talhatec
              wrote on last edited by
              #6

              If I have multiple repeater nodes, is there a way to force a child node to got to a repeater Node and not to the GW? I have tried to use the setDestination function but that still goes via GW.

              mfalkviddM 1 Reply Last reply
              0
              • talhatecT talhatec

                If I have multiple repeater nodes, is there a way to force a child node to got to a repeater Node and not to the GW? I have tried to use the setDestination function but that still goes via GW.

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

                @talhatec setDestination sets final destination, not intermediate destination.

                Use MY_PARENT_NODE_ID and MY_PARENT_NODE_IS_STATIC to set static routing.

                talhatecT 1 Reply Last reply
                0
                • mfalkviddM mfalkvidd

                  @talhatec setDestination sets final destination, not intermediate destination.

                  Use MY_PARENT_NODE_ID and MY_PARENT_NODE_IS_STATIC to set static routing.

                  talhatecT Offline
                  talhatecT Offline
                  talhatec
                  wrote on last edited by
                  #8

                  @mfalkvidd I will try this out today and see if it helps. But this will just make the child node always communicate with the Repeater node. What im trying to do is : https://forum.mysensors.org/topic/6984/pairing-nodes-with-each-other

                  So on first boot, i want the child node to goto the GW and get a node-ID and register itself. Afterwards I want it to pair to a Repeater node.

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    cloolalang
                    wrote on last edited by
                    #9

                    A theroetcical capacity using RFM 95 LoRa radios in 433 MHz ISM band:
                    Lora Config bandwith: 125 KHz.
                    ISM band 433.050 - 434.790 MHz.
                    Allows for these 5 "channels";

                    1. 433.125
                    2. 433.400
                    3. 433.650
                    4. not used (ISM noise from commercial devices on 433.920 etc)
                    5. 434.150
                      6 .434.400
                      7 .not used (local ham repeater), (yes its nice to check!)

                    Each GW can handle 254 RF Nodes
                    254 x 5 RF channels = 1270 sensor nodes in any one geographical location. (including repeated nodes)?
                    p

                    mfalkviddM 1 Reply Last reply
                    0
                    • C cloolalang

                      A theroetcical capacity using RFM 95 LoRa radios in 433 MHz ISM band:
                      Lora Config bandwith: 125 KHz.
                      ISM band 433.050 - 434.790 MHz.
                      Allows for these 5 "channels";

                      1. 433.125
                      2. 433.400
                      3. 433.650
                      4. not used (ISM noise from commercial devices on 433.920 etc)
                      5. 434.150
                        6 .434.400
                        7 .not used (local ham repeater), (yes its nice to check!)

                      Each GW can handle 254 RF Nodes
                      254 x 5 RF channels = 1270 sensor nodes in any one geographical location. (including repeated nodes)?
                      p

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

                      @cloolalang you can also vary the spreading factor (6 alternatives) and the coding rate (4 alternatives), yielding 24x1270= 30,480 nodes. There are other options as well (encryption, directed antennas and more) but what to do will vary in each use case. Theoretical calculations can be fun, but they do not represent the real world.

                      F 1 Reply Last reply
                      0
                      • mfalkviddM mfalkvidd

                        @cloolalang you can also vary the spreading factor (6 alternatives) and the coding rate (4 alternatives), yielding 24x1270= 30,480 nodes. There are other options as well (encryption, directed antennas and more) but what to do will vary in each use case. Theoretical calculations can be fun, but they do not represent the real world.

                        F Offline
                        F Offline
                        frydrik
                        wrote on last edited by
                        #11

                        @mfalkvidd Hello, you can give an example of how to do this ? and if it is possible to perform on a Gateways ?

                        mfalkviddM 1 Reply Last reply
                        0
                        • F frydrik

                          @mfalkvidd Hello, you can give an example of how to do this ? and if it is possible to perform on a Gateways ?

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

                          @frydrik all nodes, including the gateway, on the same MySensors network need to use the same settings.

                          Documentation for settings: https://www.mysensors.org/apidocs/group__RFM95SettingGrpPub.html#gaedc32edc29ffd4ecc2c849e39010069e

                          F 1 Reply Last reply
                          0
                          • mfalkviddM mfalkvidd

                            @frydrik all nodes, including the gateway, on the same MySensors network need to use the same settings.

                            Documentation for settings: https://www.mysensors.org/apidocs/group__RFM95SettingGrpPub.html#gaedc32edc29ffd4ecc2c849e39010069e

                            F Offline
                            F Offline
                            frydrik
                            wrote on last edited by
                            #13

                            @mfalkvidd Thanks for the answer, I want to create a network for reading electric meters in a city with a population of over 500,000 people, the limit of 254 nodes is too small, yes, I understand that you can create more Gateways to share them after different frequencies, the spreading factor, coding rate, and I understand according to this scheme that the point where there will be Gateways will consist of several Gateways each will have as ex. a different frequency and only the nodes will be connected to it with its frequency, you can look at the sketch drawn by me. It gets too complicated, can it be done in a single GW or with a reduced number of GW? diagrama.jpg

                            mfalkviddM 1 Reply Last reply
                            1
                            • F frydrik

                              @mfalkvidd Thanks for the answer, I want to create a network for reading electric meters in a city with a population of over 500,000 people, the limit of 254 nodes is too small, yes, I understand that you can create more Gateways to share them after different frequencies, the spreading factor, coding rate, and I understand according to this scheme that the point where there will be Gateways will consist of several Gateways each will have as ex. a different frequency and only the nodes will be connected to it with its frequency, you can look at the sketch drawn by me. It gets too complicated, can it be done in a single GW or with a reduced number of GW? diagrama.jpg

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

                              @frydrik yes it can be done (in fact, has already been done multiple times). MySensors is not the right technology for that though. Take a look at Sigfox and LoRaWAN. NB-IoT and Wireless MBus might be applicable as well.

                              1 Reply Last reply
                              0
                              • F Offline
                                F Offline
                                frydrik
                                wrote on last edited by
                                #15

                                These technologies are quite expensive to make, mysensors comes with some pretty cheap solutions, I think mysensors can be used in urban areas where the density of electric meters is quite high, especially in the panels where the meters are usually installed are grouped several as ex. 4 and more, for this panel you can mount a node that will read the indications of all meters, thus drastically reducing the number of nodes and the cost will be even more attractive to carry out this project, I thought that these nodes can be made on esp8266 + RFM95 to gain greater distances between Gateways nodes, in rural areas I will think about implementing LoraWan, for me it is quite complicated to clarify with this technology.

                                mfalkviddM 1 Reply Last reply
                                0
                                • F frydrik

                                  These technologies are quite expensive to make, mysensors comes with some pretty cheap solutions, I think mysensors can be used in urban areas where the density of electric meters is quite high, especially in the panels where the meters are usually installed are grouped several as ex. 4 and more, for this panel you can mount a node that will read the indications of all meters, thus drastically reducing the number of nodes and the cost will be even more attractive to carry out this project, I thought that these nodes can be made on esp8266 + RFM95 to gain greater distances between Gateways nodes, in rural areas I will think about implementing LoraWan, for me it is quite complicated to clarify with this technology.

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

                                  @frydrik LoRaWAN nodes can be made with esp8266 and rfm95. I have done so myself.

                                  LoRaWAN gateways are slightly more expensive, but they are able to handle at least tens of thousands of nodes which is 100x more than a MySensors gateway, so the cost per node is much much lower than for MySensors.

                                  1 Reply Last reply
                                  0
                                  • F Offline
                                    F Offline
                                    frydrik
                                    wrote on last edited by
                                    #17

                                    the problem is that I can't find code examples for LoraWan nodes so I can start this project on LoraWan, first I created my own LoraWan gateways on TTGO LoRa32 SX1276 OLED, and on another module TTGO LoRa32 SX1276 OLED a test node as in the video on youtube https://www.youtube.com/watch?v=T40a51TAMDI&t=401s
                                    something works but the number of messages that reach the gate are very small in 24 hours I can receive 5-6, the problem I think I miss a gateways with one channel, and the node transmits randomly on that 8 channels, in addition I do not understand how to combine a sketch that reads the pulses from a meter with the loraWan library, I can't find examples of how to do it, that's why I was enchanted by the mysensors community, it's simple to create a node to understand how it works,
                                    in mysensors I found what I needed + it is a receptive community, if you have experience with LoraWan please guide me how to start creating these nodes, I found how to build a local LoRaWAN® Network Server, and unfortunately here I stopped

                                    mfalkviddM 1 Reply Last reply
                                    0
                                    • F frydrik

                                      the problem is that I can't find code examples for LoraWan nodes so I can start this project on LoraWan, first I created my own LoraWan gateways on TTGO LoRa32 SX1276 OLED, and on another module TTGO LoRa32 SX1276 OLED a test node as in the video on youtube https://www.youtube.com/watch?v=T40a51TAMDI&t=401s
                                      something works but the number of messages that reach the gate are very small in 24 hours I can receive 5-6, the problem I think I miss a gateways with one channel, and the node transmits randomly on that 8 channels, in addition I do not understand how to combine a sketch that reads the pulses from a meter with the loraWan library, I can't find examples of how to do it, that's why I was enchanted by the mysensors community, it's simple to create a node to understand how it works,
                                      in mysensors I found what I needed + it is a receptive community, if you have experience with LoraWan please guide me how to start creating these nodes, I found how to build a local LoRaWAN® Network Server, and unfortunately here I stopped

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

                                      @frydrik I have multiple years of experience with LoRaWAN, but transferring that experience from one person to another in a forum thread is not possible.

                                      F 2 Replies Last reply
                                      0
                                      • F Offline
                                        F Offline
                                        frydrik
                                        wrote on last edited by
                                        #19

                                        to start with loraWan do I need to study the Arduino-LMIC library?

                                        1 Reply Last reply
                                        0
                                        • mfalkviddM mfalkvidd

                                          @frydrik I have multiple years of experience with LoRaWAN, but transferring that experience from one person to another in a forum thread is not possible.

                                          F Offline
                                          F Offline
                                          frydrik
                                          wrote on last edited by
                                          #20
                                          This post is deleted!
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          7

                                          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