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.
The phone cable is the cable that connects the phone to the computer.USB Cable general data line rarely dedicated, the general phenomenon is that a data line can be used for a variety of mobile phone models,some models of data line is exaggerated,a line can use 30-40 different types of mobile phones.General data lines are rarely dedicated, the general phenomenon is that a data line can be used for a variety of mobile phone models, some models of data lines are exaggerated, a cable can use 30-40 different types of mobile phones.
Mobile phone data cable and charging speed has a relationship.The cable connects the phone to the charging head and is mainly responsible for current transmission,so inevitably,it will also affect the charging speed.In addition, the length of the data line also has a certain impact on the charging speed.The shorter Usb Cable Type C is,the faster the charging speed will be. Generally, the standard data line of mobile phones is 1 meter, but in the selection of different use scenarios can also match different lengths of data lines.The charging speed and charging head are also affected by the charging head of the mobile phone.When charging a phone, the charging head determines the amount of voltage and current. Regular charging heads are marked with voltage and current output.
Different quality data line thickness, length are different, generally should try to choose the wire diameter thick, wire surface is not reflective and the wire is long enough data line, the thicker the wire.It is proved that its tensile strength is high and it has a good protective effect on copper core.The more the wire surface is not reflective, the more the composition of the rubber in the wire, the better elasticity of this data line, anti-aging, not easy to break, the wire is long enough, it will be quite free in use.
Usb Cable,Flat Usb Cable,Retractable Usb Cable,Double Sided Usb Cable
Henan Yijiao Trading Co., Ltd , https://www.yjusbhubs.com