NickWaterton / Roomba980-Python

Python program and library to control iRobot Roomba 980 Vacuum Cleaner
MIT License
361 stars 103 forks source link

How could i change the schedule #92

Open sirturner opened 3 years ago

sirturner commented 3 years ago

Hello,

how can i change the schedule?

thanks

NickWaterton commented 3 years ago

It depends what roomba you have.

You have to read the current schedule, which is cleanschedule or cleanschedule2 depending on which roomba you have (cleanschedule2 is the later versions - i/s).

Then you need to format the json you just received to modify what you want (day, time, zone etc), and send it back to the roomba using set_cleanSchedule() or via MQTT.

There is no simple solution I'm afraid.