How does one pass in multiple arguments using Maker API?

Background: I've got a device with a command (Execute) that takes multiple arguments:

The command works fine when I activate it from the device page, but I'm at a bit of a loss as to how I can trigger this command via Maker API.

Thanks in advance!


C7 running 2.3.8.140

Separate the multiple parameters with commas:

4 Likes

You already got your answer in the node-red thread (really didn't need to post two threads on the same topic...).

Bert answered correctly, as usual - comma separated string.

1 Like

Many thanks for your help. I finally got it working! Thank you.

Excuse the multiple posts. I really didn't realize they'd have the same answer until that is exactly what happened. I had my doubts that the Hubitat Node in NR would allow additional arguments. So I decided to try and roll something of my own that would communicate with Maker API. I quickly ran into the same problem. I expected the answer for Maker API would be some type of JSON structure. I was pleasantly surprised when the answers coincided.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.