All Projects → YinHangCode → Homebridge Mi Gateway Fm

YinHangCode / Homebridge Mi Gateway Fm

XiaoMi Gateway FM plugin for HomeBridge.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Homebridge Mi Gateway Fm

Homebridge Mi Aqara
a homebridge plugin for XiaoMi Aqara plugin.
Stars: ✭ 990 (+2202.33%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi, gateway
Homebridge Mi Philips Light
XiaoMi Philips light plugins for HomeBridge.
Stars: ✭ 85 (+97.67%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
Homebridge Mi Hygrothermograph
Homebridge plugin for the Xiaomi Mi Bluetooth Temperature and Humidity Sensor
Stars: ✭ 179 (+316.28%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
Homebridge Dafang
Homebridge Plugin for Xiaomi Dafang / Wyze Cam IP Camera => Hey Siri, Start Video Recording
Stars: ✭ 176 (+309.3%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
homebridge-yeelight-platform
Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
Stars: ✭ 53 (+23.26%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
homebridge-mi-fan
XiaoMi fan plugins for HomeBridge.
Stars: ✭ 59 (+37.21%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
Homebridge Mi Airpurifier
XiaoMi air purifier plugins for HomeBridge.
Stars: ✭ 100 (+132.56%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
Homebridge Mi Acpartner
XiaoMi AC Partner plugins for HomeBridge(https://github.com/nfarina/homebridge).
Stars: ✭ 250 (+481.4%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
homebridge-mijia-camera
Homebridge plugin for the Xiaomi Mijia 1080P Smart IP Camera, also known as Mi Home Security Camera.
Stars: ✭ 35 (-18.6%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
homebridge-mi-pm2 5
XiaoMi PM2.5 sensor plugin for HomeBridge.
Stars: ✭ 15 (-65.12%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
homebridge-mi-robot vacuum
XiaoMi robot vacuum plugins for HomeBridge.
Stars: ✭ 53 (+23.26%)
Mutual labels:  homebridge, homebridge-plugin, xiaomi
HomeKit-Bridge
Enabled HomeKit integration via Homebridge for Indigo Home Automation
Stars: ✭ 43 (+0%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-verisure
 Platform plugin for Homebridge allowing to manage and control Verisure devices.
Stars: ✭ 42 (-2.33%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-dyson-fan
A Homebridge plugin for controlling a Dyson fan.
Stars: ✭ 17 (-60.47%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-ranger
A HomeKit range extender for Bluetooth Low Energy (BLE) accessories.
Stars: ✭ 65 (+51.16%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-vorwerk
A Vorwerk Kobold VR200 and VR300 vacuum robot plugin for homebridge.
Stars: ✭ 14 (-67.44%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-konnected
A Homebridge plugin for Konnected Alarm Panel devices
Stars: ✭ 25 (-41.86%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-automation-switches
A flexible automation switch for Homebridge: https://github.com/nfarina/homebridge
Stars: ✭ 96 (+123.26%)
Mutual labels:  homebridge, homebridge-plugin
Homeassistantconfiguration
Home Assistant Config. For more info see link:
Stars: ✭ 260 (+504.65%)
Mutual labels:  homebridge, xiaomi
homebridge-google-nest-sdm
A Homebridge plugin for Google Nest devices that uses the Google Smart Device Management API. Supports Cameras, Doorbells, Displays, and Thermostats.
Stars: ✭ 16 (-62.79%)
Mutual labels:  homebridge, homebridge-plugin

homebridge-mi-gateway-fm

npm version

XiaoMi Gateway FM plugin for HomeBridge.

Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), all other developer and testers.

Note: If you find bugs, please submit them to issues or QQ Group: 107927710.

Installation

  1. Install HomeBridge, please follow it's README.
    If you are using Raspberry Pi, please read Running-HomeBridge-on-a-Raspberry-Pi.
  2. Make sure you can see HomeBridge in your iOS devices, if not, please go back to step 1.
  3. Install packages.
npm install -g homebridge-mi-gateway-fm

Configuration

"accessories": [{
    "accessory": "MiGatewayFM",
    "name": "MiGatewayFM",
    "ip": "192.168.88.xx",
    "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}]

If you want play your own channel, you can set the following in the config.

"accessories": [{
    "accessory": "MiGatewayFM",
    "name": "MiGatewayFM",
    "ip": "192.168.88.xx",
    "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "url": "http://live.xmcdn.com/live/1005/64.m3u8"
}]

Get token

Get token by miio2.db

setup MiJia(MiHome) app in your android device or android virtual machine.
open MiJia(MiHome) app and login your account.
refresh device list and make sure device display in the device list.
get miio2.db(path: /data/data/com.xiaomi.smarthome/databases/miio2.db) file from your android device or android virtual machine.
open website [Get MiIo Tokens By DataBase File], upload miio2.db file and submit.

Get token by network

Open command prompt or terminal. Run following command:

miio --discover

Wait until you get output similar to this:

Device ID: xxxxxxxx   
Model info: Unknown   
Address: 192.168.88.xx   
Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx via auto-token   
Support: Unknown   

"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" is token.
If token is "???", then reset device and connect device created Wi-Fi hotspot.
Run following command:

miio --discover --sync

Wait until you get output.
For more information about token, please refer to OpenMiHome and miio.

Version Logs

0.2.6 (2018-02-10)

1.update 'README.md'.

0.2.5 (2018-02-10)

1.optimized code.

0.2.4 (2018-02-10)

1.update 'package.json'.

0.2.3 (2017-09-11)

1.optimized code.

0.2.2 (2017-09-05)

1.optimized code.

0.2.1 (2017-08-27)

1.optimized code.

0.2.0 (2017-08-26)

1.fixed bug that homebridge not works when device is not responding.
2.add support for aqara ac partner FM.

0.1.1 (2017-08-26)

1.optimized code.

0.1.0 (2017-08-24)

1.add support for mi ac partner FM.

0.0.3 (2017-08-22)

1.optimized code.

0.0.2 (2017-08-22)

1.optimized code.

0.0.1 (2017-08-20)

1.Switch on/off XiaoMi Gateway FM.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].