bwp91 / homebridge-deebot

Homebridge plugin to integrate ECOVACS Deebot devices into HomeKit.
MIT License
64 stars 4 forks source link

Predefined Areas #137

Open thebradlloyd opened 1 year ago

thebradlloyd commented 1 year ago

Hello, I'm trying to figure out the Customer Areas configuration for my Deebot T10 Omni. I've put it in debug mode, restarted the bridge and performed a cleaning from both the home app and from the Ecovacs app, but can't find the the custom areas in the logs. Here is what I see when I restart the bridge:

"5/29/2023, 1:01:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getCleanInfo_V2')]. 5/29/2023, 1:01:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]. 5/29/2023, 1:01:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getBattery')]. 5/29/2023, 1:01:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getSpeed')]. 5/29/2023, 1:01:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getChargeState')]. 5/29/2023, 1:01:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getNetInfo')]. 5/29/2023, 1:03:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]. 5/29/2023, 2:39:59 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Network connectivity error: getaddrinfo EAI_AGAIN api-app.dc-na.ww.ecouser.net]. 5/29/2023, 2:40:27 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getNetInfo')]. 5/29/2023, 2:40:27 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getSpeed')]. 5/29/2023, 2:41:47 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]. 5/29/2023, 3:53:31 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Received error message: Request failed with status code 502 for command getNetInfo]. 5/29/2023, 3:53:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]. 5/29/2023, 4:03:31 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Received error message: Request failed with status code 502 for command getSpeed]. 5/29/2023, 4:03:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]. 5/29/2023, 4:10:18 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Received error message: MQTT server is offline or not reachable]. 5/29/2023, 4:10:19 AMDeebot BridgeDeebot[Deebot ] sending update [GetChargeState]. 5/29/2023, 4:11:32 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Received error message: Request failed with status code 502 for command getNetInfo]. 5/29/2023, 4:11:32 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Received error message: Request failed with status code 502 for command getCleanInfo_V2]. 5/29/2023, 4:11:47 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]. 5/29/2023, 4:15:47 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getBattery')]. 5/29/2023, 4:15:47 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getCleanInfo_V2')]. 5/29/2023, 4:15:47 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getNetInfo')]. 5/29/2023, 4:15:47 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getSpeed')]. 5/29/2023, 4:15:47 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getChargeState')]. 5/29/2023, 4:15:47 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]. 5/29/2023, 4:45:31 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Received error message: Request failed with status code 502 for command getChargeState]. 5/29/2023, 4:45:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]. 5/29/2023, 8:31:31 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Received error message: Request failed with status code 502 for command getAirDring]. 5/29/2023, 8:33:46 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]. 5/29/2023, 11:11:01 AMdeebotbridge stopping 5/29/2023, 11:11:06 AMDeebot Bridge starting 5/29/2023, 11:11:11 AMDeebot BridgeLoaded plugin 'homebridge-deebot' 5/29/2023, 11:11:11 AMDeebot BridgeLoading 1 platforms... 5/29/2023, 11:11:11 AMDeebot BridgeDeebotInitialising plugin v6.0.5 | System linux | Node v16.19.1 | HB v1.6.0 | HAPNodeJS v0.11.0... 5/29/2023, 11:11:11 AMDeebot BridgeDeebotWARNINGConfig entry [debug] is unused and can be removed. 5/29/2023, 11:11:11 AMDeebot BridgeDeebotPlugin initialised. Setting up accessories.... 5/29/2023, 11:11:11 AMDeebot BridgeDeebotUsing ecovacs-deebot library v0.9.5. 5/29/2023, 11:11:11 AMDeebot BridgeBridge is running on port 51866. 5/29/2023, 11:11:14 AMDeebot BridgeDeebot[1] device(s) found in your account. 5/29/2023, 11:11:14 AMDeebot BridgeDeebot[Deebot ] initialising with options: {"hideMotionSensor":false,"motionDuration":30,"lowBattThreshold":15,"showMotionLowBatt":false,"showBattHumidity":false,"showAirDryingSwitch":"presetting","commandType1":"","spotAreaCommand1":"","customAreaCommand1":"","commandNote1":"","commandType2":"","spotAreaCommand2":"","customAreaCommand2":"","commandNote2":"","commandType3":"","spotAreaCommand3":"","customAreaCommand3":"","commandNote3":"","commandType4":"","spotAreaCommand4":"","customAreaCommand4":"","commandNote4":"","commandType5":"","spotAreaCommand5":"","customAreaCommand5":"","commandNote5":"","commandType6":"","spotAreaCommand6":"","customAreaCommand6":"","commandNote6":"","commandType7":"","spotAreaCommand7":"","customAreaCommand7":"","commandNote7":"","commandType8":"","spotAreaCommand8":"","customAreaCommand8":"","commandNote8":"","commandType9":"","spotAreaCommand9":"","customAreaCommand9":"","commandNote9":"","commandType10":"","spotAreaCommand10":"","customAreaCommand10":"","commandNote10":"","commandType11":"","spotAreaCommand11":"","customAreaCommand11":"","commandNote11":"","commandType12":"","spotAreaCommand12":"","customAreaCommand12":"","commandNote12":"","commandType13":"","spotAreaCommand13":"","customAreaCommand13":"","commandNote13":"","commandType14":"","spotAreaCommand14":"","customAreaCommand14":"","commandNote14":"","commandType15":"","spotAreaCommand15":"","customAreaCommand15":"","commandNote15":""}. 5/29/2023, 11:11:14 AMDeebot BridgeDeebot[Deebot ] initialised with id [dd59b4fb-20a4-4b3c-97dc-c2fc81a8XXXX] additional info {"did":"dd59b4fb-20a4-4b3c-xxxx-c2fc81a8c3db","name":"E01595370E1FP998XXXX","class":"lx3j7m","resource":"H1kd","nick":"Deebot ","company":"eco-ng","bindTs":1681590513904,"service":{"jmq":"jmq-ngiot-na.dc.ww.ecouser.net","mqs":"api-ngiot.dc-na.ww.ecouser.net"},"homeId":"643b081b7334bf966b7fXXXX","homeSort":1,"deviceName":"DEEBOT T10 OMNI","icon":"https://portal-ww.ecouser.net/api/pim/file/get/6296c56ad3980b9a6302XXXX","ota":true,"UILogicId":"t10_ww_n_curieomni","materialNo":"110-2209-0101","pid":"6296c5722e4895ec1606XXXX","product_category":"DEEBOT","model":"CURIE_OMNI_INT","updateInfo":{"needUpdate":false,"changeLog":""},"status":1,"offmap":true,"deviceNumber":0}. 5/29/2023, 11:11:14 AMDeebot BridgeDeebot✓ Setup complete. This plugin has been made with ♥ by bwp91, please consider a ☆ on GitHub if you are finding it useful! 5/29/2023, 11:11:15 AMDeebot BridgeDeebot[Deebot ] sending update [GetChargeState]. 5/29/2023, 11:11:30 AMDeebot BridgeDeebotWARNING[Deebot ] sent error [Request Timeout (command 'getAirDring')]."

