I am slowly migrating my smarthome setup to HomeAssistant which, as with most open-source projects, is pretty unfriendly to start with and takes some learning to use. I have an Aeotec ZStick and an Aeotec Doorbell 6 which work via Z‑Wave and I wanted to customise the tones and reduce the volume a little. आपको लगता है कि यह सही होगा?
The first hurdle to overcome was to realise that Home Assistant has 2 ways to use Z‑Wave. एक में बनाया गया है, and one is built on the “OpenZWave” system / software / docker image (or whatever it actually is!). The built-in system doesn’t support the latest Z‑Wave standards and so couldn’t configure my doorbell, but apparently the alternative OpenZWave 1.6 system will be able to eventually, although it doesn’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 support to the OpenZWave addon. Note that I am using the full “Home Assistant” (जिसे Hass.io कहा जाता था). It is basically an all-in-one install with HassOS, and then both Home Assistant and “Supervisor” running on top of that. Many people run this setup on a Raspberry Pi although I am running on a 4W mini PC with a Pentium 4200 जो बहुत कम संचालित इंटेल NUC की तरह है.
इससे पहले कि आप शुरू करें
Unpair your doorbell from your यूएसबी छड़ी अगर यह पहले से ही बनती है क्योंकि हमें इसे सुरक्षित मोड में बाँधना है
अपना ढूँढो यूएसबी स्टिक विवरण
- Supervisor
- System
- “Host System” box
- “Hardware” button
- It should be something like
/देव / धारावाहिक / द्वारा आईडी / usb-0658_0200-if00
अंतर्निहित zwave को अक्षम करें
- कांग्रेस अंजीर उर एक मोर्चे
- Integrations
- ZWave बॉक्स
- Click configure
- Click “Stop Network”
मॉस्किटो ब्रोकर स्थापित करें
- Supervisor
- Addons Store
- मच्छर दलाल के लिए खोजें
MQTT स्थापित करें
- कांग्रेस अंजीर उर एक मोर्चे
- Integrations
- MQTT के लिए खोजें
- You should see the mosquitto broker listed. कॉन्फ़िगर पर क्लिक करें
OpenZWave स्थापित करें
- Supervisor
- Addon Store
- खोजें zwave
सुरक्षा के लिए एक यादृच्छिक कुंजी उत्पन्न करें
- के लिए जाओ Random.org and generate a random hex code for a security key that you will need in the next step
OpenZWave को अपने साथ कॉन्फ़िगर करें यूएसबी विवरण
- Supervisor
- डैश बोर्ड
- OpenZWave
- कांग्रेस अंजीर उर एक मोर्चे
- Edit the “device” entry to match the यूएसबी ऊपर से रास्ता, and add the numbers generated in place of the ?? for the security key
- E.g.
- युक्ति: /dev/serial/by-id/usb-0658_0200-if00
- नेटवर्क कुंजी: ‘0x??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??, 0X??’
- Save पर क्लिक करें
- Click on “Info” tab
- प्रारंभ पर क्लिक करें
OpenZWave एकीकरण कॉन्फ़िगर करें
- कांग्रेस अंजीर उर एक मोर्चे
- Integrations
- “OpenZWave (बीटा)” box
- Click “Configure”
- Click “Confirm Setup”
Reboot!
I found at this point that I had to reboot for the system to start talking to my यूएसबी Z‑Stick properly, so I recommend rebooting at this point.
सेमी-फ्रेंडली कॉन्फ़िगरेशन इंटरफ़ेस सेट करना
- Download and install the OpenZWave जीयूआई खिड़कियों के लिए (scroll to the bottom of the page and look for the link to the windows .msi)
- To use the GUi first go to Supervisor -> OpenZwave -> Configuration and set the host field to 1983 (it is disabled by default unless you enter a value)
- Then in OpenZWave जीयूआई बस दर्ज करें आईपी or name of your home assistant. The port should already be correct and no authentication key is required
- ध्यान दें कि आपके यूएसबी device may show as not being Z‑Wave plus, but if any connected devices are showing as Z‑Wave Plus you can safely ignore this, यह भ्रामक है.
वॉल्यूम कॉन्फ़िगर करना
Why on earth the default volume is set so loud it distorts is beyond me. Presumably it is so that Aeotec can put some silly decibel number on the box. कैसे कभी, I don’t actually want my doorbell to damage my ears, or wake my children at night either for that matter, इसलिए पहली चीज़ जो मुझे वास्तव में करने की ज़रूरत थी, वह थी इसे ठुकरा देना. आपको लगता है कि सभी हुप्स के बाद हम पहले से ही कूदना होगा कि हो सकता है (आखिरकार) आसान, but guess again…
शटडाउन होम असिस्टेंट
- Shutdown Home Assistant
- हटाए यूएसबी Z‑Wave stick
- Connect it to a windows PC
सिलिकॉन लैब्स पीसी सॉफ्टवेयर प्राप्त करें
- Go to the Silicon Labs website डाउनलोड पृष्ठ
- Select to download the PC Controller Software
- Click on the “Create an Account” link and register
- Once you have verified your account and logged in, वापस जाओ डाउनलोड पृष्ठ
- Download the Z‑Wave एसडीके प्रथम
- Then download the PC Controller software
- ZWaveControllerSetup.msi चलाएँ
- निकाले 2 ZW050x_USB_VCP_PC_Driver फ़ोल्डर में फ़ाइलें, then right-click on the extracted INF file and select “install” to install the drivers
- Plug your Z‑Wave dongle into your windows PC
- Run the Z‑Wave PC Controller software
- अपने चयन के लिए गियर व्हील पर क्लिक करें यूएसबी Stick — mine appeared as “UZB” on COM4 and click “Detect”, then click “OK”
- Click on “Network Management”
- Click “add” and then press the pairing button on the doorbell
- आपको पहले की आवश्यकता होगी 5 digits of the DSK code which are printed on the back of the doorbell — 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 subdevices should appear — approximately 8 उनमें से. Each of these represents a different alert
- Select the appropriate sub-device
- In the box below double click on “79 — SOUND_SWITCH”
- In the section to the right, in the dropdown box, select “0×05 — SOUND_SWITCH_CONFIGURATION_SET”
- अपनी पसंद के अनुसार वॉल्यूम हेक्स सेट करें (effectively in percentage). मुझे मिला 60 was about the same as my old doorbell — a classic old electric bell
- Click on the Send button at the bottom
- आखिरी दोहराएं 5 steps for each of the different alerts you wish to change — I did it for all of them
होम असिस्टेंट को पुनर्स्थापित करें
- Close the PC Controller Software
- Unplug the Z‑Stick and reconnect it to your Home Assistant system
- Boot home assistant back up
- The pairing with the doorbell, and your new volume settings, should be remembered by the Z‑Stick
“Hi James I realise it has been a long while, but I just checked this on windows 11 (build 23H2)…”