Looking at settings/devices I did have an error in the file integration, added the /config/vacuum/ to it, and got rid of the error. Before doing this the sensors were not updating, but the Lovelace card would show some things but not accurate. After the fix, it now shows unavailable.
This may be more of a question. In the integration, the iRobot is showing up but I have not configured it. I read in the FAQ that it does not play nice with the Rest980, so since I have not configured it, is it an issue? How do I make sure it does not fight us?
Not sure what my next troubleshooting step is, a nudge in some direction would be appreciated.
edited with more info __________________________________
I used a local browser and hit the state and the response was empty. While other commands, wireless, mission, etc timeout.
edited a second time with more info…
Just out of curiosity, I copied the password from the Rest980 to configure the intergreations and it seemed to work. Then I disabled it.
Im still running 2024.5… so havent hit this issue yet
unless you have a robot that still supports mapping, you can remove all references to the vacuum file as its not actually doing anything anymore.
good callout! thanks
running irobot and rest980 at the same time does not work. the robot only supports a single MQTT connection, so if you try then you will get you what are getting, which is just {} as a response
if you still have irobot disabled, try closing the app, and then restart rest980, potentially even a few times until you get data again.
The irobot was just to test the connection. It was rebooted several times.
Not sure what all happened. Yesterday, 7/4, I deleted everything and reinstalled it and it started working.
I did take screenshots of all the configurations before I removed any of them. The only difference is the password, the BID was the same.
The only difference in the password is the last character. The old one was I and the new one is H. Does the Rest980 return a 200 response even if it can not connect or authenticate? Just strange.
Again, thank you for pulling this all together.
@Syrius Something that I just learned in 24.6. They are creating a “notify” entities. They are “phasing in” certain notifications. The file is one that they have done. But not the companion apps, learned that one the hard way. Anyway, in the settings->update section, I got a migrate notify file to notify.send_message. The send_message does not support the data_template: all you have to do is change it to the data: Not sure how well all this is going to work, I will post a sample of my yaml and the reference link that I used for my “assumptions”
More to the point …
- alias: Vacuum Log Position
id: Vacuum Log Position
initial_state: true
trigger:
platform: state
entity_id: sensor.vacuum_location
condition:
condition: or
conditions:
- condition: state
entity_id: sensor.vacuum
state: 'Clean'
- condition: state
entity_id: sensor.vacuum
state: 'Train'
action:
- service: notify.send_message
data:
entity_id: notify.vacuumfile
message: "{{ states('sensor.vacuum_location') }}"
Hi,
I am currently trying to configure the Roomba Addon.
I own an i7+ and a house with several floors. The setup instructions only deal with the brava and several floors. I want to use only the i7+ with several floors.
Can anyone help me here? I think the lovelace template has to be adjusted.
Do I add the other rooms on other floors just in the secrets/vacuum.yaml or is additional configuration needed.
thanks for posting - my setup no longer as maps, so ill add these changes but probably comment out all the relevant sections for those to uncomment only if needed for the older models that still support this.
correct, I just added the braava with multiple floors as an example, you can quite easily replace the bravva reference with roomba for this to work just the same.
I can’t get the map or log working.
For the map, when pulling this: http://192.168.1.90:3001/image.php (3001 is the port for php-nginx)
up directly, I get this: Warning : file_get_contents(): php_network_getaddresses: getaddrinfo for http failed: Name has no usable address in /config/vacuum/image.php on line 57.
vaccuum.log file is empty
I have ran a full clean room cycle successfully multiple times.
my image.php has this (i removed the long code for the token):
// ADJUST THESE PARAMETERS
#$robot_log = 'http://192.168.1.90:3001/config/vacuum/vacuum.log'; # Could also be HTTPS, or mop.log
$robot_log = 'http://192.168.1.90:3001/vacuum.log'; # Could also be HTTPS, or mop.log
$file_append = ''; # Allows differentiation of files for different floors or robots
$robot_type = 'roomba'; # Select between roomba and braava for different icons
$set_first_coordinate = 3; # Ability to skip initial coordinate(s) if incorrect data logged
$overlay_image = 'floor.png'; # Background Layer
$overlay_walls = false; # Allows overlaying of walls, used in fill mode to cover 'spray'
$walls_image = 'walls.png'; # Walls Image must contain transparent floor
$show_stuck_positions = true;
$line_thickness = 2; # Default 2, Set to ~60 for Fill Mode
$map_width = 1050; # Ensure overlay and wall images match this size
$map_height = 900; # Ensure overlay and wall images match this size
$x_offset = 220;
$y_offset = 220;
$flip_vertical = false;
$flip_horizontal = false;
$render_status_text = true;
$rotate_angle = 0; # Allows rotating of the robot lines
$x_scale=1.00; # Allows scaling of roomba x lines
$y_scale=1.00; # Allows scaling of roomba y lines
$ha_rest980 = 'http://192.168.1.90:8123/api/states/sensor.rest980'; # sensor.rest980_2, if configured for Mop
$ha_token = '< long token code here, not the name of the token>';
$ha_timezone = 'America/Chicago'; # Supported Timezones https://www.php.net/manual/en/timezones.php
$ha_text_delimiter = " \n"; # How text is displayed on the map top " \n" --> New Line ## " |" --> Show on one line
Hey Jeremy @Syrius, first thank you very much for all the work you put into this. I’m one of the (many?) refugees whose iRobot Roomba no longer work on the core roomba integration. I’ve been struggling for months to get it working once again. I stupidly accepted an upgrade robot from the iRobot people, and ever since my integration has been kaput.
So, again, props to you. Looks like a tremendous amount of work.
I’ve just begun attempting to setup your integration. My initial question is simple: is there any reason this wouldn’t work given I’m running HA Yellow? It looks to me from your documentation that you are offering Docker and Addon each as alternatives, rather than requiring both (correct?), and that if I focus on the latter instructions, in theory I should be good to go.
Hello altogether,
I am a litte stuck in the rest commands, I managed to initiate the standard commands like start, pause, dock etc for automations, but I need to manage the cleanRoom command which should be available from the local api.
But for whatever reason, this won’t work, logs always says:
Error. Url: /api/local/action/cleanroom. Status code 404. Payload: None
I am quite new to coding and my knowledge is fairly poor, and I guess, I have a mistake somewhere in my thoughts, maybe someone can help me.
What do I want to do with that?
We have cats and when they leave their litter boxes, they have some litter left in their paw and they spread it in the first two rooms they pass.
I want to install a motion sensor and once this is triggered, my vac should clean the rooms closest to the box.
Any suggestions in solving this in using the commands are welcome.
Jeremy, I’m working my way through your github instructions using the addon approach, rather than docker – all because the HA iRobot integration is just not working for my J9+.
Anywho, I’m stuck at Step 5, “Navigate to `http://:/api/local/info/state”. Since I’m not using docker, does the IP address here refer to the iRobot or HA or something else? Feel like I’ve tried every logical option, but I always get “site can’t be reached” from my browser (Chrome).
I’m about to start the same journey you are on.
I believe that when you use the addon, you just go and look at the logs of the addon for that information
I’m at a complete loss trying to get this to work.
I have a Roomba j7+ and Braava Jet M6.
The password addon didn’t work for me at all. To get the passwords and BLID’s i had to install Python on a local computer, install dorita980 there and then run a command to get both via the web login and pwd.
with those i installed the php-nginx addon and the dorita980 addon
for the nginx i didn’t change anything, for the dorita980 i entered blid, pwd and ip
They both start, but when i run the clean room command in the iRobot app i don’t get any output in the logs other than some GET commands, nothing related to rid’s of rooms
when i browse to my Home Assistant IP:3000/api/local/info/state i get to a page, but again no output. Just a 1 in the top left corner
I did make the vacuum folder and copied all the content as described in step 2
Any help would be greatly appreciated
UPDATED:
I got it to work today! I have all my RID’s
This is what i did to make it work.
Don’t start the dorita980 addon yet!
Go to the iRobot integration and configure your vacuum. It should give you an option to turn on/off continuous connection. Turn it off
Now go to your iRobot mobile app and start a new job. Select all the rooms in an order you can remember and start the job. Exit the mobile app
now start the dorita980 addon.
browse to http://HomeAssistantIP:3000/api/local/info/state
you should have all the info there.
I figured out what I was missing in Step 5 Get Room Details: patience! Turns out I needed to wait for awhile for the vacuum log to generate the lastCommand data for rid’s. So now I’ve got them.
Three specific questions for folks, if I may:
where does the vacuum.yaml file go?
I’m getting a duplicate key error when copying the lovelace.yaml into my config folder. I believe this because it has two “Type:” statements. What’s the best way to address this?
Step 10 mentions the “Maintenance dropdown in Lovelace” – ahem, noob here, where is this?
Pretty sure it’s not related, but once i got my Braava Jet hooked up like this a few days later it got stuck in a random reboot sequence and i can’t get it to work at all anymore. my J7+ still works