get http://{localIP}/binary_sensor/obstruction
Reports ON
or true
when there is an object blocking the obstruction sensor beam, otherwise OFF
or false
Log in to see full request history
Response
Reports ON
or true
when there is an object blocking the obstruction sensor beam, otherwise OFF
or false
xxxxxxxxxx
curl --request GET \
--url http://localip/binary_sensor/obstruction \
--header 'accept: application/json'
Try It!
to start a request and see the response here! Or choose an example: