gagootron

joined 3 weeks ago
[–] gagootron@feddit.org 20 points 1 day ago

That reminds me of PayPal. I can't use my hardware sevurity key to log in on mobile... Unless I enable desktop mode in firefox. Then it works

[–] gagootron@feddit.org 1 points 1 day ago (1 children)

It seems to that it works. I don't get any web-scrapers hitting anything but my main domain. I can't find any of my subdomains on google.

Please tell me how you believe that it works. Maybe i overlooked something...

[–] gagootron@feddit.org 1 points 1 day ago

I explained my setup here

[–] gagootron@feddit.org 7 points 2 days ago (2 children)

If someone wants some "smart" lights but can't do mains wiring they are going to buy the bulbs. Easy as that. Most people don't know/care about the issues those bulbs have.

[–] gagootron@feddit.org 1 points 2 days ago (4 children)

A bulb is easy to replace by anyone. The switch isn't.

[–] gagootron@feddit.org 3 points 2 days ago

Maybe, if it were up to me the entire control system would be centered in my electrical panel. But doing that after the fact is quite difficult.

[–] gagootron@feddit.org 11 points 2 days ago (3 children)

Because then the lights wouldn't change brightness or color temperature with the angle of the sun, my motion sensors wouldn't work, and the light wouldn't turn on together with my morning alarm.

[–] gagootron@feddit.org 5 points 2 days ago

Oh I can control my stuff remotely. After connecting to my VPN that is.

[–] gagootron@feddit.org 2 points 2 days ago (5 children)

Of course i get a bunch of scanners hitting ports 80 and 443. But if they don't use the correct domain they all end up on an Nginx server hosting a static error page. Not much they can do there

[–] gagootron@feddit.org 3 points 2 days ago* (last edited 2 days ago) (1 children)

I've got a Sever running Homeassistant with the ESPHome Addon. The Lights got a custom PCB in them using a ESP32 and a 4 channel warm/cold white led strip driver. But you can also build them using of-the-shelf parts. They are mains powered without a switch, instead i wired the switches to a sensor input. This allows me to control the light either via the switch, or Homeassistant. They even got some buttons directly on them to force them on/off if my server is down. I also got a radar in there for presence detection. Basically the same as an infrared motion sensor, but it doesn't turn the light off while im on the toilet. Thanks to using Homeassistant, I can change the color temperature and brightness of the lights depending on the time of day. It's really nice to have some dim and warm lights in the evening before going to bed.

But ESPHome isn't limited to some custom build stuff. Anything that uses an ESP32* chip can be flashed to run ESPHome instead of whatever it came with. I got some sonoff relays that control my shutters and an Emporia Vue 2 to measure my power usage. Depending on the device you might be able to flash it either via Wifi or you have to disassemble it to get to the programming pins. The nice thing about the ESP32 is that a vendor cannot lock the firmware. You can always flash something custom.

ESPHome isn't limited to Homeassistant however. You can also have each device run a web-server to control it, or connect it to MQTT.

Also i should mention some alternatives:

  • Tasmota: similar to ESPHome, but while ESPHome as the configuration compiled into the firmware Tasmota can be reconfigured on the fly. Not like the update process of ESPHome is slow however.
  • WLED: if you only want to control some addressable RGB led strips. It does that one job way better than ESPHome.
[–] gagootron@feddit.org 7 points 2 days ago (12 children)

I use good ol' obscurity. My reverse proxy requires that the correct subdomain is used to access any service that I host and my domain has a wildcard entry. So if you access asdf.example.com you get an error, the same for directly accessing my ip, but going to jellyfin.example.com works. And since i don't post my valid urls anywhere no web-scraper can find them. This filters out 99% of bots and the rest are handled using authelia and crowdsec

[–] gagootron@feddit.org 28 points 2 days ago (24 children)

I build my own smart lights to avoid this kind of bs. Thanks to ESPhome i didn't even need to program them myself. Everything is in an offline VLan and connected to Homeassistant.

 

cross-posted from: https://quokk.au/post/3916116

34
Box o'Kox (feddit.org)
submitted 2 weeks ago* (last edited 2 weeks ago) by gagootron@feddit.org to c/sbubby@lemmy.world
 

Improved version of a previous Reddit post

 

Upload of my previous Reddit posts

 

Uploading my old Reddit posts. Username still says u/gagootron because the original edit was done with Paint.NET. Not sure how to edit my .pdn files since switching to Linux

view more: next ›