Hi,
On one map i send the command twice:
Item 'Rocky_ExecuteCommand' changed from get_room_mapping to {"code":0,"exe_time":2,"id":96,"otlocalts":1612988004148910,"result":[[16,"838001020681"],[17,"838001020684"],[18,"838001020664"],[19,"838001020685"],[21,"838001020717"],[24,"838001020683"]]}
Item 'Rocky_ExecuteCommand' changed from get_room_mapping to {"code":0,"exe_time":3,"id":113,"otlocalts":1612988068925085,"result":[[16,"838001020681"],[17,"838001020684"],[18,"838001020664"],[19,"838001020685"],[21,"838001020717"],[24,"838001020683"]]}
I then changed the map in the App:
Item 'Rocky_CleaningMap' changed from raw type (image/jpeg): 48897 bytes to raw type (image/jpeg): 30242 bytes
and send the command twice again:
Item 'Rocky_ExecuteCommand' changed from get_room_mapping to {"code":0,"exe_time":1,"id":131,"otlocalts":1612988183068802,"result":[[16,"838001020686"],[18,"838001020687"],[20,"838001020682"]]}
Item 'Rocky_ExecuteCommand' changed from get_room_mapping to {"code":0,"exe_time":2,"id":143,"otlocalts":1612988229385109,"result":[[16,"838001020686"],[18,"838001020687"],[20,"838001020682"]]}
For me it just looks like that every room has a unique ID and I use this to check if the floor changed. I assume that the IDs will change if I change the rooms in the map… but I most likely will never do that.
In the App I can choose the floor and I see names of the rooms (Picture will follow to you directly). I don’t know if the room names are readable or stored in the cloud.
When the robot starts cleaning, he sometimes start positioning (driving around and comparing the LIDAR-data to the stored maps) and chooses the correct map himself.
The functionality was added to a lot of older vacuums too… Perhaps you got the feature too without realizing.
Having a channel for the ID of room 16 would already be nice. Every time this ID changes, the rule to map the floor can be triggered… perhaps using a profile would be possible. In this case one would directly get the floor.
Br
PeterK