1

我在 Personal Insights 控制台中创建了一个通用连接器。此连接器被分配给 zone-floor,site-name。

我正在使用 pi-swagger 页面发送消息。我正在使用POST /conn-generic/v1/tenants/{tenantCode}/orgs/{orgCode连接器。

消息是下一个

  "data": [
    {
      "deviceId": "11:11:22:33:44:66",
      "timestamp": 1461146935,
      "sensorCode": "2v7hq0bnz",
      "sensorRssi": -50
    }
  ]

带有响应代码 202。我正在使用传感器策略,但在我的区域中看不到此访问。

此消息位于 Presence Insights 中,因为在操作 - 分析部分下我可以看到成功。我没有任何错误。

4

1 回答 1

2

I believe this might be do to the RSSI being provided and the RSSI threshold set in the PI sensor document. The sensorRssi must be larger than the threshold defined in the PI sensor document's properties, or else the event will be discarded.

You mentioned to support that you have adjusted the threshold to -30, and are now sending events in with a sensorRssi of -10. There is a 5 minute cache period in the PI pipeline, and it's possible that you would not have received a visit if you sent an event immediately after updating the sensor document's threshold. By now the cache would have been invalidated and the updated sensor doc retrieved. Could you send in another event and verify whether or not you see a visit?

于 2016-04-22T14:11:11.973 回答