29

I own a couple TP-Link Tapo Wi-fi light bulbs. Currently, each family member installs an app on the phone to control the light bulbs. I wonder if there's a way to do the same but in a browser (via docker app on my NAS). And because we may use smart devices of other brands in the future, it seems too much trouble to install yet another app on each phone.

all 34 comments
sorted by: hot top controversial new old
[-] Max_P@lemmy.max-p.me 63 points 8 months ago

HomeAssistant?

[-] Ebby@lemmy.ssba.com 33 points 8 months ago

That's what home assistant is built to do. There is a docker version, but I hit limits pretty quick and fired up an old raspberry pi running HomeassistantOS

One app, many devices & brands, custom interfaces for each member.

[-] shnizmuffin@lemmy.inbutts.lol 11 points 8 months ago
[-] Ebby@lemmy.ssba.com 7 points 8 months ago

It was many, many years ago, but if I recall some of the add-ons or installations didn't work in the docker version. I started with docker on a Synology server, but I gave up on the whole project for a year until I found a Pi in a drawer I forgot I had.

HAOS just feels more "complete" to me.

[-] TDCN@feddit.dk 6 points 8 months ago* (last edited 8 months ago)

Addons on HAOS are just Docker containers. When you use HA in Docker you have to just install the addons you like yourself as containers next to HA. It gives you more freedom to change settings for the "addons" when you install them yourself, but it is also a little more work. I think it is still worth it because you can also just install whatever you want. I run a minecraft server for example on the same server.

[-] Pohl@lemmy.world 4 points 8 months ago

HAOS is a managed operating system, which is perfect for people who want to automate their home but don’t want to manage a Linux machine. It’s a little wild to me to see a person in this community advocating a managed OS. Like, what are we even doing here??

I killed HAOS and set it up in docker because it was phoning home a lot. Sometimes there were hundreds of dns queries a minute to HA servers. No thanks.

[-] Ebby@lemmy.ssba.com 5 points 8 months ago

Haha! I feel like I got a little roasted and have some learning to do, but this hobby is all good fun.

I'm definitely not hating on docker. I use it for dozens of containers across several machines and love how easy it is, and even some of the fights we've had. If that works for people's needs, awesome!

I really wish I remembered what the error was. It's been bugging me all day. Maybe it's not a thing anymore.

[-] Pohl@lemmy.world 2 points 8 months ago

Ha, I roasted you for having the good sense to let somebody else handle some of this stuff for you.

Nobody in crazy rabbit hole club is allowed to do anything the easy way!!

[-] shnizmuffin@lemmy.inbutts.lol 1 points 8 months ago

Nginx Proxy Manager is for scrubs, anyone who doesn't code their confs by hand is subhuman!

/s

[-] TDCN@feddit.dk 3 points 8 months ago

Do you have anything more to back up the claims about haos breaking privacy other than sone DNS queries? Just because there is a DNS query doesn't mean any actual data is being sent. I'm only asking because I'd be sad to hear if there are really issues. HA is fully open source so I'm surprised if this is really and issue.

[-] Pohl@lemmy.world 3 points 8 months ago

I definitely did not claim it was braking privacy. As far as I can tell it was just querying an update server but for some reason it was doing it with such frequency (hundreds a minute for hours out of the day) that I deemed it was broken and that the OS was not managed well.

Other people took a more suspicious view but mostly they just lost my trust that they had any business running a system on my network. If you google around you can get more nuanced takes I don’t actually know if they ever fixed it.

[-] raldone01@lemmy.world 1 points 8 months ago

Can you link me to an example or show me an example docker compose yml that adds an addon? I currently run a script that manually installs all my addons to the docker container by copying. Maybe you can show me with this: https://github.com/danielperna84/custom_homematic or any other really.

[-] TDCN@feddit.dk 1 points 8 months ago* (last edited 8 months ago)

My best advice is to NOT think of it as addons. If you want grafana or node red for example, just install them in seperate in a container not considering anything else about HA. Then just use them normally. You can still use the integrations for grafana and node red. Integrations work perfectly fine on HA in a Docker container.

Remember, very important: INTEGRATIONS ARE NOT ADDONS they are two very different things.

[-] shnizmuffin@lemmy.inbutts.lol 4 points 8 months ago

Ah. I'm running HA out of docker currently and haven't hit any walls, but I'm not exactly pushing it. There's an annoyance where I have to tell HA to trust my docker's default IP, and there was some reverse-proxy messing around I had to do to get it working on my network. Once it's up and loaded, it's indistinguishably HomeAssistant.

