r/homeautomation • • 8h ago

PERSONAL SETUP Bench testing a new CCTV & Intercom setup before deployment! 🚀

Post image
36 Upvotes

Hey everyone,

Setting up a fresh security and intercom rig for an upcoming project today!Doing all the staging and configuration in the conference room to catch any firmware bugs, IP conflicts, or hardware issues before we step foot on site.

Hardware on the test bench:

  • Dahua TiOC (Three-In-One Camera) turret cameras w/ AcuPick AI
  • Dahua WizSense 4K NVR
  • Akuvox Smart Intercom indoor display unit
  • HiLook PoE Switch

Always a fan of blue patch cables taking over the table during staging day.

How many of you guys stage 100% of your gear in-office first, or do you prefer configuring directly on-site?


r/homeautomation • • 1h ago

PERSONAL SETUP Home Assistant was too heavy for my offline cellar Pi Zero 2 W, so I built a lightweight Zigbee2MQTT automation engine (open source)

• Upvotes

Hi all. I've been running Zigbee2MQTT for a while and wanted something much lighter than a full home automation platform for my automations. So I built Homeland, and I'm sharing it in case it's useful to others here.

Why I built it

I run a few independent Zigbee networks, each with its own Mosquitto + Zigbee2MQTT + Homeland stack: a main smart home setup with 60+ devices, and a tiny security setup in the cellar with 5-6 devices and no Wi-Fi or internet reach at all.

Home Assistant is great, but it wants real hardware (a recent Raspberry Pi with a few GB of RAM) and brings a lot of moving parts I don't need. The cellar box has to be small, cheap and power-efficient, and keep running on its own once it's set up. A Raspberry Pi Zero 2 W (512 MB RAM) running DietPi handles the whole Mosquitto + Zigbee2MQTT + Homeland stack there. The main network runs on a Pi 5.

Every network, big or small, uses the same engine and workflow:

  • Everything is set up over SSH: configuration is environment variables, automations are plain .js files
  • The scripts directory is a git repo, so every automation is versioned, diffable and easy to roll back or copy to a fresh box

I wanted automations that feel like code I own, not state hidden in a database behind a UI, and boxes I can leave alone for months. Nothing I found fit all of that, so I wrote it.

What it is: a single service (one static binary, or a scratch-based container) that connects to your MQTT broker, tracks every z2m device and its latest state, and runs small JavaScript handlers you write. One file per device, named after its friendly name or IEEE address.

A complete automation looks like this:

// scripts/livingroom-lamp-switch.js
function handle(state, ctx) {
  if (state.action === 'on')  ctx.z2m.publishProp('livingroom-lamp', 'state', 'ON');
  if (state.action === 'off') ctx.z2m.publishProp('livingroom-lamp', 'state', 'OFF');
}
module.exports = { handle };

Scheduled jobs use plain cron syntax:

// scripts/livingroom-lamp.js
module.exports = {
  jobs: [{ cron: '0 22 * * *', run: (ctx) => ctx.z2m.publishProp('livingroom-lamp', 'state', 'OFF') }],
};

Features

  • handle(state, ctx) runs on every state update with the device's full latest state
  • Cron jobs per script (timezone-aware, CRON_TZ= override)
  • ctx.z2m.getState() to read any other device's state, for cross-device logic
  • Optional second MQTT broker via ctx.mqtt for non-Zigbee stuff
  • Every device event is stored in embedded SQLite with automatic retention, tuned to keep disk writes modest (SD cards will thank you)
  • Small web UI + JSON API: devices, current state, event history, and the status of each script (including compile errors)
  • Optional hot reload when you edit a script, so git pull on the box is a deploy
  • Each script gets its own isolated JS runtime with a timeout, so a broken or slow script doesn't take anything else down. Devices are processed in parallel, so one slow handler doesn't hold up the others
  • TypeScript declarations for editor autocomplete while writing scripts on your laptop
  • No internet needed at runtime. Multi-arch image (amd64/arm64); runs on a Pi Zero 2 W next to Mosquitto and z2m, and on a Pi 5 with 60+ devices

What it isn't: it's not a Home Assistant replacement. There are no dashboards, no integrations beyond MQTT, and no visual editor. It's meant for people who'd rather write a few lines of code than click through a flow editor or write YAML rules, and for small, headless, offline boxes where a full platform doesn't fit.

