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. WI-FI IOT modules

WI-FI IOT modules

Scheduled Pinned Locked Moved General Discussion
32 Posts 10 Posters 951 Views 8 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.
  • TmasterT Offline
    TmasterT Offline
    Tmaster
    wrote on last edited by
    #1

    Hi. recently i start looking more to iot wifi based ,not because it's new but because i see the prices from the shelly wifi modules comparatively with the zwave ones that we are using now.
    I never had paying much attention to this wifi modules but by 19$ they are really cheap for shutter or relay modules embedded in wall,and can we can change the firmware to custom one ,once they are esp8266 second i read.
    Anyone can explain me the disadvantage? Are this wi-fi modules always transmitting to the router? or they are like our mysensors that only comunicate once per hour or so to saying"i m alive", when they are idle/not sending data.
    That is an old care about not fill the house with wi-fi "noisy" devices...

    i'm a arduino fan .Even sometimes don't undestanding how to use it :P

    1 Reply Last reply
    0
    • bjacobseB Offline
      bjacobseB Offline
      bjacobse
      wrote on last edited by
      #2

      wifi uses a lot of handshaking for communication = drain batteries too fast
      Mysensors and other "good" protocols have a little handshake and preserves battery energi
      I am only using wifi devices that are mains/230V powered

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

        You can use wifi- now, which uses the wifi radio at the phy layer. It's not real wifi, but it's a lot more energy efficient.

        You can leverage the esp8266 modules, which cost only about $1 each and yet offer 20dbm tx...

        mfalkviddM 1 Reply Last reply
        0
        • NeverDieN NeverDie

          You can use wifi- now, which uses the wifi radio at the phy layer. It's not real wifi, but it's a lot more energy efficient.

          You can leverage the esp8266 modules, which cost only about $1 each and yet offer 20dbm tx...

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

          @neverdie said in WI-FI IOT modules:
          Wifi- now sounds cool. Do you have any more info? I tried google, but didn’t find anything that looked relevant.

          K NeverDieN 2 Replies Last reply
          0
          • mfalkviddM mfalkvidd

            @neverdie said in WI-FI IOT modules:
            Wifi- now sounds cool. Do you have any more info? I tried google, but didn’t find anything that looked relevant.

            K Offline
            K Offline
            kimot
            wrote on last edited by kimot
            #5

            @mfalkvidd
            Look for ESP-NOW ...
            But it is limited to max 20 nodes per one network.
            ( Without encryption. With encryption, number of nodes is more limited - 6 or 10 )

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

              Never use wifi for IoT devices. It's too big of a security risk to have devices with a binary blob that are not updated, can connect to web services autonomously/directly, and can offer an attractive stepping stone to your laptop/etc.

              All those IoT hacks you keep reading about? Wifi devices..

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

                I agree with alowhum about wifi for IoT, not a big fan too.
                I imagine people may think IoT is an alternative way of controlling their devices, in case of their controller is ko for example..

                But, like OP said, you still can change fw so your device only works on a LAN. for some mains powered and cheap devices, I understand it's attractive. not the best for battery powered, sure.

                I don't see any big security flaw as soon as your LAN is well secured (but I'm not sysadmin).
                This applies to any rpi connected to your LAN though. Many devices can be security holes nowadays (even phones..) in your LAN. So, by well secured network, I mean it's nice to have a dedicated secured network for HA, and of course apply some security checks on devices (with vlan, reverse proxy etc.)

                I won't explain here how to ko a mysensors network, but when the HA network is secured I think some local wifi modules are quite secured too. But, then you can't switch your wifi off if you liked to do it.
                btw it's never ideal to rely on wireless devices that can be jammed, for home security devices (like strategic lights, cameras, door/motion sensors etc), unless you have a strong and reliable fw.
                Sometimes there is no choice :)

                About "noisy" wifi (vs health ??), I'm not sure, but maybe using a few wifi AP instead of one, to reduce RF range needed, would make them use less RF power.

                1 Reply Last reply
                0
                • mfalkviddM mfalkvidd

                  @neverdie said in WI-FI IOT modules:
                  Wifi- now sounds cool. Do you have any more info? I tried google, but didn’t find anything that looked relevant.

                  NeverDieN Offline
                  NeverDieN Offline
                  NeverDie
                  Hero Member
                  wrote on last edited by NeverDie
                  #8

                  @mfalkvidd sorry, I think I probably meant esp-now. As I understand it, it provides access to the wifi phy layer, which would be pretty cool, and what you do with that is up to you, but maybe there's more to it than that.

                  It's doesn't rely on a wifi AP, so the idea is that it frees you from all the wifi overhead, which is much of what kills you from an energy point of view. Iirc, with ESP-NOW a node broadcasts a frame and nodes listen in promiscuous mode. It's expresiff's attempt to become energy efficient.

                  Since it's not wifi compatible, how secure it is is up to you. If (?) you have total control over what goes into a frame, I would think that good encryption alone would buy you a lot. There may be other phy layer tricks that would also make even frame detection a problem for an attacker, but not for you.

                  A big advantage is the potentially very high data rates that a wifi phy can offer. You tx at 20.5dbm, but for just a fraction of the time. That might be a big win that would offset some of the esp energy inefficiencies. For example, 54mbps, if an esp can even go that fast, might compensate for a lot of non-tx inefficiency.

                  Anyone reading this tried it and can comment? I'm curious enough that I'll likely give it a try, if it is easy that is. I'd get dsss for range or ofdm for speed, plus the fast mcu and arduino ide, all for about $1. Pretty amazing if it pans out. :) plus, I presume I'd retain the option of doing wifi (for arduino FOTA), and turning it off afterward. At least, that would be the hope. I suppose that would be a security loop hole, so maybe you dedicate a separate network just for up updates so nothing crosses back over into your circle of trust. Then in the worst case you have your nodes restore to a prior known good state.

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

                    https://youtu.be/6NsBN42B80Q

                    Btw, he assumes just 1000mah for the battery. 2xAa lithium would be at least 3x that.

                    Lora sounds better overall, but then it costs a lot more than just $1, so that's the tradeoff. At $1, I think one can maybe make a case for esp-now.

                    1 Reply Last reply
                    1
                    • Sergio RiusS Offline
                      Sergio RiusS Offline
                      Sergio Rius
                      wrote on last edited by Sergio Rius
                      #10

                      It feels wrong to me when someone says that WiFi (and by extent private networks & appliances) is extremely insecure, being what it is, with so many years of development.
                      Today there's everything for WiFi. And WiFi is not a protocol nor a transport.
                      How many here run their inet provider access point? That's dangerous.

                      Start learning about vlans, network segregation, AP mesh and redundancy.
                      And there are some tricks for l2 enc & auth.
                      Got to know the infrastructures of today houses.

                      skywatchS 1 Reply Last reply
                      1
                      • Sergio RiusS Sergio Rius

                        It feels wrong to me when someone says that WiFi (and by extent private networks & appliances) is extremely insecure, being what it is, with so many years of development.
                        Today there's everything for WiFi. And WiFi is not a protocol nor a transport.
                        How many here run their inet provider access point? That's dangerous.

                        Start learning about vlans, network segregation, AP mesh and redundancy.
                        And there are some tricks for l2 enc & auth.
                        Got to know the infrastructures of today houses.

                        skywatchS Offline
                        skywatchS Offline
                        skywatch
                        wrote on last edited by
                        #11

                        @sergio-rius I agree - but vlans require a new switch and they are too expensive for me (but if you insist I will accept one as a Christmas present!) ;-)

                        For wifi I think a radius server (which runs well on a pi) is the neccessary level for todays environment.

                        Bluetooth is not much safer either as there are hacks for that too - that is why I like nrf modules as there is no 'built-in' capability in notebooks, tablets, phones etc to allow some bored kid to mess around with your data.

                        1 Reply Last reply
                        0
                        • Sergio RiusS Offline
                          Sergio RiusS Offline
                          Sergio Rius
                          wrote on last edited by
                          #12

                          Ok, send me your address 😄

                          RF are not more secure. Kids spoofed garage door key fobs for decades and now are used to do more complicated things with cars. We are the accommodated ones.
                          Nrfs are also jammed at the same time that WiFi.

                          A good starting point to learn to do things with network is open-wrt. You can flash almost any router and start playing (and repurpose them for other things). And today you can find retired good L2 switches on eBay on a budget.
                          DLinks are very friendly, don't jump on a Cisco only bc they're cheap. (Or HP 😱)
                          Professional & Soho switches have nice features like Poe & unused ports power down. With 48p or more they can be hungry beasts.

                          skywatchS 1 Reply Last reply
                          0
                          • Sergio RiusS Sergio Rius

                            Ok, send me your address 😄

                            RF are not more secure. Kids spoofed garage door key fobs for decades and now are used to do more complicated things with cars. We are the accommodated ones.
                            Nrfs are also jammed at the same time that WiFi.

                            A good starting point to learn to do things with network is open-wrt. You can flash almost any router and start playing (and repurpose them for other things). And today you can find retired good L2 switches on eBay on a budget.
                            DLinks are very friendly, don't jump on a Cisco only bc they're cheap. (Or HP 😱)
                            Professional & Soho switches have nice features like Poe & unused ports power down. With 48p or more they can be hungry beasts.

                            skywatchS Offline
                            skywatchS Offline
                            skywatch
                            wrote on last edited by
                            #13

                            Ok, send me your address 😄

                            That is sooooooo kind of you! :pray:

                            RF are not more secure. Kids spoofed garage door key fobs for decades and now are used to do more complicated things with cars. We are the accommodated ones.
                            Agreed - I wired a lot of GB ethernet around the house, but this is not an option for people who rent or are moving home soon......So RF is really the only option (not including powerline stuff that is just awful at spewing out RF all over the place).

                            Nrfs are also jammed at the same time that WiFi.

                            Agreed, but jamming a 2.4-2.525GHz range takes some doing in terms of power required and broadband jamming techniques. It can be done, but not that easily from an attacker who is tens of metres away.

                            A good starting point to learn to do things with network is open-wrt. You can flash almost any router and start playing (and repurpose them for other things). And today you can find retired good L2 switches on eBay on a budget.
                            DLinks are very friendly, don't jump on a Cisco only bc they're cheap. (Or HP 😱)

                            For anyone looking at how easy it can be to hack a wifi should search youtube for "vivek ramachandran" - He did a great series on this topic many years ago and it is all still relevant today!

                            Professional & Soho switches have nice features like Poe & unused ports power down. With 48p or more they can be hungry beasts.

                            I have a 48 port switch for the whole house. It has good 'green' features like using only the power it needs on any particular port to make a good connection. It does not support VLAN however :(

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

                              Start learning about vlans, network segregation, AP mesh and redundancy.

                              The thing is.. my mom doesn't know how to do that. In the real world, using WiFi is just asking for trouble.

                              NeverDieN 1 Reply Last reply
                              0
                              • skywatchS skywatch

                                Ok, send me your address 😄

                                That is sooooooo kind of you! :pray:

                                RF are not more secure. Kids spoofed garage door key fobs for decades and now are used to do more complicated things with cars. We are the accommodated ones.
                                Agreed - I wired a lot of GB ethernet around the house, but this is not an option for people who rent or are moving home soon......So RF is really the only option (not including powerline stuff that is just awful at spewing out RF all over the place).

                                Nrfs are also jammed at the same time that WiFi.

                                Agreed, but jamming a 2.4-2.525GHz range takes some doing in terms of power required and broadband jamming techniques. It can be done, but not that easily from an attacker who is tens of metres away.

                                A good starting point to learn to do things with network is open-wrt. You can flash almost any router and start playing (and repurpose them for other things). And today you can find retired good L2 switches on eBay on a budget.
                                DLinks are very friendly, don't jump on a Cisco only bc they're cheap. (Or HP 😱)

                                For anyone looking at how easy it can be to hack a wifi should search youtube for "vivek ramachandran" - He did a great series on this topic many years ago and it is all still relevant today!

                                Professional & Soho switches have nice features like Poe & unused ports power down. With 48p or more they can be hungry beasts.

                                I have a 48 port switch for the whole house. It has good 'green' features like using only the power it needs on any particular port to make a good connection. It does not support VLAN however :(

                                Sergio RiusS Offline
                                Sergio RiusS Offline
                                Sergio Rius
                                wrote on last edited by
                                #15

                                @skywatch said in WI-FI IOT modules:

                                It does not support VLAN however

                                It's not a L2 switch? What is it?
                                In fact, switches only have to comply to 801.1x... whatever for vlan "passthrough" it's the router that's managing it. Also wifi APs has to be able to bring up several ssids and tag them.

                                I have opnsense virtualized in my server as the router, and a small physical shitty appliance as failover.

                                But @alowhum mysensors only works bc it's not widely used. You know what I mean. Just imagine a building with as mys installations as WiFis you can get nowadays.
                                And don't even think on phone telling your mother she has to modify bootloaders, firmwares, to switch a channel that perhaps it's also occupied. It's not realistic.

                                Anything can be done though. Those are tribulations, like wondering what will be next on cars, electrics or hydrogen.

                                1 Reply Last reply
                                0
                                • alowhumA alowhum

                                  Start learning about vlans, network segregation, AP mesh and redundancy.

                                  The thing is.. my mom doesn't know how to do that. In the real world, using WiFi is just asking for trouble.

                                  NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by NeverDie
                                  #16

                                  @alowhum said in WI-FI IOT modules:

                                  Start learning about vlans, network segregation, AP mesh and redundancy.

                                  The thing is.. my mom doesn't know how to do that. In the real world, using WiFi is just asking for trouble.

                                  Do you hold the same view of esp-now as you do of wifi? No doubt one does get a bit more security from using a non-stadard Phy, but with Hack-RF available, I suspect you'll get ID'd just the same. Maybe there's even some program that does it automatically. Or may using an RTL-SDR? Not sure if those are powerful enough for the task though.

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

                                    @alowhum
                                    I get your point, but the problem is very often mothers are not able to secure their LAN too :nerd_face:
                                    I think private datas are as important as home network security.
                                    any ethernet devices like cameras, voice assistants, ssl, unsecured mqtt etc? if so, how to connect them? on same LAN as home computers, phones, with stock isp router and config? it's the easiest but that's not super secure.

                                    I just meant it's a good idea to isolate HA to main LAN when you want good security (lot of good router/firewall solutions). + SBC's should be secured (ssl when enabled, ddos attacks etc)
                                    this should help for wifi devices attacked from internet. If someone would get into, then lot of chance he would have access to your main LAN too.

                                    About local, security, I know a small agriculture company where I live in country field, who got jammed and robbed, no security alarm triggered. I think they may have got the lesson about going wireless. First time I heard about a jamming attack here but this exists.

                                    And if someone is trying to hack your HA RF with a local sniffer, I would be worried about intrusion in my main wifi network, if not secured too.

                                    zboblamontZ 1 Reply Last reply
                                    0
                                    • scalzS scalz

                                      @alowhum
                                      I get your point, but the problem is very often mothers are not able to secure their LAN too :nerd_face:
                                      I think private datas are as important as home network security.
                                      any ethernet devices like cameras, voice assistants, ssl, unsecured mqtt etc? if so, how to connect them? on same LAN as home computers, phones, with stock isp router and config? it's the easiest but that's not super secure.

                                      I just meant it's a good idea to isolate HA to main LAN when you want good security (lot of good router/firewall solutions). + SBC's should be secured (ssl when enabled, ddos attacks etc)
                                      this should help for wifi devices attacked from internet. If someone would get into, then lot of chance he would have access to your main LAN too.

                                      About local, security, I know a small agriculture company where I live in country field, who got jammed and robbed, no security alarm triggered. I think they may have got the lesson about going wireless. First time I heard about a jamming attack here but this exists.

                                      And if someone is trying to hack your HA RF with a local sniffer, I would be worried about intrusion in my main wifi network, if not secured too.

                                      zboblamontZ Offline
                                      zboblamontZ Offline
                                      zboblamont
                                      wrote on last edited by
                                      #18

                                      @scalz
                                      "About local, security, I know a small agriculture company where I live in country field, who got jammed and robbed, no security alarm triggered. I think they may have got the lesson about going wireless. First time I heard about a jamming attack here but this exists."

                                      Determined criminals (or government versions) will always be better prepared and equipped to exploit holes and abuse systems no matter how secure they purport to be.
                                      Even a security system wih GSM comms can be locally jammed and wifi nodes interfered if pros want to rob it, but crucially they have to be in close proximity. All you can do is make it difficult for them by extending intrusion detection range to raise the alarm before they can.
                                      For the 99% amateur crooks this is perfetly adequate.
                                      I do not trust reliance on the internet or wifi nodes, as almost every modern kid is intimately acquainted with internet and wifi hacking, so internet access can never be 100% secure and will always be a moving target.

                                      1 Reply Last reply
                                      0
                                      • Sergio RiusS Offline
                                        Sergio RiusS Offline
                                        Sergio Rius
                                        wrote on last edited by
                                        #19

                                        That's like saying one would never travel by plane because accidents happen. Your simplifying in excess the wifi concept.

                                        Tell me how a WiFi connection can be hacked, if it implements an "inclusion mode"

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

                                          @scalz @Sergio-Rius

                                          I get your point, but the problem is very often mothers are not able to secure their LAN too

                                          True. That's why I'm not against WiFi, I'm against any IP-based technology for IoT devices. Which is ironic, since I'm a big fan of the Mozilla WebThings Gateway, a project whose main goal is to connect all kinds of devices to the internet using an open standard. I totally disagree with that goal :-)

                                          mysensors only works bc it's not widely used

                                          True. I use MySensors for prototyping, but if the Candle project would ever turn into actual commercial devices, I'd probably move the wireless technology to Zigbee/Z-Wave/Bluetooth.

                                          So the overall point is that I much prefer network technologies that have smart devices on a separate, dedicated IoT network by design. Because it's separated by design, it means my mom is also better protected, by design.

                                          Then there's another point: these wifi modules have, or are connected to, ARM chips. These powerful chips are way more attractive to malicious parties than an Arduino Nano. That's why I follow the principle of "minimal viable hardware" when I design IoT devices.

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


                                          28

                                          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