0ہوم اسسٹنٹ کے ساتھ کام کرنے والے اوپن زیڈ کو حاصل کرنا

I am slowly migrat­ing my smarthome setup to Home­As­sist­ant which, as with most open-source pro­jects, is pretty unfriendly to start with and takes some learn­ing to use. I have an Aeotec ZStick and an Aeotec Door­bell 6 which work via Z‑Wave and I wanted to cus­tom­ise the tones and reduce the volume a little. آپ کو لگتا ہے کہ یہ آسان ہو گا?

The first hurdle to over­come was to real­ise that Home Assist­ant has 2 ways to use Z‑Wave. ایک میں تعمیر کیا گیا ہے, and one is built on the “Open­ZWave” sys­tem / soft­ware / dock­er image (or whatever it actu­ally is!). The built-in sys­tem does­n’t sup­port the latest Z‑Wave stand­ards and so could­n’t con­fig­ure my door­bell, but appar­ently the altern­at­ive Open­ZWave 1.6 sys­tem will be able to even­tu­ally, although it does­n’t seem to do so year. In order to avoid more issues in future the first thing to do is to switch from the built-in Z‑Wave sup­port to the Open­ZWave addon. Note that I am using the full “Home Assist­ant” (جسے ہاس.یو کہا جاتا تھا). It is basic­ally an all-in-one install with Has­sOS, and then both Home Assist­ant and “Super­visor” run­ning on top of that. Many people run this setup on a Rasp­berry Pi although I am run­ning on a 4W mini PC with a Pen­ti­um 4200 جو بہت کم طاقت والے انٹیل NUC کی طرح ہے.

شروع کرنے سے پہلے

Unpair your door­bell from your یوایسبی اگر یہ پہلے سے جوڑا بنا ہوا ہے تو رہو اگر ہمیں اسے محفوظ حالت میں جوڑنے کی ضرورت ہے

اپنا تلاش کرو یوایسبی چھڑی تفصیلات

  • Super­visor
  • Sys­tem
  • “Host Sys­tem” box
  • “Hard­ware” button
  • It should be some­thing like
    /دیو / سیریل / بذریعہ ID / USB-0658_0200-if00

بلٹ ان زوے کو غیر فعال کریں

  • ترتیب کے
  • Integ­ra­tions
  • زیڈ ویو باکس
  • Click con­fig­ure
  • Click “Stop Network”

موسویٹو بروکر انسٹال کریں

  • Super­visor
  • اڈون اسٹور
  • مچھر بروکر کی تلاش کریں

ایم کیوٹی ٹی انسٹال کریں

  • ترتیب کے
  • Integ­ra­tions
  • ایم کیوٹی ٹی کے لئے تلاش کریں
  • You should see the mosquitto broker lis­ted. کنفیگر پر کلک کریں

اوپن زیڈ انسٹال کریں

  • Super­visor
  • اڈون اسٹور
  • zwave تلاش کریں

سیکیورٹی کے لئے بے ترتیب چابی تیار کریں

  • کے پاس جاؤ رینڈم ڈاٹ آرگ and gen­er­ate a ran­dom hex code for a secur­ity key that you will need in the next step

اپنے ساتھ اوپن زیڈ کو تشکیل دیں یوایسبی تفصیلات

  • Super­visor
  • ڈیش بورڈ
  • Open­ZWave
  • ترتیب کے
  • Edit the “device” entry to match the یوایسبی اوپر سے راستہ, and add the num­bers gen­er­ated in place of the ?? for the secur­ity key
  • مثلا.
    • آلہ: /dev/seri­al/by-id/usb-0658_0200-if00
    • نیٹ ورک_کی: ‘0x??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??
  • محفوظ کریں پر کلک کریں
  • Click on “Info” tab
  • اسٹارٹ پر کلک کریں

اوپن زیڈ انضمام کو تشکیل دیں

  • ترتیب کے
  • Integ­ra­tions
  • “Open­ZWave (بیٹا)” box
  • Click “Con­fig­ure”
  • Click “Con­firm Setup”

دوبارہ شروع کریں۔!

I found at this point that I had to reboot for the sys­tem to start talk­ing to my یوایسبی Z‑Stick prop­erly, so I recom­mend reboot­ing at this point.

