/slzb-06-firmware

SLZB-06 firmware for the ESP32 main peripheral module

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

SMLIGHT SLZB-06 Zigbee 3.0 PoE Ethernet USB Adapter's FIRMWARE

Latest stable release: v0.9.9.

Alternative FW: v2.x

This repository contains the firmware for the ESP32 peripheral module of SLZB-06 Zigbee Ethernet PoE USB Adapter. This firmware is open source, so feel free to improve it or adjust it to your actual needs if needed.

GitHub version GitHub download License Gitpod Ready-to-Code


In light of the current war against Ukraine, we kindly ask you to support Ukrainian people by any means - support Ukrainian refugees, please, donate to Ukraine, buy Ukrainian products or do business with Ukrainians.


FLASH THIS FIRMWARE 0.9.9 or FLASH FIRMWARE 2.X ONLINE

SLZB-06/06M MANUAL smlight.tech/manual/slzb-06/

SLZB-06/06M SUPPORT TICKETS support.smlight.tech

KEY FIRMWARE FEATURES

  • Change Ethernet/USB adapter mode through firmware or by physical button short press (Blue led On = USB mode, Blue led Off = Ethernet mode);
  • Adapter mode selector through web-interface: Zigbee-to-Ethernet, Zigbee-to-USB and Zigbee-to-WiFI;
  • support mDNS autodiscovery in your network (go in the browser to slzb-06.local), in Zigbee2MQTT (set port: mdns://slzb-06), and in ZHA;
  • Secure login through username and password;
  • Zigbee2MQTT and ZHA config helper;
  • Control behavior of LED (you can disable Mode LED, Power LED through firmware, or toggle both by the button long press);
  • DHCP or static IP address for Ethernet connection;
  • ESP32 (peripheral) and CC2652P (Zigbee) OTA updates, ESP32 and CC2652P restart;
  • Switch CC2652P (Zigbee) to flash mode;
  • Flashing router firmware from the web interface;
  • Pairing mode for the adapter in router mode;
  • Firewall for incoming connections to secure your network;
  • Fully responsive web interface based on the latest Bootstrap 5.2.

5 minutes video review on Youtube (click):

Video review firmware v2.0.0 for SLZB-06

SLZB-06 firmware screenshots (v0.9.9, from this repository)

Installation and Configuration

Please refer to the installation and configuration articles in our documentation.
Please follow this link for web-flasher - just plug-and-flash: SMLIGHT Uniflasher.

Compiling from source

If you made changes to the code and want to compile you own firmware, please do the following:

You did not change web-interface appearance

  • download repository;
  • install Microsoft Visual Code (MVC);
  • Install PlatformIO extension to MVC;
  • Press "PlatformIO: Build" and wait until firmware.bin is generated;

You made changes to web-interface

In such case - you have to rebuild web-interface fisrt before building the firmware.

  • go to the folder tools/webfilesbuilder;
  • run npm install
  • run npx gulp

Contribute

You can contribute to SLZB-06 Firmware by

  • Providing Pull Requests (Features, Proof of Concepts or Fixes) - please read SLZB-06 Firmware's contributing approach here
  • Testing newly released features and reporting issues
  • Contributing missing documentation;

Support Ukraine

Credits

People helping to keep the show on the road - developers and contributors:

  • @Tarik2142 for providing initial code, issues resolution and code optimizations.

Libraries, code snippets, ideas of the following repos were used in this project:

If some authors are missed unintentionally, thanks to them as well.

License and attribution

SLZB-06-Firmware is licensed under GNU General Public License v3. 3rd party libraries that are used by this project are licensed under different license schemes, please check them out as well.
Copyright (c) 2023 SMLIGHT-DEV.
The GNU General Public License v3 ensures that if you use any part of this software in any way, your software must be released under the same license.