-
Hi,
is there a way to get both in the same api request? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Commands via http is not really an API, merely a very secondary feature not intended as "the way" of using devices. MQTT is the preferred option, where you do not even need to query such info, but just subscribe to the messages. No effort has been (or likely will be) made to make a flexible REST-like API out of the barebones http command support. |
Beta Was this translation helpful? Give feedback.
-
Use command backlog |
Beta Was this translation helpful? Give feedback.
Commands via http is not really an API, merely a very secondary feature not intended as "the way" of using devices. MQTT is the preferred option, where you do not even need to query such info, but just subscribe to the messages. No effort has been (or likely will be) made to make a flexible REST-like API out of the barebones http command support.