aiot.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # AIOT 物联中控平台配置
  2. # 机器ID配置
  3. machine:
  4. machine-id: "d21e4997e4f78314ca991ffa8734c366"
  5. machine-name: "robot_ai"
  6. # 物联AIOT平台配置
  7. aiot_platform:
  8. # 江苏移动业务账号
  9. union_id: "18505105276"
  10. # union_id: "13951742810"
  11. # 测试环境配置
  12. # host: "http://iot.test.tstar-tech.com:6001"
  13. # app_id: "DXJSul8kAD4o0vLm"
  14. # app_secret: "NExpWCKDl7vXb4ElFfqktsFr+Go5tiem"
  15. # 正式环境配置
  16. host: "http://iot.tstar-tech.com:6001/"
  17. app_id: "NVOPaEwo8S61ytrZ"
  18. app_secret: "/uUMzm79BK0RPzI8VBgomSRjngXb5/sH"
  19. # 场景配置
  20. scenes:
  21. scene_001: "500" # 明灯id
  22. scene_002: "501" # 灭灯id
  23. # 设备配置
  24. devices:
  25. livingroom_downlight:
  26. dev_name: "客厅筒灯"
  27. product_id: "RSD00003"
  28. device_id: "ATARZ4A3000124587C00D2DC"
  29. resource_id: "power1"
  30. open_value: "1"
  31. close_value: "2"
  32. rail_light:
  33. dev_name: "客厅轨道灯"
  34. product_id: "U7GE5C7X"
  35. device_id: "0001200d1cc089fffecaf196"
  36. resource_id: "power1"
  37. open_value: true
  38. close_value: false
  39. light_strip:
  40. dev_name: "灯带"
  41. product_id: "KXYP79V2"
  42. device_id: "0001200d90395efffe80c4ee"
  43. resource_id: "power1"
  44. open_value: true
  45. close_value: false
  46. ceiling_light:
  47. dev_name: "吸顶灯"
  48. product_id: "KXYP79V2"
  49. device_id: "0001200d90395efffe80c4ee"
  50. resource_id: "power2"
  51. open_value: true
  52. close_value: false
  53. the_curtains:
  54. dev_name: "窗帘"
  55. product_id: "RSD00005"
  56. device_id: "ATARWSA40001B8D61AA720B0"
  57. resource_id: "work1.work1"
  58. open_value: "1"
  59. close_value: "2"