File tree 1 file changed +31
-0
lines changed
libraries/Zigbee/examples/Zigbee_On_Off_MultiSwitch
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright 2025 Espressif Systems (Shanghai) PTE LTD
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ /* *
16
+ * @brief This example demonstrates simple Zigbee multi-light switch.
17
+ *
18
+ * The example demonstrates how to use Zigbee library to control multiple light bulbs.
19
+ * The light bulbs are Zigbee devices, which are controlled by a Zigbee coordinator/router (Multi-Switch).
20
+ * Settings are stored in NVS to not be lost after power loss.
21
+ * Configuring and controlling the lights is done via serial input.
22
+ *
23
+ * Proper Zigbee mode must be selected in Tools->Zigbee mode
24
+ * and also the correct partition scheme must be selected in Tools->Partition Scheme.
25
+ *
26
+ * Please check the README.md for instructions and more detailed description.
27
+ *
28
+ * Created by Jan Procházka (https://github.com/P-R-O-C-H-Y/)
29
+ */
30
+
31
+
1
32
#ifndef ZIGBEE_MODE_ZCZR
2
33
#error "Zigbee coordinator mode is not selected in Tools->Zigbee mode"
3
34
#endif
You can’t perform that action at this time.
0 commit comments