[-] Ebby@lemmy.ssba.com 3 points 8 months ago

I run mine behind a reverse proxy too and had to do that as well. Seems like a common thing there should be a system config for.

[-] redcalcium@lemmy.institute 27 points 8 months ago

HomeAssistant and PiHole are the gateway drugs to selfhosting.

[-] StrawberryPigtails@lemmy.sdf.org 22 points 8 months ago
[-] avidamoeba@lemmy.ca 20 points 8 months ago

Home Assistant

[-] FairlyConstantFox@lemmy.world 15 points 8 months ago

I don't run it myself, but Home Assistant has Tapo integration

[-] Konraddo@lemmy.world 3 points 8 months ago

Nice, this looks promising. I'll try it out.

[-] Lifebandit666@feddit.uk 3 points 8 months ago

Just throw it in a VM and try it out that way if you can. The Docker version is just the Home Assistant part but if you run the VM you can run HAOS which is the "Supervised" version that can install add-ons to. There is a way to run Supervised in Docker but it's not supported (and when my version died it was devastating)

[-] Konraddo@lemmy.world 2 points 8 months ago

Thanks so much for the advice. Easy of use is a major concern for family members, however. My plan is to open the web page on a tablet and put it in the living room then the family doesn't need to use a phone. I'll look into both options.

[-] Lifebandit666@feddit.uk 2 points 8 months ago

You can do that with Supervised too. I have a tablet on the wall, I'm the only one that uses it lol

[-] CaptainBlagbird@lemmy.world 12 points 8 months ago

Home Assistant!

[-] xlash123@sh.itjust.works 7 points 8 months ago* (last edited 8 months ago)

I use Home Assistant for controlling my smart lights. They do support Docker, but I installed it as a VM with KVM. You get more features with it, such as add-ons. But you should definitely look into your options. They have a diagram on this page.

https://www.home-assistant.io/installation/

[-] Rehwyn@lemmy.world 1 points 8 months ago* (last edited 8 months ago)

To be fair, the add-ons are just containers installed and managed by HA. In most cases, you can install all of them as separate containers via something like Docker, but configuration takes more steps (though you also get more control).

Example: I have HA, Eclipse mosquitto, zigbee2mqtt, zwave-js-ui, node-red, Grafana, and influxdb all running as docker containers on two different devices (my main HA host wasn't ideal for Zigbee and zwave USB dongles, so those are on a Pi 4). The other containers are accessible separately or from within HA as iFrame panels.

[-] B0rax@feddit.de 4 points 8 months ago

If you (and the people who want to use these things) are on iOS, you could consider Homebridge

It is easier than a full home assistant install, and may be sufficient for what you want to do.

Home assistant might be overkill for your application (but it can do a lot more stuff)

[-] Aasikki@sopuli.xyz 6 points 8 months ago

I started on home assistant with just a couple Smart bulbs and oh boy has it gotten out of hand since then lol. Home bridge sounds good if that's all that's needed though.

[-] bbuez@lemmy.world 1 points 8 months ago* (last edited 8 months ago)

Its so weirdly addictive, started with proxmox, then to home assistant, now I have frigate handling PoE cameras, every bedroom has a morning alarm light automation, the vacuum starts itself, its ridiculous

[-] BCsven@lemmy.ca 1 points 8 months ago* (last edited 8 months ago)

I don't know if tapo plugs are supported, but this git code lets you turn tplink kasa plugs into local server activated plugs so you don't have to use tplink app for activation online. Then homeassistant is a great tool for control

https://github.com/jkbenaim/hs100

Also worked on dimmable switches

[-] Decronym@lemmy.decronym.xyz 1 points 8 months ago* (last edited 8 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
Git Popular version control system, primarily for code
HA Home Assistant automation software
~ High Availability
IP Internet Protocol
PiHole Network-wide ad-blocker (DNS sinkhole)
PoE Power over Ethernet
Zigbee Wireless mesh network for low-power devices

7 acronyms in this thread; the most compressed thread commented on today has 15 acronyms.

[Thread #594 for this sub, first seen 12th Mar 2024, 05:35] [FAQ] [Full list] [Contact] [Source code]

this post was submitted on 12 Mar 2024
29 points (85.4% liked)

Selfhosted

40247 readers
560 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