Comments (4)
Do you have any more information about what calls this device supports? This is needed to support the device properly.
The document Protocols and commands contains a good starting point about how you can help with figuring this out. It's pretty technical so it might not be the easiest thing to do.
from miio.
Hi, please see the attached communication with the speaker (I clicked all the buttons in mi home app)
-> 192.168.2.44 data= {"id":2893,"method":"get_prop","params":["umi"]}
<- 192.168.2.103 data= {"result":["{ \"DeviceName\": \"Mi Internet Speaker\", \"channel_title\": \"音箱下载\", \"current_state\": \"PLAYING\", \"hardware_version\": \"S602\", \"play_mode\": \"REPEAT_ALL\", \"track_artist\": \"Kygo&M83\", \"track_duration\": \"00:04:58\", \"track_title\": \"Wait(Remix)\", \"transport_channel\": \"PLAYLIST\" }"],"id":2893}
-> 192.168.2.44 data= {"id":2894,"method":"get_prop","params":["rel_time"]}
<- 192.168.2.103 data= {"result":["00:04:00"],"id":2894}
-> 192.168.2.44 data= {"id":2895,"method":"power","params":[]}
<- 192.168.2.103 data= {"result":"ok","id":2895}
-> 192.168.2.44 data= {"id":2896,"method":"get_prop","params":["rel_time"]}
<- 192.168.2.103 data= {"result":["00:04:02"],"id":2896}
-> 192.168.2.44 data= {"id":2897,"method":"get_prop","params":["rel_time"]}
<- 192.168.2.103 data= {"result":["00:04:03"],"id":2897}
-> 192.168.2.44 data= {"id":2898,"method":"vol_up","params":[5]}
<- 192.168.2.103 data= {"result":"ok","id":2898}
-> 192.168.2.44 data= {"id":2899,"method":"vol_down","params":[5]}
<- 192.168.2.103 data= {"result":"ok","id":2899}
-> 192.168.2.44 data= {"id":2900,"method":"previous_track","params":[]}
<- 192.168.2.103 data= {"result":"ok","id":2900}
-> 192.168.2.44 data= {"id":2901,"method":"next_track","params":[]}
<- 192.168.2.103 data= {"result":"ok","id":2901}
-> 192.168.2.44 data= {"id":2902,"method":"get_prop","params":["rel_time"]}
<- 192.168.2.103 data= {"result":["00:00:00"],"id":2902}
-> 192.168.2.44 data= {"id":2903,"method":"get_prop","params":["umi"]}
<- 192.168.2.103 data= {"result":["{ \"DeviceName\": \"Mi Internet Speaker\", \"channel_title\": \"音箱下载\", \"current_state\": \"PLAYING\", \"hardware_version\": \"S602\", \"play_mode\": \"REPEAT_ALL\", \"track_artist\": \"Kygo&M83\", \"track_duration\": \"00:04:58\", \"track_title\": \"Wait(Remix)\", \"transport_channel\": \"PLAYLIST\" }"],"id":2903}
-> 192.168.2.44 data= {"id":2904,"method":"get_prop","params":["rel_time"]}
<- 192.168.2.103 data= {"result":["00:00:08"],"id":2904}
-> 192.168.2.44 data= {"id":2905,"method":"next_channel","params":[]}
<- 192.168.2.103 data= {"result":"ok","id":2905}
-> 192.168.2.44 data= {"id":2906,"method":"get_prop","params":["rel_time"]}
<- 192.168.2.103 data= {"result":["00:00:00"],"id":2906}
from miio.
@octa22 could you please also try to change the play modes (currently showing REPEAT_ALL
) and try to change the source (currently PLAYLIST
)? Also, power
just toggles the power on and off?
Btw, do you happen to know if this speaker usable outside China?
from miio.
I've captured all the commands sent by the Mi Home app. You can't control play modes neither switch it off in Mi Home afaik. (only in the dedicated mobile application)
I'm using this speaker in Europe, it works quite well. The iOS version of the control application sucks (only in chineese), but Android one is quite good (in English too)
from miio.
Related Issues (20)
- Xiaomi Air Monitor cgllc.airm.cgdn1
- yeelight strip plus is supported?
- Can’t find Hub / Temperature-Sensors
- yeelink.light.color5 HOT 1
- Mi Smart LED Bulb (B22) - Support
- yeelink.light.mono6 HOT 1
- [add device request] yeelink.light.ceilb
- [add device request] yeelink.light.colorb
- -Bash: miio: command not found HOT 1
- doesn't work on Firmware version: 3.2.10
- Cannot connect to light after configuring wireless network HOT 1
- yeelink.light.bslamp2 HOT 2
- Create device with lib version >= 0.15.0
- Which devices can get tokens by "miio discover" or "mirobo discover --handshake 1"?
- Does this packge still getting maintained?
- Roborock S6 - 3.5.8._2902 - unsupported device
- colorTemperature2rgbUsingTH is not defined
- Device support [Vacum mop 2 ultra]
- Error connecting to device: Error: Call to device timed out
- Ib
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 miio.