Closed Tomcraft1980 closed 1 month ago
Apple are supposed to be adding native robot vacuum cleaner support to HomeKit imminently, so I would prefer to wait for that and integrate it properly rather than making this sort of change now.
Even if appropriate characteristics/services weren't going to be added I would not be keen on this approach:
I might reconsider this after seeing what Apple end up defining, but for now I do not intend to implement this suggestion.
My usage is a little other from yours. I never use the pause function for the robots as I set up an automation that triggers all vacuums, when nobody is at home (last person left home) and sends them back to the dock, when the first person arrives back at home.
If someone wants to implement this like me, simply edit the following file via HB console using the following commad, although it might be a little frustrating to edit this file again after every plugin update:
nano node_modules/homebridge-aeg-robot/dist/accessory-robot.js
Search in addSwitchClean() {...}
const command = value ? 'play' : 'pause';`
And replace with:
//const command = value ? 'play' : 'pause';
const command = value ? 'play' : 'home';
Description of Enhancement
You currently promote two buttons to HomeKit, one for "cleaning" (play/pause) and one for "return home" (home/pause). It would be useful to have a single button for this like: Turn on: play Turn off: home
HomeKit Mapping
No response
AEG/Electrolux Appliance(s)
AEG RX9-2-4ANM 900 277 479