Skip to content

Get lamp state via API #225

Answered by easytarget
Floyer007 asked this question in Q&A
Feb 22, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

You can get the lamp value from from the existing status command.
https://github.com/easytarget/esp32-cam-webserver/blob/master/API.md#examples
The only 'special' value is -1, which indicates 'no lamp'. Otherwise zero is off, and the reading is in percentage.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Floyer007
Comment options

@Floyer007
Comment options

Answer selected by Floyer007
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
2 participants
Converted from issue

This discussion was converted from issue #221 on March 05, 2022 14:50.