UNPKG

homebridge-xiaomi-roborock-vacuum

Version:

Xiaomi Vacuum Cleaner - 1st (Mi Robot), 2nd (Roborock S50 + S55), 3rd Generation (Roborock S6) and S5 Max - plugin for Homebridge.

89 lines 3.93 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.errors = exports.cleaningStatuses = void 0; // From https://github.com/aholstenson/miio/blob/master/lib/devices/vacuum.js#L128 exports.cleaningStatuses = [ "cleaning", "spot-cleaning", "zone-cleaning", "room-cleaning", // Specific to Viomi models (TODO: move cleaning statuses and errors to each device's files) "cleaning-and-mopping", ]; exports.errors = { id1: { description: "Try turning the orange laser-head to make sure it isn't blocked.", }, id2: { description: "Clean and tap the bumpers lightly." }, id3: { description: "Try moving the vacuum to a different place." }, id4: { description: "Wipe the cliff sensor clean and move the vacuum to a different place.", }, id5: { description: "Remove and clean the main brush." }, id6: { description: "Remove and clean the side-brushes." }, id7: { description: "Make sure the wheels arent blocked. Move the vacuum to a different place and try again.", }, id8: { description: "Make sure there are no obstacles around the vacuum.", }, id9: { description: "Install the dustbin and the filter." }, id10: { description: "Make sure the filter has been tried or clean the filter.", }, id11: { description: "Strong magnetic field detected. Move the device away from the virtual wall and try again", }, id12: { description: "Battery is low, charge your vacuum." }, id13: { description: "Couldn't charge properly. Make sure the charging surfaces are clean.", }, id14: { description: "Battery malfunctioned." }, id15: { description: "Wipe the wall sensor clean." }, id16: { description: "Use the vacuum on a flat horizontal surface." }, id17: { description: "Side-brushes malfunctioned. Reboot the system." }, id18: { description: "Fan malfunctioned. Reboot the system." }, id19: { description: "The docking station is not connected to power." }, id20: { description: "unknown" }, id21: { description: "Please make sure that the top cover of the laser distance sensor is not pinned.", }, id22: { description: "Please wipe the dock sensor." }, id23: { description: "Make sure the signal emission area of dock is clean.", }, id24: { description: "Robot stuck in a blocked area. Manually move it and resume the cleaning.", }, // Specific to Viomi models (TODO: Move them to the device's class) id0: { description: "Sleeping and not charging", }, id500: { description: "Radar timed out" }, id501: { description: "Wheels stuck" }, id502: { description: "Low battery" }, id503: { description: "Dust bin missing" }, id508: { description: "Uneven ground" }, id509: { description: "Cliff sensor error" }, id510: { description: "Collision sensor error" }, id511: { description: "Could not return to dock" }, id512: { description: "Could not return to dock" }, id513: { description: "Could not navigate" }, id514: { description: "Vacuum stuck" }, id515: { description: "Charging error" }, id516: { description: "Mop temperature error" }, id521: { description: "Water tank is not installed" }, id522: { description: "Mop is not installed" }, id525: { description: "Insufficient water in water tank" }, id527: { description: "Remove mop" }, id528: { description: "Dust bin missing" }, id529: { description: "Mop and water tank missing" }, id530: { description: "Mop and water tank missing" }, id531: { description: "Water tank is not installed" }, id2101: { description: "Insufficient battery, continuing cleaning after recharge", }, id2103: { description: "Charging" }, id2105: { description: "Fully charged" }, }; //# sourceMappingURL=constants.js.map