1) I updated the plugin.
2) Removed user&password in the master URL (I think these are not necessary).
Errors in the log:
Code: Select all
2024-09-01 13:23:38.718 Error: MQTT Sync: Call to function 'onConnect' failed, exception details:
2024-09-01 13:23:38.734 Error: MQTT Sync: Traceback (most recent call last):
2024-09-01 13:23:38.734 Error: MQTT Sync: File "/home/xxx/domoticz/plugins/MqttSync/plugin.py", line 1097, in onConnect
2024-09-01 13:23:38.734 Error: MQTT Sync: onHttpConnected(Connection)
2024-09-01 13:23:38.734 Error: MQTT Sync: File "/home/xxx/domoticz/plugins/MqttSync/plugin.py", line 796, in onHttpConnected
2024-09-01 13:23:38.734 Error: MQTT Sync: askForDeviceList(Connection)
2024-09-01 13:23:38.734 Error: MQTT Sync: File "/home/xxx/domoticz/plugins/MqttSync/plugin.py", line 669, in askForDeviceList
2024-09-01 13:23:38.734 Error: MQTT Sync: authorization = base64.b64encode(authorizationText.encode('ascii')).decode("UTF_8")
2024-09-01 13:23:38.734 Error: MQTT Sync: AttributeError: 'NoneType' object has no attribute 'encode'
2024-09-01 13:23:45.884 Error: MQTT Sync: Call to function 'onConnect' failed, exception details:
2024-09-01 13:23:45.899 Error: MQTT Sync: Traceback (most recent call last):
2024-09-01 13:23:45.900 Error: MQTT Sync: File "/home/xxx/domoticz/plugins/MqttSync/plugin.py", line 1097, in onConnect
2024-09-01 13:23:45.900 Error: MQTT Sync: onHttpConnected(Connection)
2024-09-01 13:23:45.900 Error: MQTT Sync: File "/home/xxx/domoticz/plugins/MqttSync/plugin.py", line 796, in onHttpConnected
2024-09-01 13:23:45.900 Error: MQTT Sync: askForDeviceList(Connection)
2024-09-01 13:23:45.900 Error: MQTT Sync: File "/home/xxx/domoticz/plugins/MqttSync/plugin.py", line 669, in askForDeviceList
2024-09-01 13:23:45.900 Error: MQTT Sync: authorization = base64.b64encode(authorizationText.encode('ascii')).decode("UTF_8")
2024-09-01 13:23:45.900 Error: MQTT Sync: AttributeError: 'NoneType' object has no attribute 'encode'
3) Re-added the username & password in the master URL (format: http://<username>:<password>@IP:port)
Domoticz log error:
Code: Select all
2024-09-01 13:30:56.940 Error: MQTT Sync: name2idx::onMessage: Error 401 returned by HTTP
Is the format OK?
Raspberry PI 2 & 3 & 4 | RFlink | MySensors | ESP32 | Homebridge | Tasmota Sonoff | Zigbee2Mqtt | ADS-B