Skip to content

DroneTales/SmartRfSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart RF switch for Apple Home

In this repository, you will find firmware and a schematic to build your own smart RF switch for your Apple Home. Should you have any questions, please do not hesitate to contact me at gully.horror0w@icloud.com.

Required components

  • RF switch and relay set - 1 pcs.
  • ESP32C3FN4 Super Mini - 1 pcs
  • Transistor 2N3904 - 2 pcs.
  • Optocouple NEC2561 - 2 pcs.
  • Button - 1 pcs.
  • Resistor 1K - 4 pcs.
  • Resistor 10K - 3 pcs.
  • Resistor 150 Ohm - 1 pcs.
  • Resistor 330 Ohm 1 pcs.
  • 5V 1A power supply - 1 pcs.

Required Arduino libraries

  • esp32 by Espressif Systems (board) 3.3.7
  • HomeSpan 2.1.7

Arduino IDE settings

  • Board: ESP32C3 Dev BModule
  • ESP CDC On Boot: Enabled
  • CPU Frequency: 80MHz (WiFi)
  • Core Debug Level: None
  • Erase All Flash Before Sketch Upload: Disabled
  • Flash frequency: 80Mhz
  • Flash Mode: QIO
  • Flash Size: 4MB (32Mb)
  • JTAG Adapter: Disabled
  • Partition Scheme: Huge APP (3MB No OTA/1MB SPIFFS)
  • Upload Speed: 921600
  • Zigbee Mode: Disabled
  • Programmer: Esptool

Support the author

If you like what I am doing, you can support me using one of the links below:

BuyMeACoffee: https://buymeacoffee.com/dronetales
Boosty: https://boosty.to/drone_tales/donate

BTC: bitcoin:1A1WM3CJzdyEB1P9SzTbkzx38duJD6kau
BCH: bitcoincash:qre7s8cnkwx24xpzvvfmqzx6ex0ysmq5vuah42q6yz
ETH: 0xf780b3B7DbE2FC74b5F156cBBE51F67eDeAd8F9a