Closed DoctorOgg closed 3 years ago
I only have one Roomba but I should be able to add multi support fairly easily. I'll ping you once I'm done but for now you can add multiple copies of the same widget as a stop gap
i tried adding multiple instances, however, they seem to only read one of the Roomba settings
Looks like a limitation of MagicMirror unfortunately. You'd need to give each instance a unique name ad install multiple copies of MMM-Roomba
under the unique names.
I can add multi-roomba support but it will require a breaking config change. I'll try to get to soon
Added multiple Roomba support on mutli_robot_support branch. I haven't fully tested it yet but feel free to give it a shot.
ok I just tested and if the module is enabled the magic mirror wont load. Hopfully we can get this working.
@relm923 I have it working with Multiple Instances of MMM-Roomba. I have 3 Roomba's Displaying their status 2X S9+ and 1X 985
Is there still interest in support multiple devices? @TATUMTOT @DoctorOgg
@relm923 I had to copy the mmm-roomba 3 times for mine. Then go edit the code to make each of them unique. So I have mmm-roomba and then mmm-roomba1 and so on.
Thanks @TATUMTOT I'll take another look at it. Unfortunately it's difficult for me to test with only one device
@TATUMTOT did you get errors when attempting to use the mutli_robot_support branch?
@relm923 i remember you talking about is but i never got it to work. Or the directions were not clear. But i think it just did not show the second one.
@TATUMTOT mind pulling the latest version of that branch and trying again? You'll need to update your config to pass the robot metadata as a list:
var config = {
modules: [
{
module: 'MMM-Roomba',
position: 'top_right',
header: 'Roomba', // Optional
config: {
// See below for configurable options
robots: [
{
username: 'xxxxxxxxxxxxx',
password: ':1:1486937829:gktkDoYpWaDxCfGh',
ipAddress: '192.168.1.44'
}
{
username: 'xxxxxxxxxxxxx',
password: ':1:1486937829:gktkDoYpWaDxCfGh',
ipAddress: '192.168.1.45'
}
]
}
}
]
}
@relm923 I have not had time to redo this. I have to fully redo it. Roombas have been swapped out for replacements and still have not gotten arround to re-registering the API's.
Having issues with getting this module to work, I am getting "Config.username is required for module:MMM-Roomba.
Below is what I have in my config, replaced the username and password for sharing. { module: 'MMM-Roomba', position: 'middle_center', header: 'Bender', // Optional config: { // See below for configurable options robots: [ { username: 'xxxxxxxxxxxxxx', password: 'xxxxxxxxxxxxxx', ipAddress: '192.168.86.114', } ] }
I do have multiple roombas, just trying to get one to work.
Thanks
@Kanostic what branch are you using?
The latest version (2.0.0) now support multiple robots. You'll need to update your config.js
to match the new format. See the README for an example
how would one support more than one rooma?