by kodah · 3y ago · 0 comments
That said, I built up an ideology that any automation added should never replace physical items. All automation should have physical kill switches. Any occupants of the home should have appropriate access to things that you would normally give them physical access to.
I implemented walking lights successfully in my old house by replacing switches and doing some neat presence detection (near-field and general) tricks. That mode could be turned off at the front of the house, and frankly I found myself using it because it'd get old sometimes, and other times you really do want all the lights on.
My garage door opener was another. With near 100% accuracy my garage door would open when I was coming down my alley way. It never false opened though, even if I stopped at the grocery store in front of my house. It sometimes failed to open and I actually had to push a button in my car.
Another note, not mentioned here from my skimming, is to never rely on cloud devices. Anything worth doing is worth doing off-line. If your home automation and security can be killed by chopping fiber or coax, then you have neither reliable automation or security. There's infinite options for off-line applications and liquidated DC servers are stupidly cheap to purchase.
Last, if you're going to do home automation, make sure you start by building it on a separate network from your browsing network (preferably air gapped) - especially if you intend on using WiFi devices. They will crowd and slow down your network. Vary your solutions. Put some on LoRa, some on WiFi, some on Ethernet, some on ZWave, etc...
It is funny people can't envision things breaking...
(And before you ask, the light was in a corridor but there was no door to the bedroom. The switch was stuck on because it was broken not because it overlooked the bed -- it did not)
This is what enraged me about the Therac-25 design which ended up killing people. There's a whole report to read on the design, failure and follow up but to paraphrase the designers eliminated the physical locking mechanism and had this attitude that "oh it's electronic so it won't wear out and fail".
Software errors killing people with excessive radiation doses.
And it would have been entirely fine if there was electronic safeguards put between code and rest of the device, just like some stop lights have it (if control board sends green signal to both directions it fails out and doesn't allow that). Defense in depth and all that
https://engineered.network/causality/episode-39-therac-25/
Each episode focuses on a root cause analysis of a major engineering disaster. Presented in a dry but engaging way - he's a good presenter, but none of the "Radio Lab" style nonsense.
By comparison the Clap switch is so simple that if it is quite at least you can sleep at night
From the lights turning off? A ten year old?
I call this the grandma test. Can grandma come over to my place and still operate everything she needs without a CompSci degree.
It is definitely possible to have a very smart home but still have physical fallbacks that cater for most visitors.
Turns out "Mmmmffmghfff!" is not a valid Alexa command.
Also a bad idea to have a voice activated door during torrential rain. (Which is a silly example. But even so.)
It's not even a UI problem. No one is going to be happy if the power goes off and they can't get in or out.
Or the lock fails open and everyone can get in and out.
Though not always cheap to operate, depending on your electricity costs.
I agree that liquidated equipment is great for these purposes (both servers, thin clients and small form factor office computers), but do a rough estimation of not just purchase cost but also yearly electricity cost. Some stuff is great, some stuff is being liquidated because of uneconomical TCO compared to newer equipment.
Few modern ones (on Intel side, AMD seems to be terrible with idle power usage) are not too bad but get something old and you'd be seeing 100W+ constant usage
Ah, the ideal of progressive enhancements. We know how that ended for HTML and JavaScript.
I agree with you but long term I believe that's going to be a losing game (except basic safety access akin to fire stairs today).
Just have everything talk (via MQTT or whatever) to local hub (that could double down as internet router, or whatever else) running a container with queue server.
Then you can just spin up second "app" (another container) with local controller, or connect that queue to vendor's cloud and their own app. Or have failover between one and other. Hell, integrate the two where you have one place to add all of your rules, but what is possible to do locally would be done.
The vendor could charge monthly for their cloud toys but not have to run all automation in the cloud (cost savings) and the user would get a box that can be configured from anywhere, but do vast majority of tasks locally and not be dependent on internet for basics.
I solved opening the garage door when leaving by a much simpler approach: “Alexa, I’m leaving”(regex for various phrases) along with an Aqara button if I was on the phone.
For arrival of my car only, and not triggering when I would walk nearby (park and beach 1 block in either direction), I had home assistant dialed in to notice the Bluetooth connection to my cars audio by its ID from within the app etc. along with the proximity and whether I was moving towards or away. Away would close and towards would of course open. This was particularly tricky but as you explain always failsafes in place: garage door opener in car and for the opening mechanism was set to close in 2 mins but reset if there was motion in the garage. If I was marked away and there was motion in the garage it would close and also sound an audible alarm.
None of those of course would have been possible without NodeRed. It’s so much fun to use.
NodeRed is great. I don't use it but if you don't want to spend a ton of time writing rote automation in code it's a dope option (and that's an absolutely fair take to have imo).
They work beautifully with Hue bulbs and HomeKit, as well as offline without WiFi. It also avoids the situation of people disabling smart bulbs by using the physical switch.
my new house has all zigbee enabled stuff. I had zero say in it. I will use them for awhile. But I know eventually I am going to get extremely angry at them and will just go buy a pile of eaton and ge light toggle switches and basically not worry about it again. Also someone in this thread suggested a separate network. Good idea. Guess I am going to be buying a decent router at some point.
Surely you aren't also expecting to use the same lightbulbs for 70 years? Of course most of the Zigbee stuff won't last 70 years, but it isn't fundamentally all that different from light bulbs and other household appliances not tending to be able to handle regular use for 70 years. Especially lately with most 'smart' light bulbs being in the same form factor as 'dumb' ones.
As for switches, it's a digital system, if the switch breaks you are carrying a device capable of fulfilling the same function in your pocket (and potentially even wearing such a device on your wrist).
If the service/app is still around. And your IoT system? Is it compatible with the latest ver of android or iPhone? Many of these companies come and go very quickly. Pretty much as soon as the VC funding runs out, or they want to go play with 'their newest stack'. Then you get to spend another 200 bucks for a new 'hub' so the app can work again. Then hope the new hub can interpolate with the old gear. Else you get to update that too.
Home IoT gets one thing very wrong and it is why many do not want it. Timeframes are measured in 1-3 years instead of 1-3 decades. I know what timeframes I expect different parts of my system to work in. Short timeframes for toggle switches feels wrong. Because I can spend 3 bucks and have a switch that lasts decades with nearly zero upkeep and little to no ongoing monetary cost.
Also support is kind of random. Take for example Linus tech tips. He went full on into home automation. Yet even being a decent name in tech, the company that sold him his switches could not give him the right thing. He has a good chunk of his switches that may or may not do what he needs. Firmware update would fix it. But to do that he has to buy random update stations that may or may not come with the firmware. That is 1 toggle switch with a motion sensor. Stack all of that together and you get random 'well this bit does not work right'. I really do not want random when I walk into a room if the light will turn on and stay on. Then do what it says on the tin and turn off when I leave. If Linus can not get these companies to do the right thing what hope do I have?
Home automation for me is in that uncanny valley of frustration and magical. I used to write industrial ones. My timeframe of 'it has to work for a long time' is very jaded by that.
I can see you and I are optimizing for different results. I am optimizing for 'do not have to mess with it again or as little as possible' and you are optimizing for 'check out what my house does'. Both are worthy goals.
But this is directly against the easiest line of profit so no, vendors will not stop going in that direction even if it makes no sense to most people.
Which is why online enabled devices are popular and why companies cater for them.
If they could sell large numbers of offline versions at a markup, they would.
"Here is a box, we just run a container on it with your stuff, you can configure it in cloud as usual but all the stuff is run locally. Pay us monthly for convenience of setting it from cloud and software updates but don't worry, if we get out of business It Will Still Just Work".