I'm trying to build a plugin to connect the Dyson PureLink air purifier to Domoticz, see JanJaapKo github.
I've created a plugin to enter all the data and setup a connection (in a separate MQTT client class). The Dyson's have their own MQTT brokers on board, which require the user name and password for authentication. But when I try to setup a connection, I always get the below loglines.
I do not really understand what is going wrong. To troubleshoot this, is there a way to see all messages being sent to and from to remote client? I have set the debugging level to the following, but both return the same result (no messages):
Code: Select all
Domoticz.Debugging(1)
Domoticz.Debugging(2+4+8+16+64)
Code: Select all
2019-01-09 14:24:52.800 (Fan slaapkamer) MqttClient::Reconnecting
2019-01-09 14:24:52.800 (Fan slaapkamer) MqttClient::Open
2019-01-09 14:24:52.800 (Fan slaapkamer) MqttClient::Close
2019-01-09 14:24:52.800 (Fan slaapkamer) MqttClient::Open: setup onnection object
2019-01-09 14:24:52.800 (Fan slaapkamer) MqttClient::Open: open connection
2019-01-09 14:24:52.800 (Fan slaapkamer) Protocol for '192.168.86.23' not specified, 'None' assumed.
2019-01-09 14:24:52.800 (Fan slaapkamer) Transport set to: 'TCP/IP', 192.168.86.23:1883.
2019-01-09 14:24:52.801 (Fan slaapkamer) Connect directive received, action initiated successfully.
2019-01-09 14:24:53.295 (Fan slaapkamer) Connection '192.168.86.23:1883' released by Python, reference count is 1.
2019-01-09 14:24:53.302 (Fan slaapkamer) Disconnect directive received for '192.168.86.23:1883'.
2019-01-09 14:24:53.302 (Fan slaapkamer) Handling TCP disconnect, socket (192.168.86.23:1883) is not connected
2019-01-09 14:24:53.302 (Fan slaapkamer) Asyncronous connect aborted (192.168.86.23:1883).
2019-01-09 14:24:53.352 (Fan slaapkamer) onConnect called
2019-01-09 14:24:53.352 (Fan slaapkamer) Failed to connect to: 192.168.86.23:1883, Description: Operation canceled
2019-01-09 14:24:53.352 (Fan slaapkamer) Disconnect event received for '192.168.86.23:1883'.
2019-01-09 14:24:53.352 (Fan slaapkamer) MqttClient::onDisonnect Disconnected from: 192.168.86.23:1883
2019-01-09 14:24:53.352 (Fan slaapkamer) MqttClient::Close
2019-01-09 14:24:53.353 (Fan slaapkamer) onMQTTDisconnected
2019-01-09 14:24:53.353 (Fan slaapkamer) Deallocating connection object '192.168.86.23' (192.168.86.23:1883).
2019-01-09 14:24:53.795 (Fan slaapkamer) Connection '192.168.86.23:1883' released by Python, reference count is 1.
2019-01-09 14:24:53.803 (Fan slaapkamer) Disconnect directive received for '192.168.86.23:1883'.
2019-01-09 14:24:53.803 (Fan slaapkamer) Handling TCP disconnect, socket (192.168.86.23:1883) is not connected
2019-01-09 14:24:53.804 (Fan slaapkamer) Asyncronous connect aborted (192.168.86.23:1883).
2019-01-09 14:24:53.854 (Fan slaapkamer) onConnect called
2019-01-09 14:24:53.854 (Fan slaapkamer) Failed to connect to: 192.168.86.23:1883, Description: Operation canceled
2019-01-09 14:24:53.854 (Fan slaapkamer) Disconnect event received for '192.168.86.23:1883'.
2019-01-09 14:24:53.854 (Fan slaapkamer) MqttClient::onDisonnect Disconnected from: 192.168.86.23:1883
2019-01-09 14:24:53.854 (Fan slaapkamer) MqttClient::Close
2019-01-09 14:24:53.854 (Fan slaapkamer) onMQTTDisconnected
2019-01-09 14:24:53.854 (Fan slaapkamer) Deallocating connection object '192.168.86.23' (192.168.86.23:1883).