# Product

Id: A0C50EC4-3742-4D70-B939-21D3EFDF6261
Name: FBee网关
Number: fbee:gateway
Image: /images/gateway.png
CategoryId: BA92B82B-1E92-428B-92ED-28AD93FB7514
ApiJson:
  {"openapi":"3.0.1","info":{"title":"fbee api","version":"1.0"},"paths":{"/Gateway/Refresh":{"get":{"tags":["Gateway"],"summary":"查询所有网关","responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Gateway/X9d":{"get":{"tags":["Gateway"],"summary":"查询网关信息","parameters":[{"name":"number","in":"query","description":"网关Id","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Gateway/X81":{"get":{"tags":["Gateway"],"summary":"查询所有设备","parameters":[{"name":"number","in":"query","description":"网关Id","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Gateway/X95":{"get":{"tags":["Gateway"],"summary":"删除指定设备","parameters":[{"name":"gateway","in":"query","description":"网关编号","schema":{"type":"string"}},{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"format":{"type":"integer","format":"int32"}},"additionalProperties":false}}},"tags":[{"name":"Gateway","description":"网关"}]}


Id: 1DEB6842-FFB6-43E8-9892-ED38DD914B96
Name: 摄像头
Number: onvifcamera
Image: /images/camera.png
CategoryId: 8E271914-622C-4B4D-BD33-78993F99BE43
ApiJson:
  {"openapi":"3.0.1","info":{"title":"fbee api","version":"1.0"},"paths":{"/Onvif/MainScreenShot":{"get":{"tags":["Onvif"],"summary":"主码流截屏","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/SubScreenShot":{"get":{"tags":["Onvif"],"summary":"子码流截屏","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Up":{"get":{"tags":["Onvif"],"summary":"上","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Down":{"get":{"tags":["Onvif"],"summary":"下","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Left":{"get":{"tags":["Onvif"],"summary":"左","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Right":{"get":{"tags":["Onvif"],"summary":"右","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Zoomin":{"get":{"tags":["Onvif"],"summary":"大","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Zoomout":{"get":{"tags":["Onvif"],"summary":"小","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/Stop":{"get":{"tags":["Onvif"],"summary":"停","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/StartPush":{"get":{"tags":["Onvif"],"summary":"开始推流","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Onvif/StopPush":{"get":{"tags":["Onvif"],"summary":"停止推流","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"format":{"type":"integer","format":"int32"}},"additionalProperties":false}}},"tags":[{"name":"Onvif","description":"摄像头"}]}


Id: AB111CD2-D9A7-4A2F-B140-71D59EF042BF
Name: 智能插座
Number: fbee:0051:01
Image: /images/socket.png
CategoryId: F510E634-5D1E-4398-A121-6945D43B5A5C
ApiJson:
  {"openapi":"3.0.1","info":{"title":"fbee api","version":"1.0"},"paths":{"/Socket/On":{"get":{"tags":["Socket"],"summary":"开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Socket/Off":{"get":{"tags":["Socket"],"summary":"关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"format":{"type":"integer","format":"int32"}},"additionalProperties":false}}},"tags":[{"name":"Socket","description":"插座"}]}


Id: 9865FDB5-1648-44F5-A524-338CCBF45FC1
Name: 三路开关
Number: fbee:0002:03
Image: /images/switch3.png
CategoryId: AC2A427C-173C-4277-B9C5-3B73FFE841C9
ApiJson:
  {"openapi":"3.0.1","info":{"title":"fbee api","version":"1.0"},"paths":{"/Switch3/On":{"get":{"tags":["Switch3"],"summary":"全开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Switch3/Off":{"get":{"tags":["Switch3"],"summary":"全关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Switch3/L1On":{"get":{"tags":["Switch3"],"summary":"L1开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Switch3/L1Off":{"get":{"tags":["Switch3"],"summary":"L1关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Switch3/L2On":{"get":{"tags":["Switch3"],"summary":"L2开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Switch3/L2Off":{"get":{"tags":["Switch3"],"summary":"L2关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Switch3/L3On":{"get":{"tags":["Switch3"],"summary":"L3开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Switch3/L3Off":{"get":{"tags":["Switch3"],"summary":"L3关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"format":{"type":"integer","format":"int32"}},"additionalProperties":false}}},"tags":[{"name":"Switch3","description":"3路开关"}]}


Id: 4837AD54-BD9B-4918-9020-692DC16A8CD2
Name: 窗帘电机
Number: fbee:0202:01
Image: /images/curtain.png
CategoryId: F510E634-5D1E-4398-A121-6945D43B5A5C
ApiJson:
  {"openapi":"3.0.1","info":{"title":"fbee api","version":"1.0"},"paths":{"/Curtain/Stop":{"get":{"tags":["Curtain"],"summary":"停","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Curtain/On":{"get":{"tags":["Curtain"],"summary":"开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Curtain/Off":{"get":{"tags":["Curtain"],"summary":"关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"format":{"type":"integer","format":"int32"}},"additionalProperties":false}}},"tags":[{"name":"Curtain","description":"窗帘电机"}]}


Id: 5776CEA4-A809-4166-9D92-37846A20829C
Name: 红外转发器
Number: fbee:0163:01
Image: /images/control.png
CategoryId: F510E634-5D1E-4398-A121-6945D43B5A5C
ApiJson:
  {"openapi":"3.0.1","info":{"title":"fbee api","version":"1.0"},"paths":{"/Ir/Send":{"get":{"tags":["Ir"],"summary":"发送指令","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}},{"name":"type","in":"query","description":"按键类型","schema":{"type":"integer","format":"int32"}},{"name":"code","in":"query","description":"键值","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/Ir/Study":{"get":{"tags":["Ir"],"summary":"学习","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}},{"name":"type","in":"query","description":"按键类型","schema":{"type":"integer","format":"int32"}},{"name":"code","in":"query","description":"键值","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"format":{"type":"integer","format":"int32"}},"additionalProperties":false}}},"tags":[{"name":"Ir","description":"红外转发器"}]}


Id: 607E7AD4-BC50-40E5-93BE-639D91CDEA7D
Name: 调色灯
Number: fbee:0210:01
Image: /images/lamp.png
CategoryId: AC2A427C-173C-4277-B9C5-3B73FFE841C9
ApiJson:
  {"openapi":"3.0.1","info":{"title":"fbee api","version":"1.0"},"paths":{"/ColorLight/SetBrightness":{"get":{"tags":["ColorLight"],"summary":"亮度","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}},{"name":"brightness","in":"query","description":"亮度","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/ColorLight/SetColor":{"get":{"tags":["ColorLight"],"summary":"色度","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}},{"name":"hue","in":"query","description":"色调","schema":{"type":"integer","format":"int32"}},{"name":"saturation","in":"query","description":"饱和度","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/ColorLight/SetColorTemperature":{"get":{"tags":["ColorLight"],"summary":"色温","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}},{"name":"colorTemperature","in":"query","description":"色温","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/ColorLight/On":{"get":{"tags":["ColorLight"],"summary":"开","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}},"/ColorLight/Off":{"get":{"tags":["ColorLight"],"summary":"关","parameters":[{"name":"number","in":"query","description":"设备编号","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponse"}}}}}}}},"components":{"schemas":{"ApiResponse":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"format":{"type":"integer","format":"int32"}},"additionalProperties":false}}},"tags":[{"name":"ColorLight","description":"调色灯"}]}


# Data

Id: 5C729DC0-6616-4CF3-832B-0341EAE163BE
Key: ffmpeg.args
Name: ffmpeg.args
DeviceId: 597EB056-1B09-4E68-995B-85323C874EB6
Value:
   -y -threads {0} -rtsp_transport tcp -use_wallclock_as_timestamps 1 -stimeout 3000000 -i "{1}" -fflags +genpts -c copy -f flv "{2}"


