Hey guys, I’d like to set up smart home for myself. I am looking for open source tools without connection to external services. Thanks in advance

@Pohl@lemmy.world
link
fedilink
English
161Y

Another vote for home assistant. It is not just the best FOSS option, it might just be the best option altogether.

Some advice, think carefully about what you want to achieve with automation before you start. Take some time to draw up what you are going to do before you buy anything. Think about extensibility and don’t force yourself to lay out big money and time all at once. Will Smith (tested.com, tech pod, not Independence Day) recommends doing one room at a time and focusing on spaces that are primarily yours first.

Things to consider: If you live with other people, it might be wise to make everything transparent. Meaning the light switches still turn the lights on and off on demand etc.

Wi-Fi is sort of a poor solution to communicating with devices, especially ones that don’t have access to mains power all the time. Consider if you are going to deploy zigbee, z-wave, or a matter mesh. Matter, being very new would be challenging but it is clearly the future of low power wireless communication for home automation.

Set a goal that NOTHING requires a external service or internet connection and stick to it. That might mean giving up on some types of devices but it’s YOUR house, not google’s.

Think automation first. Phone and voice control is cool. But having things just happen the way you would want without have to do anything is even cooler. Be smart about complexity though. How would things have to change if your partner started working a different schedule for instance?

Finally, get creative. Lots of silly problems can be solved with this technology. My favorite automation turns the damn hot glue gun off after 30min so my kids don’t start a fire if they get forgetful after a craft project.

deleted by creator

CommunityLinkFixerBot
bot account
link
fedilink
English
41Y

Hi there! The links in your text lead away from the user’s instance, here are fixed links that stay on each user’s instance: !selfhosted@lemmy.world

Good bot.

You should look into Home Assistant, it’s really good at managing local and cloud services

@rambos@lemmy.world
link
fedilink
English
121Y

https://lemmy.world/c/homeassistant

https://community.home-assistant.io/

Amazing community, lot of guys there prefer local (non-cloud) services

CommunityLinkFixerBot
bot account
link
fedilink
English
71Y

Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn’t work well for people on different instances. Try fixing it like this: !homeassistant@lemmy.world

@DrManhattan@lemmy.design
link
fedilink
English
2
edit-2
1Y

Hmmm I haven’t tried linking anything yet. Might as well here:

!homeassistant@lemmy.world

Edit: it didn’t do anything…

@cwagner@lemmy.cwagner.me
link
fedilink
English
3
edit-2
1Y

deleted by creator

I’m using Memmy for iOS. Guess I’ll have to reach out to the developers.

@peregus@lemmy.world
link
fedilink
English
6
edit-2
1Y

I would suggest you to use Node Red as backend and Home Assistant as frontend. With Node Red you have a very robust system that survives years of updates without problem (I’ve been running for…mmm…maybe 7/8 years and no update have ever broken anything, while I read all over stories of Home Assistant breaking over updates). Node Red has node for about anything, you can make your home automation product/brand independent using MQTT, so Node Red collects all the sensors/actuators and sends to HA what’s needed. If tomorrow you’ll change a device, all you have to do is connect a couple of nodes and use the same MQTT topic as you did with the previous device (I don’t know if I explained myself…sorry!) If tomorrow you’ll want to switch from HA to something else, it will be pretty easy with Node Red in the back! All of this, clearly, IMHO!

davidosomething
link
fedilink
English
21Y

great sell, gonna try moving my integrations to node red later!

@peregus@lemmy.world
link
fedilink
English
11Y

🤩

chiisana
link
fedilink
English
-11Y

I’d recommend waiting a bit. Thread (network) and Matter (protocol) are finally gaining traction, and is poised to become the de facto standard across all major platforms (Amazon/Apple/Google). Buying Zigbee/Zwave/WiFi/BT gears now is literally buying gears that’s going to be outdated immediately.

Once you get interoperable devices on the better standards, you’d then be able to layer on with all-local setup easier.

@tburkhol@lemmy.world
link
fedilink
English
91Y

Everybody else is already talking about homeassistant. I’m going to add that there are zigbee, z-wave, and rarely bluetooth based alternatives for almost all of the nest/alexa/etc accessories, and those work through a local hub.

@DrManhattan@lemmy.design
link
fedilink
English
18
edit-2
1Y

HomeAssistant and OpenHAB are good places to start. I don’t know too much about OpenHAB, but for HomeAssistant you can do almost everything locally.

ESPHome is a good example of a project that they fund where you can use ESP8266/ESP32 devices to create several sensors and other devices for local IoT. They also have a number of ways to bypass cloud requirements for Tuya based devices, Phillips Hue, etc.

Plus this year is “Year of the Voice Assistant” and they’re working on enhancing a locally accessible and hosted voice assistant that doesn’t require cloud access.

Edit: If you’re a DIY kind of person like I am, HomeAssistant offers compatibility with a number of other projects like presence detection via ESPresence, custom firmware for ESP32Cam via Tasmota, WLED for controlling RGB lightstrips and matrices, lots of 3D printing opportunities too. I found it a lot of fun to go through my home and find ways to make things work. Blinds, accent lighting, automations based on time and other factors, etc.

Plus the hardware requirements for HomeAssistant aren’t that high. You can run it on an RPi4b with 2/4/8GB RAM (I would suggest at least 4), a VM that you can expand later and so forth.

@Marretics@lemmy.world
link
fedilink
English
51Y

Since I am on the same journey as OP and tried it just recently, I have one thing to add about openHAB:

It does not come with actual login credential handling. If you want to make your smart home accessible from outside your home network I cannot recommend openHAB.

I am currently going with Home Aisstant mainly for that reason.

Very good point. HomeAssistant offers a paid service called Nabu Casa that provides you a secure way to access your entire HomeAssistant instance, including cameras, sensors, you can set up mobile push notifications, and more.

@Marretics@lemmy.world
link
fedilink
English
11Y

Thanks for the hint I did not know about Nabu Casa.

Although I am not clear about the benefit of the service. I thought I could achieve the same kind of access with simply forwarding ports 80 and 443 from my router to my home assistant. Is there anything wrong with my intended setup?

Well, cloudflare is (supposedly) more secure, but other then that, not really, everything in nabu casa can be achieved without it, but nabu casa is easier and supports home assistant

@vividspecter@lemm.ee
link
fedilink
English
31Y

If you want to make your smart home accessible from outside your home network I cannot recommend openHAB.

You can use a VPN instead for this. Which is a good idea in general, in my view, unless you need your resources to be publicly accessible.

Although I agree that even LAN services should ideally have some sort of credentials anyway.

@Marretics@lemmy.world
link
fedilink
English
31Y

Using a VPN does work for restricting outside access, however I found that for me this was not convenient enough for two reasons:

  1. I would need to setup a VPN server at my home network
  2. I would need to connect to my VPN everytime before trying to access my smart home devices
@vividspecter@lemm.ee
link
fedilink
English
3
edit-2
1Y
  1. I would need to setup a VPN server at my home network

I haven’t used it, but most people consider Tailscale to be easy to setup. But of course, what is hard or easy varies from person to person.

  1. I would need to connect to my VPN everytime before trying to access my smart home devices

You can leave it on all the time and configure it to not route internet traffic through the VPN (if you don’t have the upload bandwidth at home).

Create a post

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!

  • 1 user online
  • 231 users / day
  • 471 users / week
  • 1.08K users / month
  • 3.78K users / 6 months
  • 1 subscriber
  • 3.91K Posts
  • 79.2K Comments
  • Modlog