diff --git a/conf/gateway.yaml b/conf/gateway.yaml index 05eabf7..29c2754 100644 --- a/conf/gateway.yaml +++ b/conf/gateway.yaml @@ -1,5 +1,5 @@ -gateway_info: #本地网关信息 - id: F23FACD2-7D85-4FCC-88E3-C5B78931A26D #网关ID +"gateway_info": #本地网关信息 + "id": "F23FACD2-7D85-4FCC-88E3-C5B78931A26D" #网关ID version: yunhorn_gw_c_v1 #网关版本 location: [113.960347, 22.54143] #本地网关经纬度 目前暂无用 config: @@ -109,7 +109,9 @@ loradevices_list: - [85, 2, 242, 170] iconurl: "http://192.168.3.188/icons/" websocketurl: ["192.168.3.216:8080", "/echo"] -post_to_server: "http://192.168.3.154:8082/statis/push" #"https://smartoilets.cn/socketServer/statis/push" #数据收集服务器 +# post_to_server: "http://192.168.3.154:8082/statis/push" #"https://smartoilets.cn/socketServer/statis/push" #数据收集服务器 +# post_to_server: https://120.77.206.101:8090/statis/push" #数据收集服务器 +post_to_server: "https://smartoilets.cn/ydc/statis/push" #数据收集服务器 debug: true #是否打印debug log openserial: false #是否采集串口数据 open_tcp_server: true #是否开启TCP端口接收无线数据 @@ -125,9 +127,9 @@ mqtt_open: false mqtt_keepAlive: 30 #mqtt心跳时间间隔 单位是s mqtt_timeout: 10 #mqtt超时时间 单位s mqtt_topic: "yunhorn/dpark/1/#" -mqtt_broker: "tcp://192.168.3.159:1883" -mqtt_username: "admin" -mqtt_password: "admin" +mqtt_broker: "tcp://smartoilets.cn:1883" +mqtt_username: "dpark" +mqtt_password: "Jev@nwd0409" #2019/08/16 06:50:00 Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub \ No newline at end of file