نیم دوستانہ ترتیب انٹرفیس قائم کرنا

  • Down­load and install the Open­ZWave GUI ونڈوز کے لیے (scroll to the bot­tom of the page and look for the link to the win­dows .msi)
  • To use the GUi first go to Super­visor -> Open­Zwave -> Con­fig­ur­a­tion and set the host field to 1983 (it is dis­abled by default unless you enter a value)
  • Then in Open­ZWave GUI صرف داخل کریں آئی پی or name of your home assist­ant. The port should already be cor­rect and no authen­tic­a­tion key is required
  • نوٹ کریں کہ آپ کی یوایسبی device may show as not being Z‑Wave plus, but if any con­nec­ted devices are show­ing as Z‑Wave Plus you can safely ignore this, یہ گمراہ کن ہے.

حجم کی تشکیل

Why on earth the default volume is set so loud it dis­torts is bey­ond me. Pre­sum­ably it is so that Aeotec can put some silly decibel num­ber on the box. کس طرح کبھی, I don’t actu­ally want my door­bell to dam­age my ears, or wake my chil­dren at night either for that mat­ter, لہذا پہلی چیز جس کی مجھے واقعتا needed ضرورت تھی وہ تھی اس کو ٹھکرانا. آپ سوچیں گے کہ ان تمام ہپس کے بعد جو ہمارے پاس پہلے سے موجود تھا اس میں سے کود پڑنا ہے (آخر میں) آسان, but guess again…

گھر کا معاون بند کرو

  • Shut­down Home Assistant
  • ہٹا دیں یوایسبی Z‑Wave stick
  • Con­nect it to a win­dows PC

سلیکن لیبز پی سی سافٹ ویئر حاصل کریں

  • Go to the Sil­ic­on Labs web­site ڈاؤن لوڈ کے صفحے
  • Select to down­load the PC Con­trol­ler Software
  • Click on the “Cre­ate an Account” link and register
  • Once you have veri­fied your account and logged in, واپس جائیں ڈاؤن لوڈ کے صفحے
  • Down­load the Z‑Wave ایس ڈی کے پہلا
  • Then down­load the PC Con­trol­ler software
  • ZWaveControllerSetup.msi چلائیں
  • نکالیں 2 ZW050x_USB_VCP_PC_Driver فولڈر میں فائلیں, then right-click on the extrac­ted INF file and select “install” to install the drivers
  • Plug your Z‑Wave dongle into your win­dows PC
  • Run the Z‑Wave PC Con­trol­ler software
  • اپنے انتخاب کے ل the گیئر پہیے پر کلیک کریں یوایسبی Stick — mine appeared as “UZB” on COM4 and click “Detect”, then click “OK”
  • Click on “Net­work Management”
  • Click “add” and then press the pair­ing but­ton on the doorbell
  • آپ کو پہلے کی ضرورت ہوگی 5 digits of the DSK code which are prin­ted on the back of the door­bell — the device will then pair in S2 mode
  • The device should then appear as a “Sound Switch” in the under “slaves” in the box near the top left.
  • Select the device and then click “Node Info”
  • A list of sub­devices should appear — approx­im­ately 8 ان میں سے. Each of these rep­res­ents a dif­fer­ent alert
  • Select the appro­pri­ate sub-device
  • In the box below double click on “79 — SOUND_SWITCH”
  • In the sec­tion to the right, in the drop­down box, select “0×05 — SOUND_SWITCH_CONFIGURATION_SET”
  • اپنی پسند کے مطابق حجم ہیکس مرتب کریں (effect­ively in per­cent­age). میں نے ڈھونڈا 60 was about the same as my old door­bell — a clas­sic old elec­tric bell
  • Click on the Send but­ton at the bottom
  • آخری دہرائیں 5 steps for each of the dif­fer­ent alerts you wish to change — I did it for all of them

ہوم اسسٹنٹ کو بحال کریں

  • Close the PC Con­trol­ler Software
  • Unplug the Z‑Stick and recon­nect it to your Home Assist­ant system
  • Boot home assist­ant back up
  • The pair­ing with the door­bell, and your new volume set­tings, should be remembered by the Z‑Stick

اس کا کریڈٹ متعدد مختلف لوگوں کو جاتا ہے جن سے میں نے معلومات کو ایک ساتھ ساتھ کھینچنے میں کامیاب کیا

جواب چھوڑیں