1. المقدمة وما فوقview
The Sonoff Mini R4 Extreme Wi-Fi Smart Switch is a compact home automation module designed to transform traditional switches into smart switches, automating lights and electronic devices. Its tiny size allows it to fit into various mounting boxes, including the smallest European standard ones. Equipped with an upgraded ESP32 chip, the MINIR4 offers enhanced safety and reliability.
A key feature is the "Detach Relay Mode," which separates the states of external switches and the internal relay. This means operating a physical switch won't affect the smart light's online status, allowing continuous app control. The MINIR4 also functions as an "eWeLink-Remote" gateway, enabling local control by sub-devices like R5 and S-MATE via the eWeLink-Remote signal, which can then trigger other smart devices in a smart scene.
The product is certified for safety with TÜV, CE, and FCC, ensuring a secure and reliable smart home experience.

Figure 1: The compact Sonoff Mini R4 Extreme Wi-Fi Smart Switch.

الشكل 2: انتهىview of Sonoff Mini R4 key features.
2. معلومات السلامة
SONOFF prioritizes safety in the design and manufacturing of its products, adhering to strict certification requirements. The Sonoff Mini R4 has passed CE, FCC, and more stringent TÜV certifications.
- السلامة الكهربائية: Always ensure the main power supply is turned OFF at the circuit breaker before performing any installation, wiring, or maintenance.
- المرفق: The device features a flame-retardant grade V-0 enclosure for enhanced safety.
- التوصيلات الكهربائية: The new connection port design is safer, preventing damage to wires and ensuring effective fastening. Avoid overtightening wires with screws, which can crush or cut them.
- ظروف غير طبيعية: The product is tested for abnormal short-circuits and electric shock under fault conditions to prevent burning, flame, or high temperatures that could cause a fire hazard.
- التثبيت الاحترافي: If you are unsure about electrical wiring, please consult a qualified electrician.

Figure 3: Sonoff Mini R4 safety features and improved wiring terminals.
3. محتويات العبوة
Upon opening your Sonoff Mini R4 package, you should find the following items:
- 1 x Sonoff Mini R4 Extreme Wi-Fi Smart Switch
- 1 × دليل المستخدم (هذه الوثيقة)

Figure 4: Sonoff Mini R4 package contents.
4. المواصفات

Figure 5: Sonoff Mini R4 dimensions and key specifications.
| يصف | قيمة |
|---|---|
| نموذج | مينير4 |
| واي فاي | IEEE 802.11b/g/n 2.4 جيجا هرتز |
| البعد | 39.5×33×16.8 ملم |
| Casinمادة g | كمبيوتر V0 |
| مدخل | 100-240V~50/60Hz 10A Max |
| الناتج | 100-240V~50/60Hz 10A Max |
| External Switch Control | Momentary switch, door exit switch, SPDT switch, latching switch |
| برنامج | eWelink |
| التحكم الصوتي | أليكسا، جوجل هوم |
| شهادة | CE، FCC، RoHS |

Figure 6: Details of the Ultra-fast ESP32 Chip.

Figure 7: Sonoff Mini R4 size comparison with previous models.
5. التثبيت والإعداد
مهم: Before starting any electrical work, ensure the main power supply is turned OFF at the circuit breaker to prevent electric shock.
Video 1: Wiring and Pairing Tutorial for SONOFF MINI Extreme Wi-Fi Smart Switch | MINIR4. This video demonstrates the installation process.
5.1 التثبيت المادي
- إيقاف التشغيل: Locate your circuit breaker and turn off the power to the switch you intend to replace or modify. Verify power is off using a voltagه اختبار.
- إزالة التبديل الموجود: Carefully pry off the switch panel and remove the external switch from the mounting box. Disconnect the existing wiring.
- تحضير الأسلاك: Strip the ends of the Live (L In), Neutral (N), and Load (L Out) wires if necessary, ensuring enough bare wire for secure connections.
- Wire the MINIR4: Connect the wires to the MINIR4 according to the wiring diagram below.
- Connect the Live Input (L In) wire to the 'L In' terminal on the MINIR4.
- Connect the Neutral (N) wire to the 'N' terminal on the MINIR4.
- Connect the Live Output (L Out) wire (to the light/appliance) to the 'L Out' terminal on the MINIR4.
- If using an external switch, connect the two ends of the external switch to the 'S1' and 'S2' terminals on the MINIR4.
- Secure MINIR4: Place the MINIR4 inside the mounting box, ensuring all connections are secure and no bare wires are exposed.
- Reinstall Switch Panel: Reattach the switch panel.
- تشغيل الطاقة: استعادة الطاقة عند قاطع الدائرة.

Figure 8: Sonoff Mini R4 wiring diagram for basic and external switch connections.
5.2 App Pairing (Quick Start)
- Download eWelink APP: Download and install the eWelink app on your smartphone from your app store.
- تشغيل الطاقة: Ensure the Sonoff Mini R4 is powered on (after completing physical installation).
- الدخول في وضع الاقتران: Long press the pairing button on the Sonoff Mini R4 for 5 seconds until the Wi-Fi indicator blinks twice and stays on for 1 second, then blinks again. This indicates it's in pairing mode.
- Open eWelink APP: Open the eWelink app, select "Bluetooth Pairing" from the add device options, and follow the on-screen steps to connect your device to your Wi-Fi network.

