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
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.
You should look into Home Assistant, it’s really good at managing local and cloud services
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.
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.
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?
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.
Using a VPN does work for restricting outside access, however I found that for me this was not convenient enough for two reasons:
- I would need to setup a VPN server at my home network
- I would need to connect to my VPN everytime before trying to access my smart home devices
https://lemmy.world/c/homeassistant
https://community.home-assistant.io/
Amazing community, lot of guys there prefer local (non-cloud) services
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
Hmmm I haven’t tried linking anything yet. Might as well here:
Edit: it didn’t do anything…
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.