your roomba's blid
your roomba's password
your roomba's ip address
Optionalversion: 2 | 3(optional) your roomba's protocol version (1-3, defaults to 2)
Optionaloptions: number | object(optional) options or interval in miliseconds to emith mission event (defaults to 800ms)
Emitted on successful Connection.
Emitted after a reconnection.
Emitted after a disconnection.
Emitted when the client goes offline.
Emitted every time the Robot publishes a new message to the mqtt bus.
Emitted every emitIntervalTime milliseconds with the mission data. (util for mapping in models with position reporting)
Emitted on error.
Emitted every time the Robot publish a new message to the mqtt bus. Will print the Full robot state!
The library send commands directly over wifi to your robot. You dont need an internet connection.