1
我的Node-RED畫布中的MQTT元素不會保持連接到設備。如果我添加一個MQTT元素,它會在斷開連接之前每隔15到18秒連接大約1秒(有時高達10秒)。例如,這裏是設備日誌的摘錄。mqtt設備定期斷開連接
Token auth succeeded: ClientID='d:pw2bfk:temperature:tempfrontdoor', ClientIP=198.11.231.56 13 Aug 2016 7:53:03 pm
Token auth succeeded: ClientID='d:pw2bfk:temperature:tempfrontdoor', ClientIP=198.11.231.56 13 Aug 2016 7:52:47 pm
Token auth succeeded: ClientID='d:pw2bfk:temperature:tempfrontdoor', ClientIP=198.11.231.56 13 Aug 2016 7:52:41 pm
Token auth succeeded: ClientID='d:pw2bfk:temperature:tempfrontdoor', ClientIP=198.11.231.56 13 Aug 2016 7:52:36 pm
Token auth succeeded: ClientID='d:pw2bfk:temperature:tempfrontdoor', ClientIP=198.11.231.56 13 Aug 2016 7:52:21 pm
Closed connection from 198.11.231.56. The client ID was reused. 13 Aug 2016 7:52:20 pm
我相信有一個簡單的問題導致問題。我花了很多時間無濟於事。
這裏是節點紅色帆布 - >https://motion.mybluemix.net/red/#
您是否還有其他人使用該客戶端ID連接到該實例? – hardillb