ربط زرار بـ Home Assistant
تكامل زرار يضيف كل مشترك إلى Home Assistant كجهاز له أربعة مفاتيح، مفتاح لكل مخرج كهرباء.
المتطلبات
- Home Assistant بإصدار 2026.9.4 أو أحدث.
- HACS مثبّت. هو متجر مجتمعي لإضافات Home Assistant؛ راجع طريقة تثبيته.
- أحدث نسخة من تطبيق زرار.
خطوات الربط
- أضِف التكامل من HACS. افتح صفحة التكامل في HACS، ثم اضغط Download.
- أعد تشغيل Home Assistant.
- أضِف تكامل زرار. افتح Settings → Devices & services → Add integration → Zorar، أو استخدم رابط الإضافة المباشر.
- اختر الربط بالتطبيق. اختر Pair with the Zorar app (أو «اربط مع تطبيق Zorar» إن كانت الواجهة بالعربية). سيعرض Home Assistant رمزًا.
- أدخل الرمز في زرار. في تطبيق زرار اضغط أيقونة «الحساب» ثم Home Assistant، وأدخل الرمز، واضغط «ربط». يكمل Home Assistant الإعداد تلقائيًا، ويظهر كل مشترك كجهاز له أربعة مفاتيح للمخارج.
بدون HACS
انسخ مجلد custom_components/zorar من مستودع التكامل إلى مجلد config/custom_components/ في Home Assistant، ثم أعد تشغيله وتابع من الخطوة الثالثة.
معلومات مفيدة
- المخارج الأربعة فقط تظهر كمفاتيح. منفذا USB يعملان دائمًا.
- لا يوجد مفتاح لكل المخارج معًا، ولا قراءات للقدرة أو الطاقة حتى الآن.
- إن كان المشترك غير متصل، تظهر مخارجه غير متاحة.
- رمز الربط ينتهي بعد دقائق. إن انتهى، اختر «هات كود جديد» في Home Assistant.
- التغييرات من تطبيق زرار تظهر في Home Assistant خلال 30 ثانية تقريبًا.
- لإلغاء الربط، اضغط أيقونة «الحساب» في تطبيق زرار ثم Home Assistant، واضغط «إبطال».
التحكم من Google Home
يمكنك التحكم في المخارج من Google Home عبر Home Assistant. تحتاج اشتراك Home Assistant Cloud (مدفوع، وله فترة تجربة مجانية).
- فعّل Home Assistant Cloud. سجّل الدخول من Settings → Home Assistant Cloud.
- فعّل Google Assistant. افتح Settings → Voice assistants وشغّل Google Assistant.
- اعرض المخارج لـ Google. في تبويب Expose، اختر مفاتيح مخارج زرار وفعّل Google Assistant لها.
- اربط من تطبيق Google Home. اضغط + ثم Device → Works with Google Home، وابحث عن Home Assistant Cloud by Nabu Casa، وسجّل الدخول بحساب Home Assistant.
إن قال Google Home إنه لم يجد أجهزة، فارجع للخطوة الثالثة واعرض المخارج.
تحتاج مساعدة؟ راسلنا على صفحة فيسبوك zorarapp.eg وسنساعدك.
Connect Zorar to Home Assistant
The Zorar integration adds each strip to Home Assistant as a device with four switches, one for each AC outlet.
What you need
- Home Assistant 2026.9.4 or newer.
- HACS installed. HACS is a community store for Home Assistant add-ons; see how to install it.
- The latest version of the Zorar app.
Steps
- Add the integration from HACS. Open the integration in HACS, then tap Download.
- Restart Home Assistant.
- Add the Zorar integration. Go to Settings → Devices & services → Add integration → Zorar, or use the direct setup link.
- Choose app pairing. Choose “Pair with the Zorar app”. Home Assistant shows a code.
- Enter the code in Zorar. In the Zorar app, tap Account, then Home Assistant, enter the code and tap Connect. Home Assistant finishes on its own, and each strip appears as a device with four outlet switches.
Without HACS
Copy the custom_components/zorar folder from the integration repository into your Home Assistant config/custom_components/ folder, restart, then continue from step 3.
Good to know
- Only the four AC outlets are switches. The USB ports are always on.
- There is no “all outlets” switch, and no power or energy sensors yet.
- A strip that is offline shows its outlets as unavailable.
- The pairing code expires after a few minutes. If it does, choose “Get a new code” in Home Assistant.
- Changes made in the Zorar app show in Home Assistant within about 30 seconds.
- To disconnect, tap Account in the Zorar app, then Home Assistant, and tap Revoke.
Control from Google Home
You can control the outlets from Google Home through Home Assistant. You need a Home Assistant Cloud subscription (paid, with a free trial).
- Turn on Home Assistant Cloud. Sign in under Settings → Home Assistant Cloud.
- Turn on Google Assistant. Open Settings → Voice assistants and turn on Google Assistant.
- Expose the outlets to Google. On the Expose tab, select the Zorar outlet switches and turn on Google Assistant for them.
- Link in the Google Home app. Tap +, then Device → Works with Google Home, search for Home Assistant Cloud by Nabu Casa, and sign in with your Home Assistant account.
If Google Home finds no devices, go back to step 3 and expose the outlets.
Need help? Message our Facebook page zorarapp.eg and we will help.