spocky / mireco

Xiaomi GiTV Remote Control
GNU General Public License v3.0
65 stars 10 forks source link

add set volume api #5

Open simonlsx opened 3 years ago

simonlsx commented 3 years ago

gitv set volume API: http://[ip]:6095/general?action=setVolum&volum=[volume]&ts=[current timestamp]&sign=[md5]

md5(sign) calculation method:

For example :

Therefore the url will be http://192.168.1.100:6095/general?action=setVolum&volum=20&ts=11111&sign=ee242baf69d53fb6a51b43611b593da3