are you using the latest updates for the ha-rest980 repo?
I set all of this up on Monday, May 11th. It doesn’t look like anything in the repo has changed since then. The image.php I have locally matches the one in your repo - aside from the changes I made for line placement/etc.
it might also be a good idea to first out a blank/transparent backgounnd in first, and then size/scale/offer the roomba lines on screen to what you want, then access the url with “/image.php?last=true” which will save a copy of it in the roomba directory.
I used GIMP to create the background image, scaled it to a reasonable size, set the width and height of the image into image.php, then adjusted x/y offsets, rotation, scaling, etc. By rotating the background image 90 degrees and flipping width/height, I was able to get a pretty good overlay. However if I tried to rotate the angle of the lines along with setting the offset to align the base position, the lines wouldn’t render - or would render incorrectly. I followed the guidance in the FAQ as well. Examples below:
This is what I managed to get working with a rotated background (no flip, no rotation, just x/y offsets and scale, which still need a little tweaking) Here is x:350;y:60;scale:0.9
:
When adding rotation, instead of rotating the background, the x/y gets inversed kicking the robot+lines outisde of the image’s bounds. Setting negative offsets brings it back, but the lines are not rendered correctly. Here is x:-100;y:-100;angle:180;scale:0.9
parsing out the same job as the image above - notice the lines aren’t rendering properly: Hardlinked, because new users can only include one image in a post
this is a new feature - are you running the beta?
Nope, this is apparently a prod feature now.
check the latest repo change for vacuum.yaml which dynamically selects the pmapid and timestamps now to fix this the dynamic updates!
I’m running the latest, pulled down from your repo on Monday, May 11th.
you would need to write a second automation for your second floor referencing these values to send to the robot for cleaning
If I can get selective cleaning working again for a single pmap, I’d love to dig into this. Would it also be possible to render a different background image for the new map (perhaps invoke a image2.php via that automation)?