-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Plugin for Eufy Clean L60 #6
Comments
Hi! I am not receiving these messages with my RoboVac (different model), but let's see if we can find the problem together. What I can see in the logs is that Homebridge receives several illegal values, like -1 for the Battery Level. I am using -1 as the default value for the Battery Level when initialising the RoboVac in the plugin, but then I mark this status as expired in the plugin, so that the plugin should pull new status data from the device before passing anything to Homebridge. So my guess is that something goes wrong during the initial status data request. Can you please enable the debug log in the plugin settings and post it here? That might help us understanding which requests are made to the device in what order. |
Hi, sorry for the late reply. I hope the following logs will help: Received data from device: |
Hi! Any updates on this issue? Kind regards |
Seconding this issue, getting the exact same expected boolean and received undefined error in the logs. Same model, Eufy Clean L60. |
Hey all, seemingly the commands appear to be encrypted: CodeFoodPixels/robovac#85 (comment) |
This explains a lot. The plugin receives values from the RoboVac, but isn't able to interpret them. Since I don't have an L60 and can't test anything, this would be quite tricky for me to work on. Would anyone be interested to look at what they did in the Home Assistant plugin and work on a fix? I would be happy to support you where I can. |
I've got a L60 and can help any way I can |
Hi hov3rcraft,
First of all, thank you for creating such a great plugin! Unfortunately, I'm currently experiencing an issue with it. I am using a Eufy Clean L60, but the plugin throws the following error while pressing the buttons in the home app:
[08/09/2024, 18:06:02] [@hov3rcraft/homebridge-eufy-robovac] New data from L60 received - updated 0 characteristics.
[08/09/2024, 18:06:03] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'Battery Level': characteristic was supplied illegal value: number -1 exceeded minimum of 0. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:06:44] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'Battery Level': characteristic was supplied illegal value: number -1 exceeded minimum of 0. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:03] [@hov3rcraft/homebridge-eufy-robovac] Fetching status update...
[08/09/2024, 18:07:03] [@hov3rcraft/homebridge-eufy-robovac] New data from L60 received - updated 0 characteristics.
[08/09/2024, 18:07:03] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:03] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:03] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'Battery Level': characteristic value expected valid finite number and received "undefined" (undefined). See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:25] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:25] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:25] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'Battery Level': characteristic value expected valid finite number and received "undefined" (undefined). See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:26] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:26] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:37] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:37] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:37] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'Battery Level': characteristic value expected valid finite number and received "undefined" (undefined). See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:47] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:47] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:07:58] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'Battery Level': characteristic value expected valid finite number and received "undefined" (undefined). See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:08:24] [@hov3rcraft/homebridge-eufy-robovac] An error occurred! (during SET of Find Robot to true ): Error: A set command is already in progress. Can not issue a second one that also should return a response.
at TuyaDevice.set (/var/lib/homebridge/node_modules/@hov3rcraft/homebridge-eufy-robovac/node_modules/tuyapi/index.js:396:13)
at RoboVac.set (/var/lib/homebridge/node_modules/@hov3rcraft/homebridge-eufy-robovac/src/robovac-api.ts:319:28)
at RoboVac.setFindRobot (/var/lib/homebridge/node_modules/@hov3rcraft/homebridge-eufy-robovac/src/robovac-api.ts:433:21)
at EufyRobovacAccessory.setFindRobot (/var/lib/homebridge/node_modules/@hov3rcraft/homebridge-eufy-robovac/src/accessory.ts:224:22)
at On. (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2552:42)
at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
at new Promise ()
at Object.__awaiter (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:165:16)
[08/09/2024, 18:08:24] [@hov3rcraft/homebridge-eufy-robovac] Disconnected from device.
[08/09/2024, 18:08:25] [@hov3rcraft/homebridge-eufy-robovac] Error! Timeout waiting for status response from device id: bf1c35d35a0e67********
[08/09/2024, 18:08:25] [@hov3rcraft/homebridge-eufy-robovac] Setting Running to true successful.
[08/09/2024, 18:08:26] [@hov3rcraft/homebridge-eufy-robovac] Connected to device!
[08/09/2024, 18:08:26] [@hov3rcraft/homebridge-eufy-robovac] Setting Find Robot to true successful.
[08/09/2024, 18:08:26] [@hov3rcraft/homebridge-eufy-robovac] New data from L60 received - updated 0 characteristics.
[08/09/2024, 18:08:39] [@hov3rcraft/homebridge-eufy-robovac] Error! Timeout waiting for status response from device id: bf1c35d35a0e67********
[08/09/2024, 18:08:39] [@hov3rcraft/homebridge-eufy-robovac] Disconnected from device.
[08/09/2024, 18:08:39] [@hov3rcraft/homebridge-eufy-robovac] Setting Running to true successful.
[08/09/2024, 18:08:42] [@hov3rcraft/homebridge-eufy-robovac] Connected to device!
[08/09/2024, 18:08:42] [@hov3rcraft/homebridge-eufy-robovac] Setting Running to true successful.
[08/09/2024, 18:08:42] [@hov3rcraft/homebridge-eufy-robovac] New data from L60 received - updated 0 characteristics.
[08/09/2024, 18:09:19] [@hov3rcraft/homebridge-eufy-robovac] Restarting child bridge...
[08/09/2024, 18:09:19] Got SIGTERM, shutting down child bridge process...
[08/09/2024, 18:09:24] [@hov3rcraft/homebridge-eufy-robovac] Child bridge process ended
[08/09/2024, 18:09:24] [@hov3rcraft/homebridge-eufy-robovac] Process Ended. Code: 143, Signal: null
[08/09/2024, 18:09:31] [@hov3rcraft/homebridge-eufy-robovac] Restarting Process...
[08/09/2024, 18:09:33] [@hov3rcraft/homebridge-eufy-robovac] Launched child bridge with PID 4599
[08/09/2024, 18:09:33] Registering platform '@hov3rcraft/homebridge-eufy-robovac.EufyRobovac'
[08/09/2024, 18:09:33] [@hov3rcraft/homebridge-eufy-robovac] Loaded @hov3rcraft/homebridge-eufy-robovac v3.2.0-beta2 child bridge successfully
[08/09/2024, 18:09:33] Loaded 1 cached accessories from cachedAccessories.0EE4C3E5****.
[08/09/2024, 18:09:33] [@hov3rcraft/homebridge-eufy-robovac] Loading accessory from cache: L60
[08/09/2024, 18:09:33] [@hov3rcraft/homebridge-eufy-robovac] Restoring existing accessory from cache: L60
[08/09/2024, 18:09:33] [@hov3rcraft/homebridge-eufy-robovac] Finished initializing accessory: L60
[08/09/2024, 18:09:33] Homebridge v1.8.4 (HAP v0.12.2) (Staubsauger) is running on port 45317.
These errors occur while i am not doing anything:
[08/09/2024, 18:11:28] [@hov3rcraft/homebridge-eufy-robovac] New data from L60 received - updated 0 characteristics.
[08/09/2024, 18:11:28] [@hov3rcraft/homebridge-eufy-robovac] New data from L60 received - updated 0 characteristics.
[08/09/2024, 18:11:28] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:11:28] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:11:31] [@hov3rcraft/homebridge-eufy-robovac] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https:// homebridge.io/w/JtMGR for more info.
[08/09/2024, 18:34:40] [@hov3rcraft/homebridge-eufy-robovac] New data from L60 received - updated 0 characteristics.
[08/09/2024, 18:56:51] [@hov3rcraft/homebridge-eufy-robovac] Disconnected from device.
[08/09/2024, 18:57:55] [@hov3rcraft/homebridge-eufy-robovac] Fetching status update...
[08/09/2024, 18:57:55] [@hov3rcraft/homebridge-eufy-robovac] Connected to device!
I configured the plugin like this:
{
"devices": [
{
"name": "Staubsauger",
"deviceId": "bf1c35d35a0e67********",
"localKey": "Sc:z-Zih0Pt*****",
"deviceIp": "192.168.1.158",
"useSwitchService": true,
"findButtonEnabled": true,
"batteryInformationEnabled": true,
"errorSensorEnabled": true
}
],
"debugLogEnabled": false,
"_bridge": {
"name": "Staubsauger",
"username": "0E:E4:C3:::**",
"manufacturer": "Eufy",
"model": "Eufy Clean L60"
},
"platform": "EufyRobovac"
}
The Homebridge (v1.8.4) is running on a Raspberry Pi Zero 2W, connected via Wi-Fi, and everything is on the same network. I’ve tried troubleshooting (reinstalling the plugin, restarting the homebridge, checking if the ID etc is correct) on my own but haven’t had any luck. I would really appreciate it if you could help or provide some guidance on how to resolve this issue.
Thank you in advance for your support!
Best regards,
Coneseek
The text was updated successfully, but these errors were encountered: