All Projects → qoli → Mihomeplus

qoli / Mihomeplus

Licence: mit
HomeKit 的 Android 操作代理

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Mihomeplus

Homebridge Wol
A Wake on Lan plugin for Homebridge
Stars: ✭ 150 (+80.72%)
Mutual labels:  homebridge, npm
Homebridge Pihole
Pihole switch for Homebridge
Stars: ✭ 80 (-3.61%)
Mutual labels:  homebridge
Incompose
A inferno utility belt for function components and higher-order components
Stars: ✭ 76 (-8.43%)
Mutual labels:  npm
Webcam Easy
javascript access webcam stream and take photo
Stars: ✭ 79 (-4.82%)
Mutual labels:  npm
Metronome Android
A lightweight, well designed metronome app for Android.
Stars: ✭ 77 (-7.23%)
Mutual labels:  android-app
Marinator
Delicious Dependency Injection
Stars: ✭ 79 (-4.82%)
Mutual labels:  android-app
Have It
The fastest NPM install does nothing because you already have it
Stars: ✭ 75 (-9.64%)
Mutual labels:  npm
Use Error Boundary
React hook for using error boundaries in your functional components
Stars: ✭ 83 (+0%)
Mutual labels:  npm
Enseada
A Cloud native multi-package registry
Stars: ✭ 80 (-3.61%)
Mutual labels:  npm
Yilan
使用Rxjava+Retrofit写的新闻类App,良好的使用了Mvp架构。配合MD设计原理。大学课程设计 大学大作业 大学毕业设计作品
Stars: ✭ 78 (-6.02%)
Mutual labels:  android-app
Homebridge Weather
OpenWeatherMap Plugin for Homebridge
Stars: ✭ 78 (-6.02%)
Mutual labels:  homebridge
React Image Timeline
📆 An image-centric timeline component for React.js
Stars: ✭ 77 (-7.23%)
Mutual labels:  npm
Xprivacylua
Really simple to use privacy manager for Android 6.0 Marshmallow and later
Stars: ✭ 1,222 (+1372.29%)
Mutual labels:  android-app
Emma Cli
📦 Terminal assistant to find and install node packages.
Stars: ✭ 1,201 (+1346.99%)
Mutual labels:  npm
Npm Rails
NPM support for Rails with Bundler-like DSL
Stars: ✭ 81 (-2.41%)
Mutual labels:  npm
Bump
🌱 Sublime Text 3 Plugin to keep package.json dependencies fresh.
Stars: ✭ 76 (-8.43%)
Mutual labels:  npm
Xa
Beautiful & Customizable logger ❤️
Stars: ✭ 78 (-6.02%)
Mutual labels:  npm
Homebridge Unifi Protect Camera Motion
Camera & Motion sensor support for Unifi Protect cameras in Homekit via Homebridge
Stars: ✭ 79 (-4.82%)
Mutual labels:  homebridge
Notes
Some public notes
Stars: ✭ 1,248 (+1403.61%)
Mutual labels:  npm
Node Developer Boilerplate
🍭 Boilerplate for ES6+ Node.js and npm Developer
Stars: ✭ 82 (-1.2%)
Mutual labels:  npm

MiHomePlus

MiHomePlus 是一個 Android App。

以透過 Android Accessibility 的特性,監視和控制「米家」App,並且和 MiPlusServer 通信。

從而達到代理米家 App 到 HomeKit 的解決方案。

FullSizeRender 2

APK 下載

https://github.com/qoli/MiHomePlus/releases

幫助文檔

https://github.com/qoli/MiHomePlus/blob/master/INTRODUCTION.md

演示視頻

http://staticshare.5mlstudio.com/img-5168-mov(2017-06-20T08:13:45+08:00).mov

支持設備

大部分的「米家」設備。

包含空調伴侶、第一代智能開關等。

操作原理

調用「無障礙」特性,監視和控制米家 App,當「TYPE_WINDOW_CONTENT_CHANGED」觸發時候,與 MiPlusServer 同步設備狀態。

與 MiPlusServer 透過 Socket.io 觸發 MIHomePlus 進行狀態切換。

在 Homebridge 基於 Switcheroo 插件提供操作接口。

所以 MiPlusServer 本質是 Web 接口

關聯項目

MiPlusServer

https://github.com/qoli/MiPlusServer

如何使用

https://github.com/qoli/MiHomePlus/blob/master/INTRODUCTION.md

請查看「INTRODUCTION.md」文檔。

使用條件

  • 關閉手機的鎖屏程式,調整為開屏幕直接進入界面。

使用到的其他項目

homebridge-switcheroo

https://github.com/chriszelazo/homebridge-switcheroo

示例 config.json

host 必須經過 urlencode 才可正常工作。

{
  "accessory": "Switcheroo",
  "type": "switch",
  "name": "空調伴侶",
  "host": "http://192.168.1.104:3002/device/%E7%A9%BA%E8%AA%BF%E4%BC%B4%E4%BE%B6",
  "on": "/ON",
  "off": "/OFF",
  "on_body": "ON",
  "off_body": "OFF"
}

已知 BUG

紅米 1 會因為 D/OpenGLRenderer: Flushing caches 退出。

重啟設備后解決了。

如果持續發生,請在進程管理器加鎖,以及關閉省電模式。

筆記

terminal 指令

pidcat com.example.qoli.myapplication -l I
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].