Skip to content

marsh4200/ar-devices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

299 Commits
 
 
 
 
 
 

Repository files navigation

🔧 AR Smart Home – ESPHome Devices

SONOFF DEVICES

This repository contains ready-to-use ESPHome configurations and packages for AR Smart Home devices.

Supported Devices

  • M5 Series (1G / 2G / 3G)
  • M5 Series With Long Press
  • M5 Series With Double Click
  • TX Series (1G / 2G / 3G)
  • TX Series With Double Tap
  • TX Series With Long Press
  • POWR320
  • DualR3 Lite
  • MiniR4-Extreme
  • 4ch-Pro-R3
  • MiniR2
  • Basic-R2

🚀 Getting Started

Follow these steps to flash and use your device.


📥 1. Download a Template

Go to the templates folder and download the correct config:

  • Standard
  • m5-1g-config.yaml
  • m5-2g-config.yaml
  • m5-3g-config.yaml
  • Long Press
  • m5-1g-longpress-config.yaml
  • m5-2g-longpress-config.yaml
  • m5-3g-longpress-config.yaml
  • Double Click
  • m5-1g-doubleclick-config.yaml
  • m5-2g-doubleclick-config.yaml
  • m5-3g-doubleclick-config.yaml
  • Standard
  • tx-1g-config.yaml
  • tx-2g-config.yaml
  • tx-3g-config.yaml
  • Double Tap
  • tx-1g-doubletap-config.yaml
  • tx-2g-doubletap-config.yaml
  • tx-3g-doubletap-config.yaml
  • Long Press
  • tx-1g-longpress-config.yaml
  • tx-2g-longpress-config.yaml
  • tx-3g-longpress-config.yaml
  • powr320-config.yaml
  • dualr3lite-config.yaml
  • minir4-extreme-config.yaml
  • 4ch-pro-r3-config.yaml
  • minir2-config.yaml
  • basic-r2-config.yaml

✏️ 2. Edit the Config

Open the file and update:

substitutions:
  device_name: "YOUR_DEVICE_NAME"
  friendly_name: "YOUR_FRIENDLY_NAME"

wifi:
  ssid: "YOUR_WIFI_NAME"
  password: "YOUR_WIFI_PASSWORD"

api:
  encryption:
    key: "YOUR_API_KEY" 

ota:
  password: "YOUR_OTA_PASSWORD"

If no api/ota password then use:

substitutions:
  device_name: "YOUR_DEVICE_NAME"
  friendly_name: "YOUR_FRIENDLY_NAME"

wifi:
  ssid: "YOUR_WIFI_NAME"
  password: "YOUR_WIFI_PASSWORD"

api:
  

ota:
  

➕ 3. Add to ESPHome

  • Open ESPHome
  • Click New Device
  • Select Continue without installing
  • Paste your edited YAML
  • Save

⚡ 4. Flash the Device

  • Click Install
  • Select Manual Download
  • Download the .bin file
  • Flash via USB

🔌 5. Power Up

  • Install the device physically
  • Power it on

🏠 6. Home Assistant

  • Device will appear
  • 1G-1 GANG
  • 2G-2 GANG
  • 3G-3 GANG
  • Entities are created based on type:
Device Entities
1G 1 switch
2G 2 switches
3G 3 switches

📦 How It Works

  • Templates = user configuration
  • Packages = device logic

Benefits:

  • Easy setup
  • Central updates
  • Consistent behavior

⚠️ Notes

  • GitHub updates do NOT auto-update devices
  • Devices must be updated manually or via OTA
  • GPIO9/GPIO10 on TX devices may vary

✅ Done

Your device should now be showing in (auto discoverd devices) in devices and services

Your device is now ready and ready to be integrated with Home Assistant.


🔥 AR Smart Home (Pty) Ltd

Built for simple, scalable, and professional smart home installations.

About

Config For A R SMART Home Esp Devices

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors