Skip to content

One web api for getting power status + energy status #10260

Answered by sfromis
silentbil asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ascillato2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants