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. Is ARM the future of MySensors?

Is ARM the future of MySensors?

Scheduled Pinned Locked Moved General Discussion
31 Posts 12 Posters 5.4k Views 15 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.
  • alowhumA Offline
    alowhumA Offline
    alowhum
    Plugin Developer
    wrote on last edited by alowhum
    #10

    So is anyone thinking they will use the encryption features on a normal Arduino? Or is it, as I was thinking, that if you want to use encryption you'll have to upgrade?

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

      Simple encryption runs fine since it is mainly done by the radio chip

      1 Reply Last reply
      0
      • alowhumA alowhum

        So is anyone thinking they will use the encryption features on a normal Arduino? Or is it, as I was thinking, that if you want to use encryption you'll have to upgrade?

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

        @alowhum if you only enable encryption (not signing) you can fit more into an atmga328p. Also, if you use a rfm69 radio, encryption is hw backed, so it require less flash space (thus potentially allow you to also fit signing).
        Furthermore, using a atsha204a means signing also take less of flash since some of the algorithms are hw backed.

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

        1 Reply Last reply
        0
        • NeverDieN Offline
          NeverDieN Offline
          NeverDie
          Hero Member
          wrote on last edited by NeverDie
          #13

          Well, regarding the OP, I think I read somewhere that development would largely move to ARM, and that at some point it would stop on the atmega. Not sure that I'm recalling it correctly though. Is it true?

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

            @anticimex: interesting.

            This is my use case: all I want is that I put a password at the top of all my arduino files, and then my neighbours won't be able to receive my data because they don't have the password. That's encryption, right? At the moment anyone can pick up the values that my sensors are sending out into the city. And that's kinda creepy.

            gohanG AnticimexA 3 Replies Last reply
            0
            • alowhumA alowhum

              @anticimex: interesting.

              This is my use case: all I want is that I put a password at the top of all my arduino files, and then my neighbours won't be able to receive my data because they don't have the password. That's encryption, right? At the moment anyone can pick up the values that my sensors are sending out into the city. And that's kinda creepy.

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

              @alowhum I bet there are hundreds of people interested in your house temperature :sweat_smile:
              Btw, yes that is encryption

              alowhumA 1 Reply Last reply
              0
              • alowhumA alowhum

                @anticimex: interesting.

                This is my use case: all I want is that I put a password at the top of all my arduino files, and then my neighbours won't be able to receive my data because they don't have the password. That's encryption, right? At the moment anyone can pick up the values that my sensors are sending out into the city. And that's kinda creepy.

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

                @alowhum the simple password option is the simplest way of enabling security. At the same time it is the most expensive as it does not require personalization and therefore is pure software based (except for rfm69 encryption). So you need to trade simplicity for code size.
                That said, once you have figured out personalization (and there is plenty documentation on the matter) it can easily be repeated, as long as you keep the sketch used to program the personalization data.

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

                alowhumA 1 Reply Last reply
                1
                • alowhumA alowhum

                  @anticimex: interesting.

                  This is my use case: all I want is that I put a password at the top of all my arduino files, and then my neighbours won't be able to receive my data because they don't have the password. That's encryption, right? At the moment anyone can pick up the values that my sensors are sending out into the city. And that's kinda creepy.

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

                  @alowhum also, the simple password option enable both signing and encryption so it takes up a lot of memory. If encryption is the only thing you want, just personalize the devices with an AES key and enable encryption only. It is not that good (fixed iv) and easily crackable by someone who has an idea about AES but it at least obfuscate your messages fairly well. Combined with signing it is better, but, again, that costs memory.

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

                  1 Reply Last reply
                  1
                  • AnticimexA Anticimex

                    @alowhum the simple password option is the simplest way of enabling security. At the same time it is the most expensive as it does not require personalization and therefore is pure software based (except for rfm69 encryption). So you need to trade simplicity for code size.
                    That said, once you have figured out personalization (and there is plenty documentation on the matter) it can easily be repeated, as long as you keep the sketch used to program the personalization data.

                    alowhumA Offline
                    alowhumA Offline
                    alowhum
                    Plugin Developer
                    wrote on last edited by
                    #18

                    @anticimex Hmm, I didn't realise that. Could it be an idea to create a MY_ENCRYPTION_SIMPLE_PASSWD feature as well, without the signing? Would that fit the "opportunistic curious neighbour" scenario?

                    AnticimexA 1 Reply Last reply
                    0
                    • alowhumA alowhum

                      @anticimex Hmm, I didn't realise that. Could it be an idea to create a MY_ENCRYPTION_SIMPLE_PASSWD feature as well, without the signing? Would that fit the "opportunistic curious neighbour" scenario?

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

                      @alowhum give personalization a shot. Since you use the simple flag, you are already on the development branch, so you have a simplified personalization flow. It is documented in doxygen (see the pinned signing post for a link)

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

                      1 Reply Last reply
                      1
                      • gohanG gohan

                        @alowhum I bet there are hundreds of people interested in your house temperature :sweat_smile:
                        Btw, yes that is encryption

                        alowhumA Offline
                        alowhumA Offline
                        alowhum
                        Plugin Developer
                        wrote on last edited by alowhum
                        #20

                        @gohan said in Is ARM the future of MySensors?:

                        @alowhum I bet there are hundreds of people interested in your house temperature :sweat_smile:
                        Btw, yes that is encryption

                        Actually, just my temperature would already indicate

                        • Whether I am home or not. "He'll never know we took the jewelry".
                        • if I go on holidays a lot. "How is he paying for all that".
                        • Whether I am feeling ill (set it a bit higher). "Got a fever last week? Or did your grandma visit"?
                        • If I am environmentally conscious. Something I don't want to talk about at the neighbourhood BBQ..
                        • Etc.

                        Now add to that my other sensors.
                        Now add to that all the actuators (yikes!).

                        1 Reply Last reply
                        0
                        • NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by
                          #21

                          Don't your neighbors have better things to do?

                          gohanG 1 Reply Last reply
                          0
                          • NeverDieN NeverDie

                            Don't your neighbors have better things to do?

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

                            @neverdie I was about to say the same... it must be a very boring town :D

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              ghiglie
                              wrote on last edited by
                              #23

                              Well, last week I couldn't realize how my garage temp was so high.... I noticed my neighboor started autoproducing some sensors too... :D So it's time for signing/encryption.

                              atmega328p serial killer
                              HomeAssistant / gateway: ESP8266 & NRF24L01+ gateway

                              1 Reply Last reply
                              0
                              • Nca78N Nca78

                                @davidzh said in Is ARM the future of MySensors?:

                                But in Urban areas with lots of high rises the 2.4GHz band is a bit congested.

                                That's my case , there are 350 appartments in my building alone and my nrf24 network runs well, while my old 433MHz system regularly miss messages, that's why it will soon be replaced.

                                D Offline
                                D Offline
                                dakipro
                                wrote on last edited by
                                #24

                                @nca78 said in Is ARM the future of MySensors?:

                                there are 350 appartments in my building alone and my nrf24 network runs well

                                If nrf24 working on same/similar frequency as wifi, is it not being disturbed by other wifi networks? (I guess that in 350 apartments there are a minimum of 350 wifi networks).
                                I never quite understood how exactly nrf24 and wifi go along.

                                C: OpenHAB2 with node-red on linux laptop
                                GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
                                GW: Arduino Mega, RFLink 433Mhz

                                Nca78N gohanG YveauxY 3 Replies Last reply
                                0
                                • D dakipro

                                  @nca78 said in Is ARM the future of MySensors?:

                                  there are 350 appartments in my building alone and my nrf24 network runs well

                                  If nrf24 working on same/similar frequency as wifi, is it not being disturbed by other wifi networks? (I guess that in 350 apartments there are a minimum of 350 wifi networks).
                                  I never quite understood how exactly nrf24 and wifi go along.

                                  Nca78N Offline
                                  Nca78N Offline
                                  Nca78
                                  Hardware Contributor
                                  wrote on last edited by
                                  #25

                                  @dakipro said in Is ARM the future of MySensors?:

                                  If nrf24 working on same/similar frequency as wifi, is it not being disturbed by other wifi networks? (I guess that in 350 apartments there are a minimum of 350 wifi networks).
                                  I never quite understood how exactly nrf24 and wifi go along.

                                  It depends on the channels used by NRF24 and wifi networks, so far I've been lucky it seems :)
                                  Also, high rise is in fact probably helping by having thick concrete walls with lots of rebars inside, attenuating radio signals. I see many networks but most of them have week signal.

                                  1 Reply Last reply
                                  0
                                  • D dakipro

                                    @nca78 said in Is ARM the future of MySensors?:

                                    there are 350 appartments in my building alone and my nrf24 network runs well

                                    If nrf24 working on same/similar frequency as wifi, is it not being disturbed by other wifi networks? (I guess that in 350 apartments there are a minimum of 350 wifi networks).
                                    I never quite understood how exactly nrf24 and wifi go along.

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

                                    @dakipro wifi only overlaps the nrf24 range for a number of channels, so usually if you choose channels at the margins of the spectrum you should be good

                                    1 Reply Last reply
                                    1
                                    • D dakipro

                                      @nca78 said in Is ARM the future of MySensors?:

                                      there are 350 appartments in my building alone and my nrf24 network runs well

                                      If nrf24 working on same/similar frequency as wifi, is it not being disturbed by other wifi networks? (I guess that in 350 apartments there are a minimum of 350 wifi networks).
                                      I never quite understood how exactly nrf24 and wifi go along.

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

                                      @dakipro said in Is ARM the future of MySensors?:

                                      If nrf24 working on same/similar frequency as wifi

                                      The frequency band of nrf24 is wider than used by wifi. If you select a frequency just outside the wifi band it should help in reducing interference.

                                      http://yveaux.blogspot.nl

                                      D 1 Reply Last reply
                                      2
                                      • skywatchS Offline
                                        skywatchS Offline
                                        skywatch
                                        wrote on last edited by
                                        #28

                                        The current NRF24 set up is more secure than bluetooth or wifi from attack.

                                        I say this based on the fact that anyone with a laptop, mobile etc can have software to crack/hack/spoof/inject into bluetooth or wifi. It is not that difficult for kids to do.

                                        The NRF is another matter as to achieve this on that radio module would require acquiring a module, setting it up with a pc/phone and then getting software to attack it.

                                        People often go the easiest route and I am less worried about nrf24 than I would be if the system used bluetooth/wifi or cloud.

                                        Just my thoughts on a dark and wet Monday morning.....

                                        1 Reply Last reply
                                        3
                                        • YveauxY Yveaux

                                          @dakipro said in Is ARM the future of MySensors?:

                                          If nrf24 working on same/similar frequency as wifi

                                          The frequency band of nrf24 is wider than used by wifi. If you select a frequency just outside the wifi band it should help in reducing interference.

                                          D Offline
                                          D Offline
                                          dakipro
                                          wrote on last edited by
                                          #29

                                          @yveaux said in Is ARM the future of MySensors?:

                                          @dakipro said in Is ARM the future of MySensors?:

                                          If nrf24 working on same/similar frequency as wifi

                                          The frequency band of nrf24 is wider than used by wifi. If you select a frequency just outside the wifi band it should help in reducing interference.

                                          Thanks, that is what I thought. Btw, I am using default channel for mysensors (79 or whatnot), is that "just outside" enough?
                                          I never had (connection) problems with mysensors, so I never researched fine-tuning options.

                                          Can some android wifi analyzer help with the showing what is best to use, is there some guide available regarding nrf24? (should we write a guide? :) )

                                          C: OpenHAB2 with node-red on linux laptop
                                          GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
                                          GW: Arduino Mega, RFLink 433Mhz

                                          NeverDieN YveauxY 2 Replies Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          31

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 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