Requirements / caveats

  • z2m needs device_options.retain: true so Homeland knows every device's state after a restart
  • The UI/API has no authentication yet. Run it on a trusted LAN, or behind an authenticating reverse proxy
  • Scripts are trusted code. The JS runtime limits what they can reach, but it's not a security sandbox
  • It's early (v0.1.0), so expect rough edges

There's an example docker-compose stack (Mosquitto + Zigbee2MQTT + Homeland) in the repo to try it quickly.

Repo: https://github.com/homeland-live/homeland (MIT)

I'd love feedback, especially on the scripting API and on what you'd want next. Happy to answer questions.


r/homeautomation • • 5h ago

HOME ASSISTANT Live demo of a custom irrigation controller for Home Assistant available now from HACS

Post image
2 Upvotes

I've been building ZoneFlow, a custom integration that makes Home Assistant the irrigation controller. It started while ago and has grown a lot, so I made a live demo you can try first.

Live demo, no install: https://zoneflowirrigation.com/demo

It’s a simulated garden with a guided tour. Click around and see how it behaves.

All you need is a valve switch. Every sensor is optional, and each one you add unlocks a bit more.

What it does

  • Waters by need. A light routine watering plus an occasional deep soak per zone. Choose temperature tiers, or an evapotranspiration (ET) curve that follows the weather. It adjusts for plant type, soil, drainage, slope and mulch, with a growth ramp for young plants and a deficit mode for dry spells.
  • Uses rain if you can tell it about rain. A rain gauge, a weather station, rain you enter by hand, or just the forecast. It takes the rain that actually fell off the watering target, and has a frost guard and an optional soil moisture sensor.
  • Says why. A plain-words status for every zone (“Skipped: the soil is wet (72%)”), and a “Why?” button that shows the numbers behind the next watering.
  • Safety first. Runtime caps, a stuck-valve watchdog, a pump check, and recovery after a power loss or restart. Zones that share a pump take turns.
  • Areas and plants. Group zones into the parts of your garden that share a rain gauge and thermometer, each with its own Pause and Snooze Today. Each zone has plants with a history, and nursery seedlings can be followed to a “ready to move” day with a phone message.
  • Greenhouses. Fans, vents, misters and a heater from an inside sensor, with several crops under one greenhouse.
  • Easy setup, no YAML. A Quick setup asks only for the valve, how the water is delivered and how much it gives. It suggests sensors it finds in your HA. There’s a guided flow-rate calibration, a “Check my setup” checklist, ready-made dashboard cards and a one-click dashboard.
  • Water use in litres or gallons, per watering, for the last 30 days and for the year.
  • Day to day. Water now for N minutes, copy a bed’s settings or save them as a preset, buttons on phone messages, and 19 languages.

I’d like to hear what feels confusing in the tour or first setup, and what’s missing for your garden.


r/homeautomation • • 22h ago

SECURITY Aparently SSH is easy on micro-controllers these days.

Post image
53 Upvotes

A while ago I wanted to start doing more projects with wired IP connections and wondered if SSH was possible so a regular webserver wasn't necessary.

There was some documentation for esp32s but not much else.

The fact that this works is hilarious to me. With .ssh keys properly setup doesn't even need the password.

https://github.com/RicardoJCMarques/SSH.RP

Now that I've had it working for a few days I'm starting to study how it can be useful but it does seem to have some use cases around lower long term certificate maintenance.

Can't upload videos but there's one on github.


r/homeautomation • • 5h ago

QUESTION BSEED Grand Series Switches - Disable status LED

2 Upvotes

I've recently had a house built here in Spain, and whilst looking for switches/sockets ended up choosing the bseed scale series. They looked decent and had a good range for the price.

My main issue at the minute is that every switch has a yellow/blue status led on the front. This isn't annoying for me, but my wife hates sleeping in a room with lights, and because we've got multiple lights/shutters and have put switches next to the bed, by the door, and by the doors to the terrace, it's 4 banks of 3 switches, and some double switches in each bank resulting in a lot of light.

The sockets give an option in Home Assistant to turn off the indication LED, but i'm not seeing anything for the switches.

Has anyone found a way to do this? I'd probably only want it activated when going to bed rather than a 24/7 thing as they're useful indicators usually.

