I was finally able to get a packet sniffing setup at least good enough to get an updated device list, so I've updated it myself (and my vacuum is indeed in the list!).
Testing
My vacuum is shown in the GetGlobalDeviceList response, which only includes vacuums in the EcoVacsHomeProducts list.
The diff provided by git is a bit hard to read, but I wrote a script to verify that no vacuums are removed. There are two existing vacs whose icons and iconUrls are changed, but otherwise this PR only adds vacuums to the list.
Script:
old_list = ...
new_list = ...
import pprint
for vac in old_list:
if vac not in new_list:
print(f"Vacuum {vac['classid']} differs in old and new lists:\n")
print("Old entry:")
pprint.pprint(vac)
print("\nNew entry:")
new_vac = [v for v in new_list if v["classid"] == vac["classid"]][0]
pprint.pprint(new_vac)
print()
See https://github.com/bmartin5692/bumper/issues/130
I was finally able to get a packet sniffing setup at least good enough to get an updated device list, so I've updated it myself (and my vacuum is indeed in the list!).
Testing
My vacuum is shown in the GetGlobalDeviceList response, which only includes vacuums in the EcoVacsHomeProducts list.
The diff provided by git is a bit hard to read, but I wrote a script to verify that no vacuums are removed. There are two existing vacs whose
icon
s andiconUrl
s are changed, but otherwise this PR only adds vacuums to the list.Script:
Output: