I’d like to add a smart button to my HA setup. I don’t have zigbee signal nearby, so I’m wondering what the best way to do this would be.

I’m using a Skyconnect dongle. There’s wifi nearby. I want to control a smart switch nearby, which would also have zigbee but that also wouldn’t reach the distance I need.

Is Matter a solution here? With a hub connected to wifi that bridges to the button?

Any suggestions on hardware?

Or any other suggestions?

  • @[email protected]
    link
    fedilink
    English
    25 months ago

    It sounds like you may be confusing how Zigbee works with how older WiFi works.

    In WiFi you would have a single access point with a certain range. If you want to extend that range in a particular direction you would have to add a range extender, creating a chain or rope of range extenders.

    Zigbee (and many modern WiFi APs) are more like a fishing net. The more relays you have the stronger your net is because if one relay goes down for whatever reason, another relay in range can pass along the message to where it need to go.

    By the by, this is also how the internet works (oversimplified to the point of inaccuracy of course).

    In building out a Zigbee network you do not want to create chains with a single path available for reliability reasons. It’s better saturate an area with Zigbee relays. The relays can be either bunched up or you can spread them out. The only limiting factor on the size (in sq meters) is the max number of devices of the protocol, which you are unlikely to hit, and the radio range of the individual relays. Each device (either a relay or end device) needs to be able to see at least one (but preferably more than one) relay.

    At a high level (I don’t run one myself), A Zigbee to MQTT server is a way to create a second “net” that is completely separate from the your original Zigbee network. In a nutshell, you take a second Zigbee cordinator and attach it to a MQTT server which then passes the information back to your Home Assistant. This second network doesn’t benefit from the first and the first doesn’t benefit from the second. Though, because they operate on the same frequency spectrum, they can conflict just as 2.4Ghz WiFi and Zigbee can conflict.

    Can I just get a zigbee to MQTT router and that bridges between a zigbee button and HA?

    It’s more something that you build than something you get, but, practically speaking, there is nothing stopping you from doing so. Though it doesn’t usually make sense to do so from an effort or infrastructure prospective for a single end device. Though of course, there are always exceptions. At a minimum, you would need a network connected computer running the MQTT server and a second Zigbee coordinator. Search for zigbee2mqtt.

    • @DaveOPA
      link
      English
      25 months ago

      Thanks, I was definitely confused! It does sound like the effort to run a MQTT server isn’t really worth it for one button. However, I don’t really know a good way to build a good zigbee network. My house has in-build LED lights, I can’t swap them for Hue bulbs or anything like that. The only other common extender I know of is smart plugs, and having a bunch of smart plugs all around the house that aren’t actually used is just annoying.

      I’m not sure the effort is worth it for this one button at the moment. Maybe I will wait until I’ve added other things naturally extending the zigbee network.

      • @[email protected]
        link
        fedilink
        English
        35 months ago

        Building a good, reliable Zigbee network is dead simple. Just have a whole bunch of devices scattered around the area attached to your Zigbee network that can act as relays. The network will do the rest.

        Here’s some products from my notes that should act as relays. This should give you an idea as to what you can use. In general, if it’s mains powered it will probably act as a relay, and if it is battery powered it probably won’t.

        You might consider asking around for what products others use that can act as relays.

        Light switch - https://inovelli.com/collections/inovelli-blue-series

        Electrical Relay - https://a.co/d/eaIyhDA

        Plugs - https://a.co/d/3BqdTAD

        Light bulbs - https://a.co/d/9F4JfWG

        Gateway/Zigbee Relay - https://a.co/d/eNHZfWc

        • @DaveOPA
          link
          English
          25 months ago

          It sounds simple in theory, but for the light switches and relays I’d need to get in an electrician, and I’m just not that invested yet. I don’t have bulbs I can swap out, as my lights don’t have bulbs. That leaves smart plugs and that last one you linked, the gateway.

          Smart plugs are annoying. They are big and bulky, the plugs fall out of the wall easily when they get bumped by kids, and it’s an annoying extra thing for anyone wanting to use that socket.

          That last link you have looks interesting. It doesn’t state what the range is, but the reviews have lots of comments about the great range. That might be an option. Any idea what kind of range it has? I need to make it about 10-15 metres and through 3 walls, so I suspect it’s a bit of a stretch but it would still probably greatly reduce the number of devices I need in between.

          • @[email protected]
            link
            fedilink
            English
            25 months ago

            Out of the box, the Sonoff adapter is setup to be used as a coordinator, like the SkyConnect. To run it as a relay you will need to reflash its firmware. Sonoff has firmware available for that and I’ve seen guides floating around on how to do so.

            Hardware side, best I can give you is a solid maybe, and I couldn’t tell you how stable the connection would be. I do know that it has better signal stock than the Nabu’s SkyConnect.

            If you stuck it in front of a broad wave guide you might be able to eak out a little more range without limiting its visibility to the sides too badly. Like how satellite dishes work. A tin can would be too focused for this application but a metal colander or a foil lined dinner plate might work. Both the coordinator and the devices you are wanting to connect would have to be within “sight” of the Sonoff’s signal though.

            Alternatively, and I don’t know if the parts exist to do this, you could split the single antenna off to 2 antennas, like CB antennas on heavy trucks here in the States. I don’t remotely understand how it works, but if it’s setup correctly, it would increase range to the “front“ and “back” while significantly reducing range to the sides.

            • @DaveOPA
              link
              English
              25 months ago

              I probably won’t go the tinfoil route, I’d prefer to keep it inconspicuous. Using it as a relay may do the trick, depending on range. I’ll think about what my plans are for future devices, as I don’t have many right now (hence not having a big zigbee network).