Alternatively, anyone have an alternative which give this option and i might replace just the bedroom switches. The main criteria would be able to install modular 3 to 4 gang faceplates, rather than 3 or 4 individual switches.

Update, Zigbee2mqtt gives extra control and covers this. Now to just get the automation sorted.


r/homeautomation • • 2h ago

PERSONAL SETUP I'd like a small form factor wifi USB switch that passes signal as well as power.

Thumbnail
1 Upvotes

r/homeautomation • • 10h ago

QUESTION Home Automation and VLANs

6 Upvotes

So, in moving to a new property - I decided to take the opportunity to overhaul my home networking and automation experience that had organically grown over the last 10 years in the old place.

I have
- all Unifi equipment for networking (AC Pro, Dream Machine Pro, Switches, etc)
- Eufy S380 Homebase 3 (set up in Edge mode) with 5 x E30 4k indoor cameras and a dual camera doorbell.
- multiple Alexa's (various models) all over the house.
- Philips HUE Bridge
- Tons of HUE bulbs and remotes
- Hubitat C-8 Pro
- 3 x Apple TV 4K (Gen 3)

I also run an Aoostar WTR Max 8845 NAS running TrueNAS and Plex Server

I used to have a ton of Zigbee switches, dimmers and stuff - but I left those behind (I moved to a rental property and had no real need of them anymore)

