mrin / domoticz-mirobot-plugin

Xiaomi Mi Robot Vacuum plugin for Domoticz
57 stars 28 forks source link

Problem after installation #6

Closed kluczus closed 6 years ago

kluczus commented 6 years ago

A lot of errors in domoticz log after installation. Cares on utils page shows 0%

2017-11-07 23:31:15.118 (Odkurzacz) Calling message handler 'onHeartbeat'. 2017-11-07 23:31:15.119 (Odkurzacz) Sending 8 bytes of data:. 2017-11-07 23:31:15.119 (Odkurzacz) 91 a6 73 74 61 74 75 73 .. .. .. .. .. .. .. .. .. .. .. .. ��status 2017-11-07 23:31:15.921 (Odkurzacz) Received 88 bytes of data:. 2017-11-07 23:31:15.921 (Odkurzacz) 87 a7 62 61 74 74 65 72 79 64 a5 65 72 72 6f 72 c0 aa 63 6c ��batteryd�error��cl 2017-11-07 23:31:15.921 (Odkurzacz) 65 61 6e 5f 61 72 65 61 cb 40 26 f5 c2 8f 5c 28 f6 aa 73 74 ean_area�@&�\(��st 2017-11-07 23:31:15.921 (Odkurzacz) 61 74 65 5f 63 6f 64 65 08 ad 63 6c 65 61 6e 5f 73 65 63 6f ate_code.�clean_seco 2017-11-07 23:31:15.921 (Odkurzacz) 6e 64 73 cd 03 73 a9 66 61 6e 5f 6c 65 76 65 6c 3c a3 63 6d nds�.s�fan_level<�cm 2017-11-07 23:31:15.921 (Odkurzacz) 64 a6 73 74 61 74 75 73 .. .. .. .. .. .. .. .. .. .. .. .. d�status **2017-11-07 23:31:15.922 (Odkurzacz) Calling message handler 'onMessage'. 2017-11-07 23:31:15.922 Error: (Odkurzacz) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.** 2017-11-07 23:31:30.094 (Odkurzacz) Calling message handler 'onHeartbeat'. 2017-11-07 23:31:30.095 (Odkurzacz) Sending 8 bytes of data:. 2017-11-07 23:31:30.095 (Odkurzacz) 91 a6 73 74 61 74 75 73 .. .. .. .. .. .. .. .. .. .. .. .. ��status 2017-11-07 23:31:30.195 (Odkurzacz) Received 88 bytes of data:. 2017-11-07 23:31:30.196 (Odkurzacz) 87 a7 62 61 74 74 65 72 79 64 a5 65 72 72 6f 72 c0 aa 63 6c ��batteryd�error��cl 2017-11-07 23:31:30.196 (Odkurzacz) 65 61 6e 5f 61 72 65 61 cb 40 26 f5 c2 8f 5c 28 f6 aa 73 74 ean_area�@&�\(��st 2017-11-07 23:31:30.196 (Odkurzacz) 61 74 65 5f 63 6f 64 65 08 ad 63 6c 65 61 6e 5f 73 65 63 6f ate_code.�clean_seco 2017-11-07 23:31:30.196 (Odkurzacz) 6e 64 73 cd 03 73 a9 66 61 6e 5f 6c 65 76 65 6c 3c a3 63 6d nds�.s�fan_level<�cm 2017-11-07 23:31:30.196 (Odkurzacz) 64 a6 73 74 61 74 75 73 .. .. .. .. .. .. .. .. .. .. .. .. d�status **2017-11-07 23:31:30.197 (Odkurzacz) Calling message handler 'onMessage'. 2017-11-07 23:31:30.197 Error: (Odkurzacz) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.** 2017-11-07 23:31:45.123 (Odkurzacz) Calling message handler 'onHeartbeat'. 2017-11-07 23:31:45.123 (Odkurzacz) Sending 8 bytes of data:. 2017-11-07 23:31:45.123 (Odkurzacz) 91 a6 73 74 61 74 75 73 .. .. .. .. .. .. .. .. .. .. .. .. ��status

mrin commented 6 years ago

Domoticz python plugin system updated "api" in newer versions. Some guys said the same issue (they was on stable 3.8153) and after updating on the latest version issue has gone. (I'm using beta 3.8658)

kluczus commented 6 years ago

Ok you are right, problem is only on stable version. Thanks