Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roomba i9 send_region_command not working #116

Open
Reyes546 opened this issue Apr 18, 2023 · 0 comments
Open

Roomba i9 send_region_command not working #116

Reyes546 opened this issue Apr 18, 2023 · 0 comments

Comments

@Reyes546
Copy link

Hello! I'm trying to build a web server to control my i9 roombas and I'm trying use the send_region_command but cannot get it to work properly.

I couldnt get the send_region_command and if I sent the roomba a command I would get an error 224 then the roomba would say something like "See app for help". To fix this I sent the roomba a multi room clean command and tried to copy its format, which looked like this:

lastCommand : { command : "start" ordered : 1 pmap_id : "JAThhUyTlWlMKvibr" user_pmapv_id : "230412T180142" time : 1681861872 initiator : "localApp" regions : 0 : region_id : "11" type : "rid" 1 :   region_id : "51" type : "rid" } }
I had to comment out some logic that seems to want to set the commands user_pmapv_id to the key value under the roombas master state at state.reported.pmap.0.{stringForMap} and hardcode it to contain that "230412T180142" string. In short, my question is this: what are the valid values I should include in the JSON string/object and where can I get them? Also it seems to want to use the pmap value map string and then the mostly numeric key next to it, why is this and is that correct? Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant