Update binary_sensor.android_ip_webcam.markdown (#3479)
* Update binary_sensor.android_ip_webcam.markdown * Fix format
This commit is contained in:
parent
f5e6696ebb
commit
5fe83ebc8f
1 changed files with 15 additions and 0 deletions
|
@ -17,3 +17,18 @@ ha_iot_class: "Local Polling"
|
|||
The `android_ip_webcam` binary sensor platform lets you observe the motion state of [Android IP webcam](https://play.google.com/store/apps/details?id=com.pas.webcam) sensors through Home Assistant.
|
||||
|
||||
Devices will be configured automatically. Please refer to the [component](/components/android_ip_webcam/) configuration on how to setup.
|
||||
|
||||
## {% linkable_title Examples %}
|
||||
|
||||
You can also setup the binary motion sensor with the following script:
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
binary_sensor:
|
||||
- platform: rest
|
||||
name: Kitchen Motion
|
||||
sensor_class: motion
|
||||
resource: http://IP:8080/sensors.json?sense=motion_active
|
||||
value_template: '{{ value_json.motion_active.data[0][1][0] | round(0) }}'
|
||||
```
|
||||
{% endraw %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue