How Mac Builds Homekit Smart Home Platform

Mac environment installation hb

1, install XCODE must search and download in the appstore, the file is relatively large.

2. Install nodejs (https://nodejs.org/en/download/)

3, install homebridge

Sudo npm -g install homebridge

4, install the homebridge-homeassistant plug-in

Sudo npm install -g homebridge-homeassistant

5 Run a homebridge once

Homebridge

Then the keyboard input Ctrl+C to stop the homebridge operation, the command prompt will appear again

6 Creating and Editing Homebridge Configuration Files

Cd /Users/your username/. Homebridge

Sudo nano config. Json

Right-click the ############

{

"bridge": {

"name": "Homebridge",

"username": "6D:19:E0:E7:83:62",

"port": 51826,

"pin": "123-45-678"

},

"platforms": [

{

"platform": "HomeAssistant",

"name": "HomeAssistant",

"host": "http://192.168.123.28:8123",

"password": "raspberry",

"supported_types": ["fan", "garage_door", "input_boolean", "light", "lock", "media_player", "rollershutter", "scene", "switch"]

}

]

}

After pasting, press Ctrl+X on the keyboard, enter Y, save and exit

"username": "CC:22:3D:E3:CE:30", ###This MAC address can be changed to your computer's MAC address ###MAC must be capitalized

"host": "http://192.168.1.200:8123", where 192.168.1.200 is the LAN IP address of your computer####

7 Run homebridge

Mac environment installation ha

1, first install python (Baidu python official website to download the current stable version 3.6)

2, open the terminal input

Sudo pip3 install homeassistant

3, pop-up prompt box click not now

4, hass --open-ui

5, set the display hidden file, find the configuration. Yaml file for data configuration.

Mesh Pro 4000

Mesh Pro 4000 Disposable


ZGAR electronic cigarette uses high-tech R&D, food grade disposable pod device and high-quality raw material. All package designs are Original IP. Our designer team is from Hong Kong. We have very high requirements for product quality, flavors taste and packaging design. The E-liquid is imported, materials are food grade, and assembly plant is medical-grade dust-free workshops.


Our products include disposable e-cigarettes, rechargeable e-cigarettes, rechargreable disposable vape pen, and various of flavors of cigarette cartridges. From 600puffs to 5000puffs, ZGAR bar Disposable offer high-tech R&D, E-cigarette improves battery capacity, We offer various of flavors and support customization. And printing designs can be customized. We have our own professional team and competitive quotations for any OEM or ODM works.


We supply OEM rechargeable disposable vape pen,OEM disposable electronic cigarette,ODM disposable vape pen,ODM disposable electronic cigarette,OEM/ODM vape pen e-cigarette,OEM/ODM atomizer device.



Mesh Vape 4000puffs, Disposable Vape, ZGAR bar disposable, Disposable E-cigarette, OEM/ODM disposable vape pen atomizer Device E-cig

Shenzhen WeiKa Technology Co.,Ltd. , https://www.oemvape-pen.com

Posted on