normen / homebridge-landroid

Homebridge plugin to control Worx Landroid robo mowers through the Worx Cloud
25 stars 8 forks source link

Remove mowers if not found anymore #20

Closed normen closed 4 years ago

normen commented 4 years ago

If a mower isn't found in the cloud anymore it should be removed from HomeKit. The question is how to determine that the mower is actually removed from the cloud. There should be a callback for every registered mower after connecting to the cloud - so these should be picked up and after a timeout be used as the definitive list of mowers for synchronization.

Currently the "reload": true config.json parameter has to be set for mowers to be removed from HomeKit at all.

normen commented 4 years ago

Fixed in https://github.com/normen/homebridge-landroid/commit/05b1232c14c99b36006cfc1aa882621a0c7009d7