pymammotion 0.2.66__py3-none-any.whl → 0.2.67__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pymammotion/mammotion/devices/mammotion_bluetooth.py +7 -2
- pymammotion/mammotion/devices/mammotion_cloud.py +1 -1
- {pymammotion-0.2.66.dist-info → pymammotion-0.2.67.dist-info}/METADATA +1 -1
- {pymammotion-0.2.66.dist-info → pymammotion-0.2.67.dist-info}/RECORD +6 -6
- {pymammotion-0.2.66.dist-info → pymammotion-0.2.67.dist-info}/LICENSE +0 -0
- {pymammotion-0.2.66.dist-info → pymammotion-0.2.67.dist-info}/WHEEL +0 -0
@@ -317,8 +317,13 @@ class MammotionBaseBLEDevice(MammotionBaseDevice):
|
|
317
317
|
result = self._message.parseNotification(data)
|
318
318
|
if result == 0:
|
319
319
|
data = await self._message.parseBlufiNotifyData(True)
|
320
|
-
|
321
|
-
|
320
|
+
try:
|
321
|
+
self._update_raw_data(data)
|
322
|
+
except (KeyError, ValueError, IndexError, UnicodeDecodeError):
|
323
|
+
_LOGGER.exception("Error parsing message %s", data)
|
324
|
+
finally:
|
325
|
+
self._message.clearNotification()
|
326
|
+
|
322
327
|
_LOGGER.debug("%s: Received notification: %s", self.name, data)
|
323
328
|
else:
|
324
329
|
return
|
@@ -268,7 +268,7 @@ class MammotionBaseCloudDevice(MammotionBaseDevice):
|
|
268
268
|
try:
|
269
269
|
self._update_raw_data(binary_data)
|
270
270
|
new_msg = LubaMsg().parse(binary_data)
|
271
|
-
except (KeyError, ValueError, IndexError):
|
271
|
+
except (KeyError, ValueError, IndexError, UnicodeDecodeError):
|
272
272
|
_LOGGER.exception("Error parsing message %s", binary_data)
|
273
273
|
|
274
274
|
if (
|
@@ -63,8 +63,8 @@ pymammotion/mammotion/control/joystick.py,sha256=QfBVxM_gxpWsZAGO90whtgxCI2tIZ3T
|
|
63
63
|
pymammotion/mammotion/devices/__init__.py,sha256=f2qQFPgLGmV85W2hSlMUh5BYuht9o_Ar_JEAAMD4fsE,102
|
64
64
|
pymammotion/mammotion/devices/base.py,sha256=F_L5aDtY6rgRkk7Q4CwilLenTANW6cBe9zIU3a9HRmA,10020
|
65
65
|
pymammotion/mammotion/devices/mammotion.py,sha256=hSO184o1q4ftfLPx9froFPIXk428wGg8Ayw160W3z7c,12482
|
66
|
-
pymammotion/mammotion/devices/mammotion_bluetooth.py,sha256=
|
67
|
-
pymammotion/mammotion/devices/mammotion_cloud.py,sha256=
|
66
|
+
pymammotion/mammotion/devices/mammotion_bluetooth.py,sha256=ggufoV_KMNaWspHHvXQCOqxUpmNRQYu5jNQSjxviVSM,18890
|
67
|
+
pymammotion/mammotion/devices/mammotion_cloud.py,sha256=NM7BKVNPzQXm7DQs1fl5cQHwd_W9DGWwLzB-DaoLKX8,12026
|
68
68
|
pymammotion/mqtt/__init__.py,sha256=Ocs5e-HLJvTuDpVXyECEsWIvwsUaxzj7lZ9mSYutNDY,105
|
69
69
|
pymammotion/mqtt/mammotion_future.py,sha256=_OWqKOlUGl2yT1xOsXFQYpGd-1zQ63OxqXgy7KRQgYc,710
|
70
70
|
pymammotion/mqtt/mammotion_mqtt.py,sha256=LaySave_hf0gU3crUTLqzpdQtxIwK8vu5DM8F8fbU2Y,8748
|
@@ -119,7 +119,7 @@ pymammotion/utility/map.py,sha256=GYscVMg2cX3IPlNpCBNHDW0S55yS1WGRf1iHnNZ7TfQ,22
|
|
119
119
|
pymammotion/utility/movement.py,sha256=N75oAoAgFydqoaOedYIxGUHmuTCtPzAOtb-d_29tpfI,615
|
120
120
|
pymammotion/utility/periodic.py,sha256=MbeSb9cfhxzYmdT_RiE0dZe3H9IfbQW_zSqhmSX2RUc,3321
|
121
121
|
pymammotion/utility/rocker_util.py,sha256=6tX7sS87qoQC_tsxbx3NLL-HgS08wtzXiZkhDiz7uo0,7179
|
122
|
-
pymammotion-0.2.
|
123
|
-
pymammotion-0.2.
|
124
|
-
pymammotion-0.2.
|
125
|
-
pymammotion-0.2.
|
122
|
+
pymammotion-0.2.67.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
123
|
+
pymammotion-0.2.67.dist-info/METADATA,sha256=DZQuVb2_ihRfYgQASyewZvppsMlAoFop88WYADKFpME,3874
|
124
|
+
pymammotion-0.2.67.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
125
|
+
pymammotion-0.2.67.dist-info/RECORD,,
|
File without changes
|
File without changes
|