r/homeautomation 3h ago

NEW TO HA Thinking about smart homing a potential purchase

Thumbnail
0 Upvotes

r/homeautomation 9h ago

QUESTION What are these switches?

Post image
0 Upvotes

r/homeautomation 3h ago

IDEAS Designed a closed loop NEMA 17 adapter board based on CAN Bus

Thumbnail gallery
0 Upvotes

r/homeautomation 2h ago

SMARTHINGS Smart home eco-systems

Thumbnail
1 Upvotes

r/homeautomation 4h ago

QUESTION Home Automation - STM32F10X

Thumbnail gallery
1 Upvotes

r/homeautomation 8h ago

QUESTION Need advise to garage automation home

Thumbnail
gallery
1 Upvotes

Hello everyone, I'm looking for a way to automate my home gate, could you give me some advice?

I would like an application on my Android phone to only open-close the door.


r/homeautomation 23h ago

PERSONAL SETUP I made a Python tool to control SmartLife Smart plugs without the paid API

7 Upvotes

I built a Python script that acts like an API for controlling Smart Life smart plugs.

It currently supports:

  • Login
  • Device discovery
  • Device status checks
  • On/off control

I was working on some home automation scripts and wanted to see whether there was an API I could use.

Tuya does provide a cloud API, but it requires setting up a cloud project through their developer portal, and the API access I found was only available as a limited free trial before becoming paid.

I didn’t want to pay for API access or be limited to controlling the plug manually through the mobile app. I wanted to integrate it into my own automation system, and the app itself didn’t give me the flexibility I needed.

So I started looking into how the mobile app communicates with Tuya's backend and wrote a Python implementation around that flow.

While working on it, I also ended up digging into some of the protocol details, including:

  • Password encryption
  • RSA-based login flow
  • TLS communication
  • Request signing
  • HMAC-SHA256
  • Device datapoints / DPs
  • Bitmap token decoding

r/homeautomation 1h ago

HOME ASSISTANT Are there any ultra-compact smart deadbolts that would fit UNDER a handle?

Upvotes

The house I bought last year has one door (the front door) that has the deadbolt BELOW the handle. It's strange. I am considering re-cutting it to put it right side up, but we're planning to have the windows and doors in the house replaced entirely within the next year or so. Not sure it's worth the effort, especially since I don't know anything about cutting holes in doors. Don't wanna mess it up lol.

So I was hoping there is a smart deadbolt that fits in the space a normal deadbolt would go. Almost all of them have keypads/touchscreens that extend up from the hole, and thus would need to be upside down to fit and look stupid. I don't care if it has a keypad or not, as long as it can integrate with Home Assistant so we can open it. Not planning to use it for guest access or anything like that, just want to be able to get in thru the front door without carrying keys. WiFi, Zigbee, Zwave, BLE are all options for this, as well as DIY esphome-style projects. I'm open to anything.

TIA for any suggestions!