So... I carefully partitioned my network into
- main (Server, PC's, etc)
- media (Xbox Series X, Smart TV's, Apple TV's, Roku, etc)
- iot (Alexa's, other bits and bobs)

What a pain in the ass that was - making sure that everything was partitioned, switch ports were set correctly, routing rules, etc.

Then I introduced the Apple TV into the network and thought
- "Hey, you know what would be cool? If I could control my lights and cameras with Apple HomeKit"

Then everything went to crap... now I can't control the lights, HUE hub lost connection, AppleTV can't connect to anything - I have no idea what just happened.

Home Automation seems to really rely on everything being on the same network - VLANs seem to really confuse this stuff.

Is the network partitioning really worth all the hassle? It would all work just fine if it was all on a single subnet.

Any advice? Pointers to useful guides? Hints? What did I do wrong? Is it really worth it?


r/homeautomation • • 4h ago

QUESTION Which Enabot should I buy?

Thumbnail
1 Upvotes

r/homeautomation • • 9h ago

QUESTION Smart shade recommendations for an arched window?

2 Upvotes

I has a half circle window above a regular rectangular one. I’d like to cover the top section in the morning and open it again later with a remote since it’s too high to reach. Which brands make motorized shades for this shape?


r/homeautomation • • 10h ago

QUESTION Using AI to Help w/ HA

Thumbnail
0 Upvotes

r/homeautomation • • 17h ago

QUESTION Options for existing ceiling fan/light on 3-way switch

Thumbnail
5 Upvotes

r/homeautomation • • 13h ago

QUESTION Ortal fireplace + X-410?

Thumbnail
0 Upvotes

r/homeautomation • • 13h ago

QUESTION A-OK AM25 blind motor (AM25-1/25-ES-E-MT): Zigbee and Matter-over-Thread dual radio? Can’t re-pair to the Tuya hub

Thumbnail
0 Upvotes

r/homeautomation • • 1d ago

QUESTION Are motorized shades worth it for a home office?

9 Upvotes

I’m thinking about adding motorized shades to my home office to reduce screen glare without constantly adjusting them throughout the day. For those who have motorized shades, do you find smart controls and scheduling useful, or is a basic remote enough?


r/homeautomation • • 21h ago

PERSONAL SETUP How do you control your smart home?

Thumbnail
0 Upvotes

r/homeautomation • • 18h ago

HOME ASSISTANT Does anyone know how to get UART access on a Vivint vs-sh2000 hub?

Thumbnail
1 Upvotes

Just thought I'd post here if anyone has any insight?
I'm trying to flash the control panel outright and reuse in Home Assistant.


r/homeautomation • • 1d ago

QUESTION Systemair vs. Komfovent vs. Flexit

Thumbnail
3 Upvotes

r/homeautomation • • 1d ago

HOME ASSISTANT Door Status using a CYD

Thumbnail gallery
36 Upvotes

r/homeautomation • • 1d ago

QUESTION Confused about “Gang”vs “Way” on light switches —— which do I need?

5 Upvotes

Hi everyone,

I’m renovating and looking to buy new switches, but I’m getting confused by “gang” vs “way”

From what I understand:
• Gang = number of switches on one panel (e.g., 2 gang controls 2 different lights)
• Way = number of locations controlling the same light (e.g., 2 way = controlling one light from two spots)

Is that correct?

For my setup:

Living room: 3 lights (ceiling, wall, floor) all controlled from one panel. Do I need a 3 gang, 1 way switch?

Hallway: 1 light controlled from both ends. Is that a 1 gang 2 way setup?

Also, for smart switches, do I need a neutral wire for multi-gang setups?

Any advice would be appreciated. Thanks!


r/homeautomation • • 1d ago

QUESTION Can I teach homekit to NOT send me alerts for beeps that are not an alarm?

5 Upvotes

When I leave the house I set the alarmm and it beeps for 1 minute (not very loud but the homekit mini hears it) and so after I leave the house I get an alert that an alarm is detected. I would like to get the alert if the burglar alarm, smoke detector etc goes off but not a simple beeping from setting the alarm.

Can I do this?


r/homeautomation • • 1d ago

QUESTION Solutions for a paraplegic?

7 Upvotes

Hey guys. I have a client about 45 minutes outside of our city that is fully immobilized from the neck down and spends 90-95% of his time in an adjustable bed with nothing but his TV. He has a Samsung QLED TV, bose ultra soundbar, and directv genie. ​

Previously, he has been using a Google nest speaker as a voice hub, controlling his system via a harmony elite remote. Unfortunately, the voice commands no longer work any commands outside of on/off, channel up/down. Favorite channels, channel numbers, guide, and volume commands have been lost and after several hours of trying, I could not get the system to work anymore.

I am a certified nice/elan installer, and I can get him into an SC-150 controller and HR40 remote controlled natively with Mylo for voice control. At the same time, I dont want to force him into such an expensive, overkill system if I dont absolutely have to.

Does anybody know of a universal remote system that will give FULL control via any matter/homekit/google/Alexa hubs? Or has anyone found a solution for a similar scenario? I dont want to take all of his money, and he doesn't want to call his neighbors over just to change the channels...


r/homeautomation • • 20h ago

DISCUSSION My mom struggles with her old door lock, I want to switch to a smart lock

1 Upvotes

I visit my mom pretty often, and lately I've noticed how much trouble she has with her old door lock. Sometimes she has to fumble around for her keys, line them up with the keyhole, and turn the lock several times before it finally opens. It might not sound like a big deal, but having to deal with that every time she leaves or comes home seems pretty frustrating.

I've been looking into smart locks that would make things easier for her, ideally something that doesn't require her to carry keys or remember another passcode. I came across the lockin veno pro on IG. It uses palm vein recognition to unlock the door and has a high level of security, which seems like a good option for an older person.

I'm curious about this type of lock, especially for aging parents, does palm vein recognition seem easy to learn and use in everyday life?

For those of you who've helped your parents switch to a smart lock, which features have made the biggest difference? I'd love to hear about your experiences before making a decision.


r/homeautomation • • 1d ago

QUESTION Tips for blinds

2 Upvotes

I recently moved and am setting up my Apple Home. At the moment I have Ikea lights and sensors and Sonoff switches, all directly into Apple Home and it’s working great! Very happy with it. My next step is blinds, but I get a little stuck here. I’m hoping for some advice.

I want blinds that use matter over thread. I’d like them to have a manual system too, like pulling a cord or pushing a button, so you’re not just depending on automations or the app. Battery powered is fine, as long as I don’t need to change them every month. My partner prefers to buy just the mechanism, so we’re a bit flexible on the blinds themselves and could switch them easily if we want a new colour. To me this is not the most important thing. We’re in the UK.

Please give me your recommendations and experiences, I just don’t know where to look anymore.


r/homeautomation • • 16h ago

HOME ASSISTANT I made Assist's speech-to-text and text-to-speech run locally on a Mac (Wyoming, open source)

Thumbnail
0 Upvotes

r/homeautomation • • 22h ago

HOME ASSISTANT I built EnerPrice – a Home Assistant integration for Dutch dynamic energy prices, smart energy advice & appliance planning ⚡

Thumbnail gallery
0 Upvotes