CodeFoodPixels / robovac

Add a Eufy RoboVac easily to Home Assistant
Other
129 stars 28 forks source link

eufy RoboVac 15C MAX not being detected #53

Closed silviudc closed 7 months ago

silviudc commented 7 months ago

I have two vacuums on the eufy app, a G30 and a 15C max. I was using a different custom integration which the latest 2024.2.0 update broke so I installed this one. After I added the integration and logged in, only the G30 got detected but not the 15C Is there a way I can manually add it via IP for example?

CodeFoodPixels commented 7 months ago

That's odd, I have a 15c and it shows up fine.

Could you enable debug logging and try re-adding them to see if anything shows in the logs?

On Wed, 7 Feb 2024, 22:00 silviudc, @.***> wrote:

I have two vacuums on the eufy app, a G30 and a 15C max. I was using a different custom integration which the latest 2024.2.0 update broke so I installed this one. After I added the integration and logged in, only the G30 got detected but not the 15C Is there a way I can manually add it via IP for example?

— Reply to this email directly, view it on GitHub https://github.com/CodeFoodPixels/robovac/issues/53, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVDWRFKSG4SDNROXFQTYSP2OXAVCNFSM6AAAAABC6SZZIGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZDGOJXGIYDCOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

silviudc commented 7 months ago

So I did enable debug, restart HA, but no help at all, no logs relating to the missing vacuum. The vacuum is simply not being detected so there is nothing I ca do to actually add it. Removing/adding the integration doesn't detect it either: image image

Any way to force add the missing one by IP?

CodeFoodPixels commented 7 months ago

When you have debug logging on it should print some logs if you remove the vacuums and re-add them.

On Sat, 10 Feb 2024, 17:54 silviudc, @.***> wrote:

So I did enable debug, restart HA, but no help at all, no logs relating to the missing vacuum. The vacuum is simply not being detected so there is nothing I ca do to actually add it. Removing/adding the integration doesn't detect it either: image.png (view on web) https://github.com/CodeFoodPixels/robovac/assets/17740184/a5f5f2f0-8015-4785-9926-4186a1f19b79 image.png (view on web) https://github.com/CodeFoodPixels/robovac/assets/17740184/54495224-0a7c-41ee-a0c3-9fa45f9e3fa4

Any way to force add the missing one by IP?

— Reply to this email directly, view it on GitHub https://github.com/CodeFoodPixels/robovac/issues/53#issuecomment-1937082342, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVD3Z6RLUHDHLOZEBGLYS6X35AVCNFSM6AAAAABC6SZZIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGA4DEMZUGI . You are receiving this because you commented.Message ID: @.***>

silviudc commented 7 months ago

That's the thing it doesn't find 2, only 1 when I removed my account and added it again: image But I think it sort of finds it:

