Answer: A selection from Aliexpress for assembling a gateway without soldering:
- ESP32 module 16Mb Flash 8Mb SRAM for firmware via OTA or ESP32 module with 4Mb flash for firmware without OTA
- CC2530 module without an amplifier but with an external antenna
- Debugger CC debugger for CC2530 module firmware
- A set of wires
Answer: A selection from Aliexpress for assembling a gateway with a minimum of soldering (wiring only):
- ESP32 16Mb Flash 8Mb SRAM module for OTA firmware or ESP32 module with 4Mb flash for OTA-free firmware
- CC2538 module with CC2592 amplifier
- J-Link V9 Programmer
- A set of wires
Answer: Modules based on ss2530 have a limit on the number of direct connections (up to 10pcs, depending on the firmware). The ss2530 also has a limited amount of available memory. Chika SDK is out of date. These problems are solved on the new chips ss2538 and ss2652r
Answer: The SDK is significantly different.
Answer: At present, prototypes for individual applications are being distributed. After debugging the whole process, it will be possible to purchase finished equipment in the online store.
Answer: It all depends on what module and amplifier you have. The firmware must necessarily be based on Z-Stack 3.0.
For firmware via CC Debugger:
Firmware for CC2530 module without amplifier
Firmware for CC2530 module with CC2591 amplifier
Firmware for CC2530 module with CC2592 amplifier
For firmware via J-Link: Firmware for CC2538 module with CC2592 amplifier
For initial firmware:
1. Download the archive with the flasher (full)
2. Connect the ESP32 to the computer via USB
3. Run the firmware via Flash.bat
4. Sometimes the batch file does not correctly determine the port, then it can be added to the batch file --port COM7
For further updates:
1. Download the archive with the current firmware version
2. Unzip it to any folder
3. In the web interface, select the firmware.bin file on the Update page
4. Click Start update.
Answer: Instruction 1
Answer: Instruction 1 Instruction 2
Answer: There are two ways:
- Enable the join mode on the ZigBee page in the web interface (Start Join button)
- You can send the value true/false to the topic ZigBeeGW/bridge/config/permit_join
Answer: SLS Zigbee BLE Gateway automatically pairs with Zigbee devices. After pairing, it appears in the list of devices on the Zigbee tab. Green color indicates devices that already have a converter, and with which work has already been tested. Devices for which the converter is not yet available are marked in red. You can help with adding a device by providing screenshots of the device’s page and the pairing log on the ISSUE page of the project. Open a new topic adding a new device with the name of the device.
Answer: SLS Zigbee BLE Gateway can also work with BLE devices. Adding BLE devices requires immediate device availability. To help with the addition of new ones, you can only send the necessary equipment.
Question: How to set the rules SimpleBind
Answer: There are two recording formats:
- DstDeviceId
- Cond, DstDeviceId, DstStateName, DstStateValue (Separated by commas, spaces are allowed) Where: • Cond - the value at which the rule will be executed • DstDeviceId - the identifier of the device to which we will send the command • DstStateName - The name of the state we will send • DstStateValue - The value we will send You can use comparison signs in front of the value in the Cond field. (>, <, =,!,> =, <=,! =, <>) You can use several rules, separating them with a semicolon. Examples: • single, lamp_1, state, TOGGLE - For a button, when pressed once, switches lamp_1 mode • ON, 0x00158D00007350D9, state, OFF; OFF, 0xABCD, state, ON - For the switch, inverts the mode for the relay • single, door_lock, state, LOCK; double, door_lock, state, UNLOCK - Closes a lock on a click, opens on a double • torsher_lamp - Sends the current state to torsher_lamp • <40, humidifier, state, ON; > 60, humidifier, state, OFF - For a humidity sensor, turns on the humidifier if humidity is less than 40% and turns off if more than 60%
Example: left, PTVO, state_bottom_left, TOGGLE; right, PTVO, state_bottom_right, TOGGLE
Answer: It is necessary to send an object containing one of the options for setting the color to the color json state:
- In the native CIE 1931 format: {"x": 0.8, "y": 0.04}
- In RGB format: {"r": 0, "g": 255, "b": 0}
- In RGB HEX format: {"hex": "#RRGGBB"}
- Tone, Saturation: {"hue": 23525, "saturation": 80}
- Tone: {"hue": 1665}
- Saturation: {"saturation": 220}
Example: Sending to the topic ZigBeeGW/0x00158D00011D8CB1/set values: {"color": {"r": 0, "g": 255, "b": 0}}
Answer: You must send the value in Mired units to the color_temp state. The formula for the conversion: M = 1,000,000 / K where K is the temperature in Kelvin.
Example: Color temperature 4000K, set the value ZigBeeGW/lamp_1/set/color_temp to 250
Answer: It is necessary to send the following content to the ZigBeeGW/led topic in JSON: {"mode": "manual", "hex": "# FFFFFF"}
mode - sets the mode; valid values are off, manual and auto hex - color value in RGB Hex format.
Answer:
0 - announcement received, interview starts
1 - received device description
2 - the number of active endpoints is received
3 - received device clusters
4- received model
Many Xiaomi devices will report the model themselves, so they work without completing the entire interview cycle.
Answer: Many devices can be added remotely by the developers of the SLS ZGW project. The likelihood of adding new devices increases if there is a converter in zigbee2mqtt
Also an indisputable advantage for adding a new device is the interaction protocol in z2m. It can be obtained from zigbee2mqtt in zigbee debug mode with the following combination:
cd/opt/zigbee2mqtt
DEBUG = zigbee-herdsman: zStack: * npm start
Next, you need to perform the necessary actions with the device and save the screen output. These messages can be added to issue or using the pastebin service