this post was submitted on 09 Nov 2023
17 points (90.5% liked)

Selfhosted

40183 readers
517 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi everyone. Before anything else, I would like to mention that I do not plan to expose absolutely anything to the internet other than using a VPN, and that's if necessary.

Now, if I understand it correctly, ZigBee compatible devices need a controller attached to the computer to decipher messages? Since we are talking about security, it seems that the ZigBee network has its own encryption technology.

Coming to WiFi which was my original plan, we have established protocols like WPA2. I had intended for all of my IoT devices to be locked in a separate VLAN with no external access.

Which one of them do you think is better for privacy and longevity? I am going to use the basics such as lights, temperature/motion sensors (would like to flash with custom firmware like Tasmota if possible) - alongside some custom devices, which would also be programmed from scratch (ESP32 based). The problem I have with the devices from the latter proposition is that I have to keep on top of security trends myself, but I suppose that's the trade-off one makes with custom devices.

Please tell me what you use at home and why, between Zigbee and WiFi?

Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (1 children)

ZigBee devices use less power, which means if they're battery powered, it can last longer than wifi devices. It has faster handshake too. it can wakes up from sleep and transmit data in less than a second, while a WiFi devices may need several seconds to connect to your AP if it has been sleeping for some time. The difference in latency is really noticable for stuff like door sensor or movement sensor where the device may be sleeping for extended amount of time. But if you build your own device using esphome, I guess there is no option but to use wifi.

As for security, if they're both offline, is it really matter?

[–] [email protected] 7 points 1 year ago (2 children)

Esp32-h2 now has ZigBee. I just ordered some so I can replace my current ones to get rid of wifi.

[–] [email protected] 1 points 1 year ago

Damn you're right! Too bad they're not available in my country yet. I might be able to import one but with shipping and import tax it might ended up 10x more expensive than ordinary esp32 sold here.

[–] [email protected] 1 points 1 year ago

Are you planning to write your own code for them? I have been looking at ZigBee, especially support to write custom code and push out OTA updates to devices. Whilst I'm not very clear on the matter, I think with certain devices it is definitely possible, and support seems to be getting better recently.

Please let me know about your ideas for your setup and what you're buying/using/creating!