takatost / homebridge-mi-ac-partner

[DEPRECATED] A Xiaomi Mi ac partner plugin for Homebridge.
MIT License
28 stars 1 forks source link

"set_ac_model",brand 科龍 preset_no 1 的抓包數據 #5

Closed qoli closed 2 years ago

qoli commented 7 years ago

01050577000117970100060ED8010000000015001500150040010004015A00AD000000

 root@NanoPi-NEO:~# miio --token 35d95009bca43f3896dc010d188ce2cf --json-dump ./file.json

 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":1948,"method":"get_quick_cool_func","params":[]}
 <-  192.168.1.161 data= {"result":[0,10,"lumi.158d00016fffe2"],"id":1948}
 ->  10.8.0.1 data= {"id":1949,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131190100011797","1"],"id":1949}
 ->  10.8.0.1 data= {"id":1950,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131190100011797","1"],"id":1950}
 ->  10.8.0.1 data= {"id":1951,"method":"get_quick_cool_func","params":[]}
 <-  192.168.1.161 data= {"result":[0,10,"lumi.158d00016fffe2"],"id":1951}
 ->  10.8.0.1 data= {"id":1952,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131190100011797","1"],"id":1952}
 ->  10.8.0.1 data= {"id":1953,"method":"send_cmd","params":["01000117970131180100830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1953}
 ->  10.8.0.1 data= {"id":65001,"method":"get_lumi_bind","params":["scene",0]}
 <-  192.168.1.161 data= {"result":{"bind_num":0,"fac_scene_enable":0,"total_page":0,"cur_page":0,"page":[]},"id":65001}
 ->  10.8.0.1 data= {"id":1954,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131180100011797","1"],"id":1954}
 ->  10.8.0.1 data= {"id":1955,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131180100011797","1"],"id":1955}
 ->  10.8.0.1 data= {"id":65002,"method":"get_lumi_bind","params":["scene",0]}
 <-  192.168.1.161 data= {"result":{"bind_num":0,"fac_scene_enable":0,"total_page":0,"cur_page":0,"page":[]},"id":65002}
 ->  10.8.0.1 data= {"id":1956,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131180100011797","1"],"id":1956}
 ->  10.8.0.1 data= {"id":1957,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131180100011797","1"],"id":1957}
 ->  10.8.0.1 data= {"id":1958,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131180100011797","1"],"id":1958}
 ->  10.8.0.1 data= {"id":1959,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131180100011797","1"],"id":1959}
 ->  10.8.0.1 data= {"id":1960,"method":"send_cmd","params":["01000117971131180100830604620000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1960}
 ->  10.8.0.1 data= {"id":1961,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131180100011797","1"],"id":1961}
 ->  10.8.0.1 data= {"id":1962,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131180100011797","1"],"id":1962}
 ->  10.8.0.1 data= {"id":1963,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131180100011797","1"],"id":1963}
 ->  10.8.0.1 data= {"id":1843,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131180100011797","30"],"id":1843}
 ->  10.8.0.1 data= {"id":1844,"method":"get_quick_cool_func","params":[]}
 <-  192.168.1.161 data= {"result":[0,10,"lumi.158d00016fffe2"],"id":1844}
 ->  10.8.0.1 data= {"id":1845,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131180100011797","30"],"id":1845}
 ->  10.8.0.1 data= {"id":1846,"method":"get_device_prop","params":["lumi.0","en_nnlight"]}
 <-  192.168.1.161 data= {"result":[0],"id":1846}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":65001,"method":"get_lumi_bind","params":["scene",0]}
 <-  192.168.1.161 data= {"result":{"bind_num":0,"fac_scene_enable":0,"total_page":0,"cur_page":0,"page":[]},"id":65001}
 ->  10.8.0.1 data= {"id":65002,"method":"start_ir_match","params":["577",30]}
 <-  192.168.1.161 data= {"result":["ok"],"id":65002}
 ->  10.8.0.1 data= {"id":65003,"method":"get_ir_match_result","params":[]}
 <-  192.168.1.161 data= {"result":["0000","00000000"],"id":65003}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":65004,"method":"end_ir_match","params":[]}
 <-  192.168.1.161 data= {"result":["ok"],"id":65004}
 ->  10.8.0.1 data= {"id":1847,"method":"set_ac_model","params":["01050577000117970100060ED8010000000015001500150040010004015A00AD000000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1847}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":1848,"method":"send_cmd","params":["01000117971131180100830604620000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1848}
 ->  10.8.0.1 data= {"id":1849,"method":"send_cmd","params":["01000117971131171100830600520000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1849}
 ->  10.8.0.1 data= {"id":1850,"method":"send_cmd","params":["01000117971131181100830600620000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1850}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":1851,"method":"send_cmd","params":["01000117970131180100830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1851}
 ->  10.8.0.1 data= {"id":1852,"method":"send_cmd","params":["01000117971131180100830604620000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1852}
 ->  10.8.0.1 data= {"id":1853,"method":"save_cmd_map","params":["01000117970FFFFF0000830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1853}
 ->  10.8.0.1 data= {"id":1854,"method":"save_cmd_map","params":["01000117971FFFFF0000830604720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1854}
 ->  10.8.0.1 data= {"id":1855,"method":"get_cmd_map","params":[]}
 <-  192.168.1.161 data= {"result":["11311a10,11201410,11311410,11311810,11311710"],"id":1855}
 ->  10.8.0.1 data= {"id":1856,"method":"save_cmd_map","params":["010001179711311a1100830600820000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1856}
 ->  10.8.0.1 data= {"id":1857,"method":"save_cmd_map","params":["01000117971120141100830681220000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1857}
 ->  10.8.0.1 data= {"id":1858,"method":"save_cmd_map","params":["01000117971131141100830600220000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1858}
 ->  10.8.0.1 data= {"id":1859,"method":"save_cmd_map","params":["01000117971131181100830600620000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1859}
 ->  10.8.0.1 data= {"id":1860,"method":"send_cmd","params":["01000117971131191100830600720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1860}
 ->  10.8.0.1 data= {"id":1861,"method":"save_cmd_map","params":["01000117971131171100830600520000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1861}
 ->  10.8.0.1 data= {"id":1862,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","30"],"id":1862}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":1863,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":1863}
 ->  10.8.0.1 data= {"id":1864,"method":"send_cmd","params":["01000117971131191100830600720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1864}
 ->  10.8.0.1 data= {"id":1865,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":1865}
 ->  10.8.0.1 data= {"id":1866,"method":"send_cmd","params":["01000117971131181100830600620000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1866}
 ->  10.8.0.1 data= {"id":1867,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131180100011797","25"],"id":1867}
 ->  10.8.0.1 data= {"id":1868,"method":"send_cmd","params":["01000117971131171100830600520000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1868}
 ->  10.8.0.1 data= {"id":1869,"method":"send_cmd","params":["01000117971131171100830600520000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1869}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":1870,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131170100011797","25"],"id":1870}
 ->  10.8.0.1 data= {"id":1871,"method":"send_cmd","params":["01000117971131161100830600420000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1871}
 ->  10.8.0.1 data= {"id":1872,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131160100011797","25"],"id":1872}
 ->  10.8.0.1 data= {"id":1873,"method":"send_cmd","params":["01000117971131141100830600220000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1873}
 ->  10.8.0.1 data= {"id":1874,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131140100011797","25"],"id":1874}
 ->  10.8.0.1 data= {"id":1875,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131140100011797","25"],"id":1875}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":1876,"method":"send_cmd","params":["01000117971131131100830600120000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1876}
 ->  10.8.0.1 data= {"id":1877,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131130100011797","25"],"id":1877}
 ->  10.8.0.1 data= {"id":1878,"method":"send_cmd","params":["01000117971131161100830600420000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1878}
 ->  10.8.0.1 data= {"id":1879,"method":"send_cmd","params":["01000117971131191100830600720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1879}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":1880,"method":"send_cmd","params":["010001179711311e1100830600C20000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1880}
 ->  10.8.0.1 data= {"id":1881,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","0111311E0100011797","25"],"id":1881}
 ->  10.8.0.1 data= {"id":1882,"method":"send_cmd","params":["010001179711311e1100830600C20000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1882}
 ->  10.8.0.1 data= {"id":1883,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","0111311E0100011797","25"],"id":1883}
 ->  10.8.0.1 data= {"id":1884,"method":"send_cmd","params":["010001179711311d1100830600B20000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1884}
 ->  10.8.0.1 data= {"id":1885,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","0111311D0100011797","25"],"id":1885}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":1886,"method":"send_cmd","params":["010001179711311c1100830600A20000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1886}
 ->  10.8.0.1 data= {"id":1887,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","0111311C0100011797","25"],"id":1887}
 ->  10.8.0.1 data= {"id":1888,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","0111311C0100011797","20"],"id":1888}
 ->  10.8.0.1 data= {"id":1889,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","0111311C0100011797","25"],"id":1889}
 ->  10.8.0.1 data= {"id":1890,"method":"send_cmd","params":["010001179701311c0100830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":1890}
 ->  10.8.0.1 data= {"id":1891,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","0101311C0100011797","25"],"id":1891}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":1892,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","0101311C0100011797","20"],"id":1892}
qoli commented 7 years ago

presets.json

可以添加科龍的空調遙控代碼

    "kelon": {
        "1": "0100011797pm31tt0100830604020000"
    }
qoli commented 7 years ago

另一組用遙控器匹配的空調抓包

root@NanoPi-NEO:/usr/lib/node_modules/homebridge-mi-ac-partner# miio --token 35d95009bca43f3896dc010d188ce2cf --json-dump /root/file.json
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":2015,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011130180100012250","1031"],"id":2015}
 ->  10.8.0.1 data= {"id":2016,"method":"get_quick_cool_func","params":[]}
 <-  192.168.1.161 data= {"result":[0,10,"lumi.158d00016fffe2"],"id":2016}
 ->  10.8.0.1 data= {"id":2017,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011130180100012250","1031"],"id":2017}
 ->  10.8.0.1 data= {"id":2018,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011130180100012250","1031"],"id":2018}
 ->  10.8.0.1 data= {"id":65001,"method":"get_lumi_bind","params":["scene",0]}
 <-  192.168.1.161 data= {"result":{"bind_num":0,"fac_scene_enable":0,"total_page":0,"cur_page":0,"page":[]},"id":65001}
 ->  10.8.0.1 data= {"id":2019,"method":"send_cmd","params":["0100012250113118110083060062000080004000000000A200020000000002"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":2019}
 ->  10.8.0.1 data= {"id":2020,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131180100012250","1031"],"id":2020}
 ->  10.8.0.1 data= {"id":2021,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131180100012250","1031"],"id":2021}
 ->  10.8.0.1 data= {"id":2022,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131180100012250","1041"],"id":2022}
 ->  10.8.0.1 data= {"id":2023,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131180100012250","1041"],"id":2023}
 ->  10.8.0.1 data= {"id":2024,"method":"send_cmd","params":["01000122501131171100830600520000800040000000009200020000000002"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":2024}
 ->  10.8.0.1 data= {"id":2025,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131170100012250","1041"],"id":2025}
 ->  10.8.0.1 data= {"id":2026,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131170100012250","1041"],"id":2026}
 ->  10.8.0.1 data= {"id":2027,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131170100012250","1022"],"id":2027}
 ->  10.8.0.1 data= {"id":2028,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131170100012250","1022"],"id":2028}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":2029,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131170100012250","1022"],"id":2029}
 ->  10.8.0.1 data= {"id":2030,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","011131170100012250","1022"],"id":2030}
 ->  10.8.0.1 data= {"id":2031,"method":"send_cmd","params":["01000122500131170100830604820000800000000000000600010000000001"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":2031}
 ->  10.8.0.1 data= {"id":2032,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","010131170100012250","202"],"id":2032}
 ->  10.8.0.1 data= {"id":2033,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","010131170100012250","202"],"id":2033}
 ->  10.8.0.1 data= {"id":2034,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","010131170100012250","15"],"id":2034}
 ->  10.8.0.1 data= {"id":2035,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001225001","010131170100012250","15"],"id":2035}
qoli commented 7 years ago

preset_no 3

root@NanoPi-NEO:/usr/lib/node_modules/homebridge-mi-ac-partner# miio --token 35d95009bca43f3896dc010d188ce2cf --json-dump /root/file.json
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6104,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131170100011797","1"],"id":6104}
 ->  10.8.0.1 data= {"id":6105,"method":"get_quick_cool_func","params":[]}
 <-  192.168.1.161 data= {"result":[0,10,"lumi.158d00016fffe2"],"id":6105}
 ->  10.8.0.1 data= {"id":6106,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131170100011797","1"],"id":6106}
 ->  10.8.0.1 data= {"id":6107,"method":"get_device_prop","params":["lumi.0","en_nnlight"]}
 <-  192.168.1.161 data= {"result":[0],"id":6107}
 ->  10.8.0.1 data= {"id":65001,"method":"get_lumi_bind","params":["scene",0]}
 <-  192.168.1.161 data= {"result":{"bind_num":0,"fac_scene_enable":0,"total_page":0,"cur_page":0,"page":[]},"id":65001}
 ->  10.8.0.1 data= {"id":6108,"method":"set_ac_model","params":["01050577000117970100060ED8010000000015001500150040010004015A00AD000000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6108}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6109,"method":"send_cmd","params":["01000117971131170100830604520000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6109}
 ->  10.8.0.1 data= {"id":6110,"method":"send_cmd","params":["01000117971131161100830600420000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6110}
 ->  10.8.0.1 data= {"id":6111,"method":"send_cmd","params":["01000117971131171100830600520000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6111}
 ->  10.8.0.1 data= {"id":6112,"method":"send_cmd","params":["01000117971131161100830600420000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6112}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6113,"method":"send_cmd","params":["01000117970131160100830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6113}
 ->  10.8.0.1 data= {"id":6114,"method":"save_cmd_map","params":["01000117970FFFFF0000830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6114}
 ->  10.8.0.1 data= {"id":6115,"method":"save_cmd_map","params":["01000117971FFFFF0000830604720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6115}
 ->  10.8.0.1 data= {"id":6116,"method":"get_cmd_map","params":[]}
 <-  192.168.1.161 data= {"result":["11311a10,11201410,11311410,11311810,11311710"],"id":6116}
 ->  10.8.0.1 data= {"id":6117,"method":"save_cmd_map","params":["010001179711311a1100830600820000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6117}
 ->  10.8.0.1 data= {"id":6118,"method":"save_cmd_map","params":["01000117971120141100830681220000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6118}
 ->  10.8.0.1 data= {"id":6119,"method":"save_cmd_map","params":["01000117971131141100830600220000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6119}
 ->  10.8.0.1 data= {"id":6120,"method":"save_cmd_map","params":["01000117971131181100830600620000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6120}
 ->  10.8.0.1 data= {"id":6121,"method":"send_cmd","params":["01000117971131191100830600720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6121}
 ->  10.8.0.1 data= {"id":6122,"method":"save_cmd_map","params":["01000117971131171100830600520000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6122}
 ->  10.8.0.1 data= {"id":6123,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6123}
 ->  10.8.0.1 data= {"id":6124,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6124}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6125,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6125}
 ->  10.8.0.1 data= {"id":6126,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","20"],"id":6126}
 ->  10.8.0.1 data= {"id":6127,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6127}
 ->  10.8.0.1 data= {"id":6128,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6128}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6129,"method":"get_device_prop","params":["lumi.0","en_nnlight"]}
 <-  192.168.1.161 data= {"result":[0],"id":6129}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6130,"method":"set_ac_model","params":["01050577000117970100060ED8010000000015001500150040010004015A00AD000000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6130}
 ->  10.8.0.1 data= {"id":6131,"method":"send_cmd","params":["01000117971131190100830604720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6131}
 ->  10.8.0.1 data= {"id":6132,"method":"send_cmd","params":["01000117970131190100830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6132}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6133,"method":"save_cmd_map","params":["01000117971FFFFF0000830604720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6133}
 ->  10.8.0.1 data= {"id":6134,"method":"save_cmd_map","params":["01000117970FFFFF0000830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6134}
 ->  10.8.0.1 data= {"id":6135,"method":"get_cmd_map","params":[]}
 <-  192.168.1.161 data= {"result":["11311a10,11201410,11311410,11311810,11311710"],"id":6135}
 ->  10.8.0.1 data= {"id":6136,"method":"save_cmd_map","params":["010001179711311a1100830600820000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6136}
 ->  10.8.0.1 data= {"id":6137,"method":"save_cmd_map","params":["01000117971120141100830681220000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6137}
 ->  10.8.0.1 data= {"id":6138,"method":"save_cmd_map","params":["01000117971131141100830600220000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6138}
 ->  10.8.0.1 data= {"id":6139,"method":"save_cmd_map","params":["01000117971131181100830600620000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6139}
 ->  10.8.0.1 data= {"id":6140,"method":"send_cmd","params":["01000117971131191100830600720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6140}
 ->  10.8.0.1 data= {"id":6141,"method":"save_cmd_map","params":["01000117971131171100830600520000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6141}
 ->  10.8.0.1 data= {"id":6142,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6142}
 ->  10.8.0.1 data= {"id":6143,"method":"send_cmd","params":["01000117970131190100830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6143}
 ->  10.8.0.1 data= {"id":6144,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131190100011797","25"],"id":6144}
 ->  10.8.0.1 data= {"id":6145,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131190100011797","25"],"id":6145}
 ->  10.8.0.1 data= {"id":6146,"method":"send_cmd","params":["01000117971131190100830604720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6146}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6147,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6147}
 ->  10.8.0.1 data= {"id":6148,"method":"get_device_prop","params":["lumi.0","en_nnlight"]}
 <-  192.168.1.161 data= {"result":[0],"id":6148}
 ->  10.8.0.1 data= {"id":6149,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6149}
 ->  10.8.0.1 data= {"id":6150,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6150}
 ->  10.8.0.1 data= {"id":6151,"method":"get_device_prop","params":["lumi.0","en_nnlight"]}
 <-  192.168.1.161 data= {"result":[0],"id":6151}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6152,"method":"set_ac_model","params":["01050577000117970100060ED8010000000015001500150040010004015A00AD000000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6152}
 ->  10.8.0.1 data= {"id":6153,"method":"send_cmd","params":["01000117971131190100830604720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6153}
 ->  10.8.0.1 data= {"id":6155,"method":"save_cmd_map","params":["01000117971FFFFF0000830604720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6155}
 ->  10.8.0.1 data= {"id":6154,"method":"save_cmd_map","params":["01000117970FFFFF0000830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6154}
 ->  10.8.0.1 data= {"id":6156,"method":"get_cmd_map","params":[]}
 <-  192.168.1.161 data= {"result":["11311a10,11201410,11311410,11311810,11311710"],"id":6156}
 ->  10.8.0.1 data= {"id":6157,"method":"save_cmd_map","params":["010001179711311a1100830600820000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6157}
 ->  10.8.0.1 data= {"id":6158,"method":"save_cmd_map","params":["01000117971120141100830681220000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6158}
 ->  10.8.0.1 data= {"id":6159,"method":"save_cmd_map","params":["01000117971131141100830600220000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6159}
 ->  10.8.0.1 data= {"id":6160,"method":"save_cmd_map","params":["01000117971131181100830600620000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6160}
 ->  10.8.0.1 data= {"id":6161,"method":"send_cmd","params":["01000117971131191100830600720000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6161}
 ->  10.8.0.1 data= {"id":6162,"method":"save_cmd_map","params":["01000117971131171100830600520000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6162}
 ->  10.8.0.1 data= {"id":6163,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","011131190100011797","25"],"id":6163}
 ->  10.8.0.1 data= N/A
 <-  192.168.1.161 data= N/A
 ->  10.8.0.1 data= {"id":6164,"method":"send_cmd","params":["01000117970131190100830604020000"]}
 <-  192.168.1.161 data= {"result":["ok"],"id":6164}
 ->  10.8.0.1 data= {"id":6165,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131190100011797","25"],"id":6165}
 ->  10.8.0.1 data= {"id":6166,"method":"get_model_and_state","params":[]}
 <-  192.168.1.161 data= {"result":["010505770001179701","010131190100011797","20"],"id":6166}
foxhound1227 commented 6 years ago

格力的空调 空调伴侣第二套方案 -> 192.168.10.140 data= N/A <- 192.168.10.106 data= N/A -> 192.168.10.140 data= {"id":4074,"method":"get_lumi_bind","params":["scene"]} <- 192.168.10.106 data= {"result":{"bind_num":0,"fac_scene_enable":0,"total_page":0,"cur_page":0,"page":[]},"id":4074} -> 192.168.10.140 data= {"id":4075,"method":"get_device_prop","params":["lumi.0","ac_mode"]} <- 192.168.10.106 data= {"result":[1],"id":4075} -> 192.168.10.140 data= {"id":4076,"method":"get_model_and_state","params":[]} <- 192.168.10.106 data= {"result":["010500970001072701","0101111A0100010727","0"],"id":4076} -> 192.168.10.140 data= {"id":4077,"method":"get_model_and_state","params":[]} <- 192.168.10.106 data= {"result":["010500970001072701","0101111A0100010727","0"],"id":4077} -> 192.168.10.140 data= {"id":4078,"method":"get_device_prop","params":["lumi.0","plug_state"]} <- 192.168.10.106 data= {"result":["on"],"id":4078} -> 192.168.10.140 data= {"id":4079,"method":"set_ac_model","params":["01050097000107270100120ED8010000000017001600170040010004015A00AD0404030D0316050400170301090800170602015A00AD050D0017030100"]} <- 192.168.10.106 data= {"result":["ok"],"id":4079} -> 192.168.10.140 data= {"id":4080,"method":"send_cmd","params":["010001072711111a0100390A20500210200000390A20700200003000"]} <- 192.168.10.106 data= {"result":["ok"],"id":4080} -> 192.168.10.140 data= N/A <- 192.168.10.106 data= N/A -> 192.168.10.140 data= {"id":4081,"method":"send_cmd","params":["010001072711111e1100390E20500210200040390E20700200003040"]} <- 192.168.10.106 data= {"result":["ok"],"id":4081} -> 192.168.10.140 data= N/A <- 192.168.10.106 data= N/A -> 192.168.10.140 data= {"id":4082,"method":"send_cmd","params":["010001072711011e1100190E20500210200040190E20700200001020"]} <- 192.168.10.106 data= {"result":["ok"],"id":4082} -> 192.168.10.140 data= {"id":4083,"method":"send_cmd","params":["010001072711311e1100090E20500210200040090E20700200000010"]} <- 192.168.10.106 data= {"result":["ok"],"id":4083} -> 192.168.10.140 data= {"id":4084,"method":"send_cmd","params":["010001072711111e1100390E20500210200040390E20700200003040"]} <- 192.168.10.106 data= {"result":["ok"],"id":4084} -> 192.168.10.140 data= N/A <- 192.168.10.106 data= N/A -> 192.168.10.140 data= {"id":4085,"method":"send_cmd","params":["010001072711211e1100390E20500210200040390E20700200005060"]} <- 192.168.10.106 data= {"result":["ok"],"id":4085} -> 192.168.10.140 data= {"id":4086,"method":"send_cmd","params":["010001072711011e1100190E20500210200040190E20700200001020"]} <- 192.168.10.106 data= {"result":["ok"],"id":4086} -> 192.168.10.140 data= {"id":4087,"method":"send_cmd","params":["010001072711001e1100590E20500211200040590E20700200001020"]} <- 192.168.10.106 data= {"result":["ok"],"id":4087} -> 192.168.10.140 data= N/A <- 192.168.10.106 data= N/A -> 192.168.10.140 data= {"id":4088,"method":"send_cmd","params":["010001072711011e1100190E20500210200040190E20700200001020"]} <- 192.168.10.106 data= {"result":["ok"],"id":4088} -> 192.168.10.140 data= {"id":4089,"method":"send_cmd","params":["010001072711011ea000190E20500210200040190E20700200001020"]} <- 192.168.10.106 data= {"result":["ok"],"id":4089} -> 192.168.10.140 data= {"id":4090,"method":"send_cmd","params":["010001072711011e0000190E20500210200040190E20700200001020"]} <- 192.168.10.106 data= {"result":["ok"],"id":4090} -> 192.168.10.140 data= N/A <- 192.168.10.106 data= N/A -> 192.168.10.140 data= {"id":4091,"method":"send_cmd","params":["010001072701011e01004000205002112000D04000207002000000A0"]} <- 192.168.10.106 data= {"result":["ok"],"id":4091}