forked from blakadder/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
146 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
date_added: 2021-09-20 | ||
title: Zhilde Dual USB | ||
model: ZLD-12USA-W | ||
image: /assets/images/ZLD-12USA-W.jpg | ||
template9: '{"NAME":"ZLD-12USA-W","GPIO":[0,0,0,0,320,321,0,0,224,225,32,0,0,0],"FLAG":0,"BASE":18}' | ||
link: https://www.xgecaftec.top/index.php?main_page=product_info&products_id=483256 | ||
link2: | ||
mlink: https://www.made-in-china.com/showroom/my668888/product-detaildyhnXIYMAzWU/China-Micro-Smart-Wall-Socket-with-Dual-USB-Ports-Adapter-Wi-Fi-Power-Plug-Smart-Power-Strip-Smart-Home.html | ||
flash: tuya-convert | ||
category: plug | ||
type: Plug | ||
standard: us | ||
--- | ||
2 USB Power ports toggle together with button double click |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
date_added: 2021-09-21 | ||
title: Armtronix NodeMCU Four Relay Board | ||
model: BA011 | ||
image: /assets/images/armtronix_BA011.jpg | ||
template9: '{"NAME":"Armtronix Wifi Four Relay Board","GPIO":[1,0,0,0,224,1,0,0,225,226,227,0,1,0],"FLAG":0,"BASE":7}' | ||
link: https://www.tindie.com/products/armtronix/ba011-wifi-bt-quad-relay-board/ | ||
link2: | ||
mlink: https://armtronix.in/products.html | ||
flash: serial | ||
category: diy | ||
type: Relay Board | ||
standard: global | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
date_added: 2020-08-20 | ||
title: eWeLink Zigbee Ethernet Gateway | ||
model: ZB-GW03-V1.2 | ||
image: /assets/images/sonoff_ZBBridge.jpg | ||
template: '{"NAME":"ZB-GW03-V1.2","GPIO":[1,1,3552,1,3584,1,1,1,5793,5792,320,544,5536,1,5600,1,0,1,1,5568,0,1,1,1,0,0,0,0,608,640,32,1,1,0,0,1],"FLAG":0,"BASE":1}' | ||
link: https://www.aliexpress.com/item/1005003065061179.html | ||
link2: https://www.amazon.de/dp/B094JKVLNR | ||
mlink: https://www.itead.cc/sonoff-zbbridge.html | ||
flash: serial | ||
category: misc | ||
type: Zigbee Gateway | ||
standard: global | ||
--- | ||
## Firmware build | ||
|
||
Build firmware for Tasmota32 that includes ethernet and zigbee support: | ||
|
||
user_config_override.h: | ||
```c | ||
#ifdef FIRMWARE_EWELINK | ||
#warning **** Build: FIRMWARE FOR EWELINK ZB-GW03-V1.2 **** | ||
|
||
#undef MY_LANGUAGE | ||
#define MY_LANGUAGE en_GB | ||
|
||
#undef SERIAL_LOG_LEVEL | ||
#define SERIAL_LOG_LEVEL LOG_LEVEL_NONE | ||
|
||
#define USE_ZIGBEE | ||
#undef USE_ZIGBEE_ZNP | ||
#define USE_ZIGBEE_EZSP | ||
#define USE_UFILESYS | ||
#define USE_ZIGBEE_EEPROM // T24C512A | ||
#define USE_TCP_BRIDGE | ||
#undef USE_ZIGBEE_CHANNEL | ||
#define USE_ZIGBEE_CHANNEL 11 // (11-26) | ||
|
||
#define USE_ETHERNET | ||
#undef ETH_TYPE | ||
#define ETH_TYPE 0 // ETH_PHY_LAN8720 | ||
#undef ETH_CLKMODE | ||
#define ETH_CLKMODE 3 // ETH_CLOCK_GPIO17_OUT | ||
#undef ETH_ADDRESS | ||
#define ETH_ADDRESS 1 // PHY1 | ||
#endif | ||
``` | ||
|
||
platformio_override.ini | ||
```ini | ||
[env:tasmota32-EWELINK] | ||
extends = env:tasmota32 | ||
board_build.f_cpu = 240000000L | ||
board_build.f_flash = 40000000L | ||
build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_EWELINK | ||
``` | ||
|
||
## Flash Zigbee module | ||
|
||
Download Zigbee module firmware (for example: [`ncp-uart-sw_6.7.8_115200.ota`](https://github.com/arendst/Tasmota/blob/development/tools/fw_SonoffZigbeeBridge_ezsp/ncp-uart-sw_6.7.8_115200.ota?raw=true)) from Tasmota GitHub located in [`Tasmota/tools/fw_SonoffZigbeeBridge_ezsp/`](https://github.com/arendst/Tasmota/blob/development/tools/fw_SonoffZigbeeBridge_ezsp). | ||
|
||
Go to **Firmware Upgrade** and next to "Upgrade by file upload" use the _Choose File_ button and select Zigbee module firmware you downloaded f.e. (`ncp-uart-sw_6.7.8_115200.ota`). | ||
|
||
![ZBBridge Zigbee module flash](/assets/images/sonoff_ZBBridge_ota.jpg) | ||
|
||
Click on **Start upgrade**, be patient and wait for a few minutes until flashing is complete. Once it is done, Tasmota will reboot. If the flash was successful the console will show Zigbee2Tasmota starting: | ||
|
||
```json | ||
16:31:11 ZIG: Resetting EZSP device | ||
16:31:12 RSL: tele/zbbridge/RESULT = {"ZbState":{"Status":1,"Message":"EFR32 booted","RestartReason":"Power-on","Code":2}} | ||
16:31:12 RSL: tele/zbbridge/RESULT = {"ZbState":{"Status":55,"Version":"6.7.8.0","Protocol":8,"Stack":2}} | ||
16:31:12 RSL: tele/zbbridge/RESULT = {"ZbState":{"Status":3,"Message":"Configured, starting coordinator"}} | ||
16:31:13 RSL: tele/zbbridge/RESULT = {"ZbState":{"Status":56,"IEEEAddr":"0x80E423FFFE225691","ShortAddr":"0x0000","DeviceType":1}} | ||
16:31:14 ZIG: Subscribe to group 0 'ZbListen0 0' | ||
16:31:14 RSL: tele/zbbridge/RESULT = {"ZbState":{"Status":0,"Message":"Started"}} | ||
16:31:14 ZIG: Zigbee started | ||
16:31:14 ZIG: No zigbee devices data in Flash | ||
``` | ||
|
||
Follow further instructions depending on your chosen method. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
date_added: 2021-09-22 | ||
title: LITEdge Smart Power Strip | ||
model: SW1SPST-WIFI-SCE | ||
image: /assets/images/liteedge_SW1SPST-WIFI-SCE.jpg | ||
template9: '{"NAME":"LITEEdge Power Strip","GPIO":[227,0,0,0,288,289,0,0,224,32,225,226,228,0],"FLAG":0,"BASE":18}' | ||
link: https://www.amazon.com/gp/product/B07519PSGJ/ | ||
link2: | ||
mlink: | ||
flash: serial | ||
category: plug | ||
type: Power Strip | ||
standard: us | ||
--- | ||
Uses a standard ESP-12F; solder wires to Tx/Rx/VCC/Gnd/GPIO0 and flash using esptool. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
date_added: 2021-09-18 | ||
title: Shelly Duo RGBW 9W 800lm | ||
model: DUO-RGBW | ||
image: /assets/images/shelly_DUO_RGBW.jpg | ||
template9: '{"NAME":"Shelly Duo RGBW","GPIO":[0,0,0,0,0,419,0,0,417,416,418,0,0,0],"FLAG":0,"BASE":18}' | ||
link: https://www.wesmartify.de/licht/schalten/574/shelly-duo-rgbw-e27/ | ||
link2: https://www.aliexpress.com/item/1005003036696733.html | ||
link3: https://www.amazon.com/dp/B0851CJ29H | ||
link4: https://www.amazon.de/dp/B087CBJG1M | ||
mlink: https://shop.shelly.cloud/shelly-bulb-rgbw-e27-wifi-smart-home-automation#436 | ||
flash: mgos | ||
category: bulb | ||
type: RGBW | ||
standard: e27 | ||
--- | ||
White blend mode: `SetOption105 1` | ||
|
||
Virtual CT mode: `SetOption106 1` and `SetOption107 0`" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.