this post was submitted on 03 Oct 2023
35 points (97.3% liked)

homeassistant

11401 readers
3 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I discovered some items on clearance at Home Depot, a Wyze Outdoor duplex plug and a Defiant smart plug. Did a little research on the modules I found inside and was pleased that both used esp32 microcontrollers. I got both disassembled, soldered up, and got to work flashing ESPHome, The Wyze was went well and is now integrated into my HA. Unfortunately the Defiant smart plug was defiant and when hooked up to do the flash I got a “Download mode disabled, reset with GPIO0 high.” Researching that I found that newer esp32 chips have a “Secure boot” fuse that once set disables future firmware updates from the UART. Not sure yet if there is an OTA exploit like the with BK7321 toya chips, but i’m not hopefull. If anyone knows of something let me know.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 22 points 9 months ago (1 children)

I really don't understand why they lock the hardware like this.

Dear manufacturer: are you committed to update your device for at least a decade and use open protocols? The answer is always no, so just allow us to void the warranty and install tasmota or esphome.

Electrical installations should be considered almost permanent, support should last decades. I'm not willing to replace a "smart" relay every few years because the app broken

[–] ArbiterXero 7 points 9 months ago (1 children)

Sometimes it’s “liability”

If putting bad software on it could possibly start a fire or electrocute someone, they’ll put in measures to kill it

[–] [email protected] 3 points 9 months ago (1 children)

A relay will do what a relay does, turn on and off. No matter what software you put on the smart plug, it can't really become too dangerous. Unreliable maybe, but most of these smart plugs are just that, a dumb relay controlled via a microcontroller

[–] ArbiterXero 1 points 9 months ago
[–] [email protected] 9 points 9 months ago (1 children)

I've had some of those and also some of the proprietary Tuya ones. The module has the same footprint so I ordered some ESP32 modules in the same form and used a hot air rework station to swap them. The modules are really cheap so I still come out ahead price-wise.

[–] [email protected] 6 points 9 months ago* (last edited 9 months ago)

I think this one is a custom module, it solders into a slot on the main board vertically with pads on both sides of the modules bottom edge.

https://fccid.io/2AB2Q-LA02301/Users-Manual/11-User-Manual-4810925

Edit: fixed link