You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/Zigbee/examples/Zigbee_Light_Sensor/README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Arduino-ESP32 Zigbee Light Sensor Sleepy Device Example
1
+
# Arduino-ESP32 Zigbee Illuminance Sensor Example
2
2
3
-
This example demonstrates how to use the Zigbee library to create an end device light sensor and use it as a Home Automation (HA) extended light sensor.
3
+
This example demonstrates how to use the Zigbee library to create an end device illuminance sensor and use it as a Home Automation (HA) extended illuminance sensor.
4
4
5
5
# Supported Targets
6
6
@@ -9,9 +9,9 @@ Currently, this example supports the following targets.
9
9
| Supported Targets | ESP32-C6 | ESP32-H2 |
10
10
| ----------------- | -------- | -------- |
11
11
12
-
## Light Sensor Functions
12
+
## Illuminance Sensor Functions
13
13
14
-
1. Initialize a Zigbee light sensor.
14
+
1. Initialize a Zigbee illuminance sensor.
15
15
2. Measure illuminance value.
16
16
3. Report the measured value to the Zigbee network.
17
17
@@ -25,7 +25,7 @@ Currently, this example supports the following targets.
25
25
26
26
In this example the raw analog value of a light sensor is used to calculate illuminance.
27
27
Alter the calculation according to your use case and calibrate it to receive correct lux values.
28
-
Set the light sensor GPIO by changing the `light_sensor_pin` variable to the pin to the pin to which your sensor is connected.
28
+
Set the illuminance sensor GPIO by changing the `illuminance_sensor_pin` variable to the pin to the pin to which your sensor is connected.
29
29
Set the button GPIO by changing the `button` variable. By default, it's the pin `BOOT_PIN` (BOOT button on ESP32-C6 and ESP32-H2).
0 commit comments