2024-02-10 20:03:19.312 DEBUG (SyncWorker_14) [custom_components.robovac.config_flow] Robovac schema: [{"attr":0,"canTrigger":true,"code":"power","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_power2","id":1,"mode":"rw","name":"电源开关","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"power_go","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_power","id":2,"mode":"rw","name":"清扫开关","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"direction","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_mode","id":3,"mode":"rw","name":"清扫方向","property":{"range":["forward","back","left","right"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"mode","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_dust","id":5,"mode":"rw","name":"清扫模式","property":{"range":["auto","SmallRoom","Spot","Edge","Nosweep","remote","bf1","bf2","bf3"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"status","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_direction","id":15,"mode":"ro","name":"工作状态","property":{"range":["Running","standby","Sleeping","Charging","completed","Recharge"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"FMR","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":101,"mode":"rw","name":"自动回充","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"Cleaning_intensity","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":102,"mode":"rw","name":"清扫强度","property":{"range":["Standard","Turbo","Max","Boost_IQ"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"Looking_weeper","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":103,"mode":"rw","name":"寻找扫地机","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"electricity_left1","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":104,"mode":"ro","name":"剩余电量","property":{"unit":"","min":0,"max":100,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"Fault_report","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":106,"mode":"ro","name":"故障提示","property":{"unit":"","min":0,"max":10000,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"ForbidMode","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":107,"mode":"rw","name":"勿扰模式状态","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"ClearTime","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":109,"mode":"ro","name":"清扫时间","property":{"unit":"s","min":0,"max":10000000,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"ClearArea","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":110,"mode":"ro","name":"清扫面积","property":{"unit":"m2","min":0,"max":10000000,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"Loudness","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":111,"mode":"rw","name":"音量调节","property":{"unit":"","min":0,"max":100,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"pauseStar","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":122,"mode":"rw","name":"暂停/继续","property":{"range":["Nosweep","Pause","Continue"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"languageSet","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":123,"mode":"rw","name":"语言包设置","type":"raw"},{"attr":0,"canTrigger":true,"code":"waitRawDPP","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":125,"mode":"rw","name":"语音包信息上报","type":"raw"},{"attr":0,"canTrigger":true,"code":"langueChange","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":128,"mode":"rw","name":"语言切换","property":{"range":["default","used"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"suctionFlag","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":130,"mode":"rw","name":"suctionFlag","property":{"range":["No_suction","Quiet","Standard","Turbo","Max","Boost_IQ","suction_6","suction_7"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"autoContrlMode","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":131,"mode":"rw","name":"遥控模式","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"onceCleanTimes","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":132,"mode":"ro","name":"单次清扫后时长","property":{"unit":"s","min":0,"max":10000000,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"onceCleanAreas","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":133,"mode":"ro","name":"单次清扫后面积","property":{"unit":"m2","min":0,"max":10000000,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"onceCleanCout","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":134,"mode":"ro","name":"单次清扫次数","property":{"unit":"","min":0,"max":10000000,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"waiteBoolDP01","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":135,"mode":"rw","name":"断点续扫开关","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"waiteBoolDP02","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":136,"mode":"rw","name":"预留布尔DP02","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"remind","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":137,"mode":"rw","name":"提醒信息","property":{"unit":"","min":-10000000,"max":10000000,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"waiteintDP02","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":138,"mode":"rw","name":"预留数值DP02","property":{"unit":"","min":-1000000,"max":1000000,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"waiteDPRaws","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":139,"mode":"rw","name":"勿扰模式设置","type":"raw"},{"attr":0,"canTrigger":true,"code":"clean_record","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":140,"mode":"rw","name":"清扫记录统计上报","property":{"type":"string","maxlen":255},"type":"obj"},{"attr":0,"canTrigger":true,"code":"logupload","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":141,"mode":"rw","name":"日志上传","type":"raw"},{"attr":0,"canTrigger":true,"code":"logswitch","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":142,"mode":"rw","name":"日志功能开关","type":"raw"}]
2024-02-10 20:03:19.537 DEBUG (SyncWorker_14) [custom_components.robovac.config_flow] Robovac schema: [{"attr":0,"canTrigger":true,"code":"power","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_power2","id":1,"mode":"rw","name":"电源开关","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"power_go","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_power","id":2,"mode":"rw","name":"清扫开关","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"direction","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_mode","id":3,"mode":"rw","name":"清扫方向","property":{"range":["forward","back","left","right"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"mode","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_dust","id":5,"mode":"rw","name":"清扫模式","property":{"range":["auto","SmallRoom","Spot","Edge","Nosweep"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"status","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","iconname":"icon-dp_direction","id":15,"mode":"ro","name":"工作状态","property":{"range":["Running","standby","Sleeping","Charging","completed","Recharge"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"FMR","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":101,"mode":"rw","name":"自动回充","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"Cleaning_intensity","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":102,"mode":"rw","name":"清扫强度","property":{"range":["Standard","Boost_IQ","Max","No_suction"],"type":"enum"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"Looking_weeper","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":103,"mode":"rw","name":"寻找扫地机","property":{"type":"bool"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"electricity_left1","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":104,"mode":"ro","name":"剩余电量","property":{"unit":"","min":0,"max":100,"scale":0,"step":1,"type":"value"},"type":"obj"},{"attr":0,"canTrigger":true,"code":"Fault_report","defaultRecommend":false,"editPermission":false,"executable":true,"extContent":"","id":106,"mode":"ro","name":"故障上报","property":{"range":["no_error","Stuck_5_min","Crash_bar_stuck","sensor_dirty","N_enough_pow","Wheel_stuck","S_brush_stuck","Fan_stuck","R_brush_stuck"],"type":"enum"},"type":"obj"}]
2024-02-10 20:03:19.538 DEBUG (SyncWorker_14) [custom_components.robovac.config_flow] Vacuum 0753038684f3ebf4b8d5 found on Eufy, but not on Tuya. Skipping.

The missing one above, and the working one:

2024-02-10 20:04:28.678 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bfd6df67aa715fe6a83ksw (192.168.0.33:6668): Message(0x9, b'', 0, <Device bfd6df67aa715fe6a83ksw (192.168.0.33:6668)>)
2024-02-10 20:04:30.717 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Received message from bfd6df67aa715fe6a83ksw (192.168.0.33:6668): Message(0x9, b'', 0, None)
2024-02-10 20:04:38.681 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bfd6df67aa715fe6a83ksw (192.168.0.33:6668): Message(0x9, b'', 0, <Device bfd6df67aa715fe6a83ksw (192.168.0.33:6668)>)
2024-02-10 20:04:42.871 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Received message from bfd6df67aa715fe6a83ksw (192.168.0.33:6668): Message(0x9, b'', 0, None)
2024-02-10 20:04:45.661 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bfd6df67aa715fe6a83ksw (192.168.0.33:6668): Message(0xa, {'gwId': 'bfd6df67aa715fe6a83ksw', 'devId': 'bfd6df67aa715fe6a83ksw'}, 448056750, <Device bfd6df67aa715fe6a83ksw (192.168.0.33:6668)>)

Not sure why it's looking on tuya since they are both eufy devices? I was trying to get the one it doesn't find to work with localtuya but can only start/pause it, can't go home or receive the correct status

lukemorrigan-pp commented 7 months ago

It's looking on Tuya because Eufy uses Tuya for the control. Really odd that it's not finding one of them though.

silviudc commented 7 months ago

Actually got it working by manually editing the core_config entries file and just adding it there:

"0753038684f3ebf4b8d5": {
              "id": "0753038684f3ebf4b8d5",
              "model": "T2128",
              "name": "Upstairs RoboVac",
              "description": "15C",
              "mac": "84:F3...",
              "ip_address": "192.168.0.200",
              "autodiscovery": true,
              "access_token": "something"
            }