this post was submitted on 28 Apr 2024
70 points (90.7% liked)

Selfhosted

40173 readers
638 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
 

I recently learned about Home Assistant here on Lemmy. It looks like a replacement for Google Home, etc. However, it requires an entire hardware installation. Proprietary products just use a simple app to manage and control devices, so can someone explain why a pretty robust dedicated device is necessary as a replacement? The base model has a quad core processor, 4 gigs of ram, and a 32 gig hard drive. Admittedly it's no gaming PC, but it's no arduino either.

What actually happens when I turn on a smart switch in my home? Does that command have to be sent to a server somewhere to be processed? What really has to be processed, and why can't a smartphone app do it?

Edit: I am still getting new replies to this (which are appreciated!), but I wanted to share what I've learned from those who have posted already. I fundamentally misunderstood how smart switches work. I had very wrongly assumed that when my phone is connected to the WiFi, it sends a signal over the local network to toggle the switch, which is connected to the same network, and it turns on/off. While there are technologies that work like this (zigbee, kinda?), most smart home devices rely on a cloud server to communicate the signal. This enables features like using the switches from outside the home network, automation, voice controls, etc. The remote server is what's being replaced.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 6 months ago (9 children)

My words.

When you read "Cloud" change the word in your head to "Someone else's computer"

So when I was using Tuya lightbulbs I was connecting Tuya's Computer to Googles Computer to turn my lights on.

Now I use Home Assistant, I'm connecting MY computer to Googles Computer to turn the lights on, since I'm asking Google to turn MY lights on.

I can just not use the Google Cloud and have a voice assistant in Home Assistant do it, then I'm just using my own computer.

Now then, you don't think that all the photos you've ever taken reside in an app on your phone do you, because if you do I've got some news for you....

[–] [email protected] -1 points 6 months ago (7 children)

I don't really understand why a computer is necessary at all, is the thing. I know that it's possible to use wifi network to send a signal between two devices. I have a sound board that works this way, and manages to communicate precise multichannel instructions directly over the network without an internet connection.

If I want to turn on a light switch, it seems like all I should need to send is the location of the light switch on the network and the on/off command. I know that there is not the computing power in the light switch itself to process much more than that.

Do these devices all connect to a remote server to switch on and off??

[–] [email protected] 4 points 6 months ago

Many "smart" devices are sold with the idea that you can control your home from somewhere else. Maybe change the temperature on your way home or get notified when someone rings your doorbell. All this stuff requires servers to work.

Controlling some lightbulbs via bluetooth/wifi would be possible of course, but probably not very interesting for many.

load more comments (6 replies)
load more comments (7 replies)