I also notice that since adding the Deebot from the Home app it keeps cleaning until the batter is low and returns to the dock. By default, when running in the Home app should this be performing a "smart clean" as setup in the ECOVACS app? Not sure if I'm doing something wrong.

I appreciate any advice you can give me!

silenceJT commented 10 months ago

I have the same issue, there is no MapSpotAreaInfo display: {"hideMotionSensor":false,"motionDuration":30,"lowBattThreshold":15,"showMotionLowBatt":false,"showBattHumidity":false,"showAirDryingSwitch":"presetting","supportTrueDetect":false,"commandType1":"","spotAreaCommand1":"","customAreaCommand1":"","commandNote1":"","commandType2":"","spotAreaCommand2":"","customAreaCommand2":"","commandNote2":"","commandType3":"","spotAreaCommand3":"","customAreaCommand3":"","commandNote3":"","commandType4":"","spotAreaCommand4":"","customAreaCommand4":"","commandNote4":"","commandType5":"","spotAreaCommand5":"","customAreaCommand5":"","commandNote5":"","commandType6":"","spotAreaCommand6":"","customAreaCommand6":"","commandNote6":"","commandType7":"","spotAreaCommand7":"","customAreaCommand7":"","commandNote7":"","commandType8":"","spotAreaCommand8":"","customAreaCommand8":"","commandNote8":"","commandType9":"","spotAreaCommand9":"","customAreaCommand9":"","commandNote9":"","commandType10":"","spotAreaCommand10":"","customAreaCommand10":"","commandNote10":"","commandType11":"","spotAreaCommand11":"","customAreaCommand11":"","commandNote11":"","commandType12":"","spotAreaCommand12":"","customAreaCommand12":"","commandNote12":"","commandType13":"","spotAreaCommand13":"","customAreaCommand13":"","commandNote13":"","commandType14":"","spotAreaCommand14":"","customAreaCommand14":"","commandNote14":"","commandType15":"","spotAreaCommand15":"","customAreaCommand15":"","commandNote15":""}.

chen-bowen commented 7 months ago

I have tried using the beta version of 6.0.6 that has all the map information

image

@bwp91 Could we add this beta release code to main the latest release? Thanks!