Figure 9: Quick start guide for app pairing.
6. التشغيل
6.1 التحكم في التطبيق
Once paired with the eWelink app, you can control your Sonoff Mini R4 from anywhere. The app allows you to:
- تشغيل الأجهزة وإيقاف تشغيلها عن بعد.
- Set schedules, countdowns, and loop timers for automated control.
- Create smart scenes to automate actions based on various triggers (e.g., motion sensors, door/window sensors).
6.2 التحكم الصوتي
The Sonoff Mini R4 is compatible with popular voice assistants:
- اليكسا: Link your eWelink account to Alexa and use commands like "Alexa, turn off the light."
- جوجل هوم: Link your eWelink account to Google Home and use commands like "Hey Google, turn on the fan."

Figure 10: Timer and Voice Control options.
6.3 External Switch Control
The MINIR4 offers seamless compatibility with various external switches, allowing you to retain traditional control alongside smart functionality. It supports:
- مفاتيح لحظية
- Door exit switches
- SPDT switches
- Latching switches
- Dry contact sensors

Figure 11: Compatible external switch types.

Figure 12: Feature comparison across Sonoff Mini models.
6.4 Detach Relay Mode
In "Detach Relay Mode," the states of external switches and the internal relay are separated. This means that pressing the physical external switch button will not directly change the relay's state. For example, if you have a smart light, enabling "Detach Relay Mode" ensures that turning off the physical switch does not take the smart light offline. You can still control the smart light via the eWelink App or voice commands.

Figure 13: Detach Relay Mode functionality.
6.5 Smart Scenes and Automation
Integrate the Sonoff Mini R4 into your smart home ecosystem by creating smart scenes. It works with various sensors (motion, door, window) to automate actions. For instance, you can set a scene to turn on lights when a door opens or motion is detected.

Figure 14: Smart Scene capabilities.
6.6 Power-on State and Delay Protection
The MINIR4 includes an "Additional Protection - Delay Power-on State" feature. If power is restored after an outage, you can configure certain appliances to delay their power-on execution. This helps prevent all appliances from turning on simultaneously, which can cause high currents, damage appliances, and pose safety risks.

Figure 15: Delay Power-on State feature.
6.7 Advanced Integrations
The Sonoff Mini R4 can be integrated with other platforms for extended functionality:
- مساعد منزلي: Add the device to Home Assistant for centralized control and advanced automation.
- eWelink Web: Access and control your devices via a web interface (part of eWelink Advanced Plan).
- IFTTT: Connect with IFTTT (If This Then That) to create custom applets and workflows (part of eWelink Advanced Plan).

Figure 16: Advanced integration options.
7. الصيانة
- تنظيف: Ensure the device is clean and free from dust. Disconnect power before cleaning. Use a dry, soft cloth.
- تحديثات البرامج الثابتة: Regularly check the eWelink app for firmware updates to ensure optimal performance, security, and access to new features.
- الظروف البيئية: قم بتشغيل الجهاز ضمن نطاقات درجة الحرارة والرطوبة المحددة لضمان طول عمره.
8. استكشاف الأخطاء وإصلاحها
- الجهاز لا يستجيب:
- تحقق مما إذا كان الجهاز قيد التشغيل.
- تأكد من أن شبكة الواي فاي الخاصة بك نشطة وأن الجهاز ضمن نطاقها.
- Ensure the eWelink app is updated to the latest version.
- Try restarting the device by cycling its power.
- قضايا الاقتران:
- Make sure the device is in pairing mode (Wi-Fi indicator blinking as described in Section 5.2).
- Ensure your phone's Bluetooth is enabled during Bluetooth pairing.
- Keep your phone close to the device during pairing.
- Verify your Wi-Fi credentials (SSID and password) are correct.
- If using a 5GHz Wi-Fi network, switch to a 2.4GHz network as the device only supports 2.4GHz Wi-Fi.
- External Switch Not Working:
- Check the wiring connections to S1 and S2 terminals.
- Ensure the external switch type is compatible (momentary, door exit, SPDT, latching).
- If "Detach Relay Mode" is enabled, remember that the physical switch will not directly control the relay state.
- التحكم الصوتي لا يعمل:
- Ensure your eWelink account is correctly linked to Alexa or Google Home.
- تحقق من اتصالك بالإنترنت.
- Verify the device name in the eWelink app matches the name you are using in voice commands.
9 نصائح المستخدم
- سهولة التركيب: Users have noted the product's straightforward installation process, making it accessible for many.
- توافق متعدد الاستخدامات: The Sonoff Mini R4 offers broad compatibility with various external switches and smart home ecosystems, enhancing its utility.
- Voice Control Convenience: Leverage voice control with Alexa and Google Home for hands-free operation of your connected devices.
10. الضمان والدعم
للحصول على معلومات الضمان أو الدعم الفني أو مزيد من المساعدة، يرجى الرجوع إلى موقع SONOFF الرسمي webالموقع أو تواصل مع خدمة العملاء مباشرةً. احتفظ بإيصال الشراء كإثبات للشراء.





