Comments (11)
OK, here are 2 files:
plugins-5.0.19.zip
plugins-5.1.5.zip
BTW, the file list of 5.0.19:
mpk/
mpk/com.xiaomi.pinwei/
mpk/com.xiaomi.pinwei/2/
mpk/com.xiaomi.pinwei/2/2.apk
mpk/com.mijiashop.main/
mpk/com.mijiashop.main/19/
mpk/com.mijiashop.main/19/19.apk
mpk/187/
mpk/187/3194.apk
mpk/108/
mpk/108/8672.apk
mpk/108/10989.apk
mpk/com.xiaomi.catalog/
mpk/com.xiaomi.catalog/7/
mpk/com.xiaomi.catalog/7/7.apk
Seems to be the same.
from xiaomi_airconditioningcompanion.
I do have a Gateway and one Mibox which may be recognized as MiTV.
from xiaomi_airconditioningcompanion.
The climate interface defines just a list of values. The demo component provides this example:
self._swing_list = ['Auto', '1', '2', '3', 'Off']
Do you know the possible values of the response payload?
https://github.com/rytilahti/python-miio/blob/master/miio/airconditioningcompanion.py#L114
from xiaomi_airconditioningcompanion.
Here's the screenshot of this device in MiHome app:
For swing mode, I suggest only 'on' and 'off' , meaning automatically swing or not. Although it may become complex when some models support different mode of swing like up-down, left-right.
For payload, do you mean full IR code? Well, I think the idea in original component is that:
- It offers some built-in control codes and there are some general characters of codes like fourth number meaning
swing mode
. - If your air conditioner is different from built-in supported one then you use IR Code learner(
Chuangmi_ir remote
) to learn your own codes and add it toconfig
.
Furthermore, the reason of this method is that Xiaomi actually offers huge built-in IR code database in MiHome app or Xiaomi Cloud I guess. When you add this partner in Mihome app, you can choose your conditioner's brand and type, then most of time, it is supported automatically. No code learning needed.
from xiaomi_airconditioningcompanion.
Do you have a rooted android device and are you able to provide the ac partner plugin of the MiHome app? I can provide some instructions (adb calls).
from xiaomi_airconditioningcompanion.
Yes, I would like to do it.
from xiaomi_airconditioningcompanion.
Please install the mihome app and login into your account. With each registered device (f.e. the ac partner) the app does install a plugin (apk) I'm interested in. The APKs of the plugins are located here normally:
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk
Could you provide a complete copy of the folder?
adb root
adb connect 192.168.132.24
adb pull /data/data/com.xiaomi.smarthome/files/plugin/install/mpk
zip -r plugins.zip mpk
This is the content in my case:
hammerhead:/data # find ./data/com.xiaomi.smarthome/files/plugin/install/mpk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/com.xiaomi.catalog
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/com.xiaomi.catalog/7
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/com.xiaomi.catalog/7/7.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/com.mijiashop.main
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/com.mijiashop.main/19
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/com.mijiashop.main/19/19.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/com.xiaomi.pinwei
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/com.xiaomi.pinwei/2
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/com.xiaomi.pinwei/2/2.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/108
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/108/10707.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/108/10585.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/229
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/229/7956.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/229/10301.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/107
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/107/8653.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/473
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/473/7490.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/503
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/503/10146.apk
/data/data/com.xiaomi.smarthome/files/plugin/install/mpk/503/10536.apk
from xiaomi_airconditioningcompanion.
Here's mine with the latest MiHome app:
mpk/
mpk/com.xiaomi.pinwei/
mpk/com.xiaomi.pinwei/2/
mpk/com.xiaomi.pinwei/2/2.apk
mpk/com.mijiashop.main/
mpk/com.mijiashop.main/19/
mpk/com.mijiashop.main/19/19.apk
mpk/187/
mpk/187/3194.apk
mpk/108/
mpk/108/8672.apk
mpk/108/10989.apk
mpk/com.xiaomi.catalog/
mpk/com.xiaomi.catalog/7/
mpk/com.xiaomi.catalog/7/7.apk
As far as I know, Mihome app changed a lot since 5.1.xx. Do I need to use older version app?
from xiaomi_airconditioningcompanion.
I need the content of the apk files. :-) Both versions would be awesome.
from xiaomi_airconditioningcompanion.
It looks like there a two device plugins (187 and 108) installed.
108: Xiaomi Gateway
187: Xiaomi MiTV
Does it match with your devices?
from xiaomi_airconditioningcompanion.
Fixed.
from xiaomi_airconditioningcompanion.
Related Issues (20)
- My home assistant can't find this add-on HOT 1
- Error in Hass OS 7.2 HOT 3
- acpartner.v3 radio/siren HOT 1
- Add KTBL12LM support
- ERROR Unable to update from sensor HOT 1
- Target temperature and fan speed set wrongly HOT 3
- dmaker.airfresh.t2017 not accessible via LAN HOT 1
- Hello, the light on the control air conditioning panel will be turned off HOT 4
- Problem adding Aqara Air Conditioning Companion (KTBL11LM) HOT 1
- Service stopped to work - HOT 5
- 添加到hacs后在集成页搜不到相应集成 HOT 1
- The cuco-acpartner-cp6_miap2063 New module
- Xiaomi Zigbee temperature & humidity sensor managed by lumi.acpartner.v2 AC companion was not added into HomeAssistant
- Platform error climate.xiaomi_miio_airconditioningcompanion - Exception importing custom_components.xiaomi_miio_airconditioningcompanion.climate HOT 22
- 小米巨省电系列空调能支持么 HOT 1
- Device support Question: May I ask why the `lumi.acpartner.mcn02` device is unsupported now?
- Integration error: cliamte - Integration 'cliamte' not found. HOT 1
- TEMP_CELSIUS was used from xiaomi_miio_airconditioningcompanion, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/syssi/xiaomi_airconditioningcompanion/issues HOT 5
- Lumi.acpartner.v2 started showing up as unavailable HOT 1
- acpartner.v3 - KTBL11LM only works in the evenings.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiaomi_airconditioningcompanion.