<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [TOC=2] >[info] 彩云8000 ## 數據返回 ~~~[api] get:/53/0 *string:sn=748000000001#測試 sn *string:method=get#請求方法 *int:offset=1#頁碼 *int:count=10#每頁條數 <<< success { "code": 0, "data": { "fault_sum": 3, "devices": [ { "is_heat": true, "is_load_mode": false, "k_close": false, "run_state": 0, "viewType": 3, "mode": 4, "uncertainOffline": 0, "address": 1, "load_stop_heat": false, "name": "溫控器01", "current_temp": "19.3", "target_temp": 27, "power": 50000, "is_lock": false, "probe_temp": "0.0", "request_heat": false }, { "power": 50000, "run_state": 6, "viewType": 1, "address": 4, "name": "溫控器04", "uncertainOffline": 3 } ], "sum": 4, "sn": "748000000001", "code": 0 } } <<< success { "code": 0, "data": { "fault_sum": 4, // 故障數 "devices": [ { "power": 50000, "run_state": 6, "viewType": 1, "address": 1, "name": "溫控器01", "uncertainOffline": 3 } ], "sum": 4, // 總數 "sn": "748000000001", // sn "code": 0 } } <<< offline { "code": 0, "data": { "offline": true, //是否離線 "code": 0 } } <<< error { "code": -1, "msg": "參數錯誤" } ~~~ ## 獲取歷史記錄 ~~~[api] get:/53/0 *string:sn=748000000001#測試 sn *string:method=get_temp_history#請求方法 *int:year=2018#年份 *int:month=1#月份 *int:day=10#天數 *int:address=1#設備地址 <<< success { "code":0, "data": { "target_temp":[38, 38, 38], "temp":[30.20, 30.20, 30.20], "sn":"748000000001", "time":[0, 1, 2], "address":1, "code":0 } } <<< info address // 設備地址 temp // 設置溫度 target_temp // 執行溫度 time // 記錄時間 <<< error { "code": -1, "msg": "參數錯誤" } ~~~ >[danger] 參數里面的月份,應該用實際的月數減一 ## 設備鎖定 ~~~[api] get:/53/0 *string:sn=748000000001#設備序列號 *string:method=set_lock_info#方法 *boolean:power_off_and_lock=false#是否鎖定關機 true 鎖定關機 false 解鎖 *timestamp:due_date=125011222554#鎖定時間的時間戳 大于當前時間 *string:dev_pwd=123456#鎖定密碼 <<< success { "code": 0 } <<< error { "code": -1, "msg": "參數錯誤" } ~~~ >[info] 上鎖設置為 true 鎖定時間設置 > 解鎖選擇否,選擇任意時間 ## 設備配置 ~~~[api] post:/53/0 *string:sn=7480000000001#設備序列號 *string:method=set#配置方法 *array:address=[1,2]#設備地址 *json:data={}#對應配置參數 <<< succsee <<< error ~~~ ## 獲取電量 ### 可選參數 key 說明 | 參數 | 可選值 | | --- | --- | | E | 電量 | | P | 功率 | | T | 加熱時間 | 設備地址 0 表示所有的設備 年、月篩選查詢 查詢年 month 傳參 -1 或者不傳 day 傳參 -1 或者不傳 查詢月 day 傳參 -1 或者不傳 ~~~[api] get:/url *string:sn=7480000000001#設備序列號 *string:method=get_device_stats#配置方法 *integet:address=2#設備地址 *integer:year=2020#年 *integer:month=12#月 *integer:day=31#日 *string:key=E# 電量 <<< success { "code":0, "data":{ "value":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "address":1, "sn":"748000003170", "x":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23"], "code":0 } } <<< error ~~~ ## 獲取周程、日程數據 ~~~[api] get:/url *string:sn=7480000000001#設備序列號 *string:method=get_smart_config#配置方法 *integet:address=2#設備地址 *integer:day=0# 0 日程 1-7 周程 <<< success <<< error ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看