I’m new to Node-Red and super excited by what it can do! I’m working to get my Roomba vacuums automated and am a bit stuck. I’m using the official iRobot Integration and have all my vacuums into HA and responding to commands. I have successfully discovered the room ids that my Roomba uses and am now trying to send it to a specific room. I have been able to successfully use the follow parameters in the service dev tool using a Vacuum: Send command to send my Roomba to the correct room.
pmap_id: iiNOTREALpkwEOn
regions:
- region_id: "17"
type: rid
user_pmapv_id: 22NOTREAL38
I am now trying to get this same command into a call service node in Node-Red. I am using JSON data with the code below. This call service node as configured will start up my vacuum, but it will not direct Roomba towards a specific room but rather just turn on and start vacuuming. Am I translating the command from the service dev tool to Node-Red incorrectly? I’ve done my best to search the forums for an answer, but I’m at a dead end. Any thoughts would be much appreciated.
{
"command": "start",
"params": {
"pmap_id": "{{msg.pmap_id}}",
"regions": [
{
"region_id": "17",
"type": "rid"
}
],
"user_pmapv_id": "{{msg.user_pmapv_id}}"
}
}