Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/blakadder/templates
Browse files Browse the repository at this point in the history
  • Loading branch information
blakadder committed Apr 24, 2023
2 parents 4683542 + b349d90 commit 1370bbd
Show file tree
Hide file tree
Showing 66 changed files with 577 additions and 44 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ source "https://rubygems.org"
gem 'github-pages'
gemspec
gem 'jekyll-seo-tag'
gem 'faraday-retry'
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
40 changes: 38 additions & 2 deletions _includes/gpios.html
Original file line number Diff line number Diff line change
Expand Up @@ -1032,9 +1032,9 @@
{% when "4704" %}
ADC Input
{% when "4736" %}
ADC Temperature
ADC Temp
{% when "4768" %}
ADC Illuminance
ADC Light
{% when "4800" %}
ADC Button
{% when "4832" %}
Expand Down Expand Up @@ -1209,6 +1209,22 @@
BL0939 Rx
{% when "8448" %}
Option E1
{% when "8672" %}
Relay_b 1
{% when "8673" %}
Relay_b 2
{% when "8674" %}
Relay_b 3
{% when "8675" %}
Relay_b 4
{% when "8676" %}
Relay_b 5
{% when "8677" %}
Relay_b 6
{% when "8678" %}
Relay_b 7
{% when "8679" %}
Relay_b 8
{% when "9088" %}
SM2335 Clk
{% when "9128" %}
Expand Down Expand Up @@ -1253,12 +1269,32 @@
Relay_bi 7
{% when "9351" %}
Relay_bi 8
{% when "9408" %}
ModBr Tx
{% when "9440" %}
ModBr Rx
{% when "9472" %}
ADE7953 RST
{% when "9568" %}
ADE7953 CS1
{% when "9569" %}
ADE7953 CS2
{% when "9728" %}
Dingtian CLK 1
{% when "9729" %}
Dingtian CLK 2
{% when "9730" %}
Dingtian CLK 3
{% when "9731" %}
Dingtian CLK 4
{% when "9760" %}
Dingtian SDI
{% when "9792" %}
Dingtian Q7
{% when "9824" %}
Dingtian PL
{% when "9856" %}
Dingtian RCK
{% else %}
???
{% endcase %}
Expand Down
4 changes: 2 additions & 2 deletions _includes/linkage.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{{ link | append: "?tag=blakadder-22" }}
{% elsif link contains "amazon.com.be" %}
{{ link | append: "?tag=shnews-21" }}
{% elsif link contains "amazon.com.mix" %}
{% elsif link contains "amazon.com.mx" %}
{{ link | append: "?tag=shn03-20" }}
{% elsif link contains "amazon.ca" %}
{{ link | append: "?tag=tasmotatemp03-20" }}
Expand Down Expand Up @@ -43,7 +43,7 @@
{% elsif link contains "moeshouse.com" %}
{{ link | append: "?ref=v4thya2eufek" }}
{% elsif link contains "zemismart.com" %}
{{ link | append: "?DIST=QEVHGw%3D%3D" }}
{{ link | append: "?DIST=QEVHGw" }}
{% elsif link contains "kaiweets.com" %}
{{ link | append: "?sca_ref=3308941.pa6GV8THvq" }}
{% elsif link contains "loratap.com" %}
Expand Down
4 changes: 3 additions & 1 deletion _includes/tablerow_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{% if template.category contains 'bulb'%}
Bulb
{% endif %}
{{ template.model }}
{% if template.model %}
({{ template.model }})
{% endif %}
{% if template.flash == "preflashed" %}
- Tasmota pre-installed
{% endif %}
Expand Down
2 changes: 2 additions & 0 deletions _layouts/templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
<a href="https://github.com/itead/Sonoff_Devices_DIY_Tools" target="_blank">Sonoff DIY</a>
{% elsif page.flash == "mgos" %}
<a href="https://github.com/arendst/mgos-to-tasmota" target="_blank">MgOS to Tasmota</a>
{% elsif page.flash == "mgos32" %}
<a href="https://github.com/tasmota/mgos32-to-tasmota32" target="_blank">MgOS32 to Tasmota32</a>
{% elsif page.flash == "preflashed" %}
Tasmota pre-installed
{% elsif page.flash == "esp2ino" %}
Expand Down
2 changes: 1 addition & 1 deletion _templates/3038266C410
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ link: https://www.aliexpress.com/item/1005003327225237.html
mlink: https://www.aliexpress.com/item/1005003384979257.html
flash: serial
category: relay
type: Relay Module
type: Relay Board
standard: global
---
Enter ESP Flash-Mode with connecting GND and IO0 while powering up
14 changes: 14 additions & 0 deletions _templates/ESP-01S-Relay-v5
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
date_added: 2023-03-31
title: ESP-01 Relay V5.0
module: ESP-01S-Relay-v5.0
image: /assets/device_images/ESP-01S-Relay-v5.webp
template9: '{"NAME":"ESP01v5","GPIO":[256,320,0,32,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":18}'
link: https://www.aliexpress.com/item/33003960840.html
link2:
mlink:
flash: serial
category: relay
type: Relay Board
standard: global
---
15 changes: 15 additions & 0 deletions _templates/FL-S124-V1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
date_added: 2023-03-28
title: Smart Switch
model: FL-S124-V1.0
image: /assets/device_images/FL-S124-V1.webp
template9: '{"NAME":"FL-S124-V1.0","GPIO":[1,1,1,1,32,224,1,1,1,320,1,1,1,1],"FLAG":0,"BASE":18}'
link: https://www.aliexpress.com/item/1005004650496700.html
link2:
mlink:
flash: serial
category: switch
type: Switch Module
standard: global
---
All pins except reset should be accessible via the solder header for the ESP8266 daughter board. <https://imgur.com/a/aS6NBmc>
2 changes: 1 addition & 1 deletion _templates/LQ-Y06
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ date_added: 2023-03-11
title: AI Universal Remote Control
model: LQ-Y06
image: /assets/device_images/LQ-Y06.webp
template: '{"NAME":"LQ-08","GPIO":[0,0,0,0,0,1088,0,0,0,32,1056,0,0,0],"FLAG":0,"BASE":62}'
template9: '{"NAME":"LQ-08","GPIO":[0,0,0,0,0,1088,0,0,0,32,1056,0,0,0],"FLAG":0,"BASE":62}'
link: https://www.aliexpress.com/item/1005003764537058.html
link2: https://www.walmart.com/ip/WiFi-IR-Remote-IR-Control-Wi-Fi-2-4Ghz-Enabled-Infrared-Universal-Controller-For-Air-Conditioner-TV-DVD-Using-Tuya-Smart-Life-APP-Compatible-Alexa-Go/1562806458
mlink:
Expand Down
19 changes: 19 additions & 0 deletions _templates/OV5640_V1_2
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
date_added: 2023-04-08
title: OV5640 ESP32
model: OV5640 V1_2
image: /assets/device_images/OV5640_V1_2.webp
template32: '{"NAME":"ESP32-OV5640-Cam","GPIO":[32,1,5088,1,8832,4960,1,1,5091,8864,5089,4992,1,1,5120,8800,0,8960,5024,5056,0,288,5184,5092,0,0,0,0,1,5093,5094,5090,5152,0,0,5095],"FLAG":0,"BASE":1}'
link: https://www.aliexpress.com/item/1005004521039608.html
link2:
mlink:
flash: serial
category: diy
type: Camera
standard: global
---
Has onboard CH340

![Source for template](https://ae01.alicdn.com/kf/Sd6d655af42b24f9aa64bbe5e3951c9bbW.jpg ""Source for template"")

![Pinout](https://ae01.alicdn.com/kf/S01c9db804c0647bc98d1d6de818164226.jpg ""Pinout"")
28 changes: 28 additions & 0 deletions _templates/S08
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
date_added: 2023-03-28
title: Tuya S08
model: S08
image: /assets/device_images/S08.webp
templatec3: '{"NAME":"Tuya Remote","GPIO":[1,1,1,1088,1056,1,32,544,1,1,1,0,0,0,0,0,0,0,1,1,1,1],"FLAG":0,"BASE":1}'
link: https://www.aliexpress.com/item/1005004280449369.html
link2:
mlink: https://expo.tuya.com/product/393910
flash: replace
category: misc
type: IR Remote
standard: global
---
Hardware:

Tuya Remote Control S08 contains Beken chip (CBU), this needs to be desoldered and replaced preferably with [ESP32-C3-05](DT-ESP-C05).
CBU pinout is almost similar to ESP32-C3-05, and since only the bottom CBU pins are required. You wouldn't need to solder the pins on the left & right side.

![](https://iili.io/HNruJ7s.md.png)

Firmware:

For extended irhvac support, compile tasmota firmware for esp32-c3, add below:

`#define USE_IR_REMOTE_FULL`

in the user_config_override.h
2 changes: 1 addition & 1 deletion _templates/WHS-2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ date_added: 2023-03-26
title: Smatrul Infrared Sensor
model: WHS-2
image: /assets/device_images/WHS-2.webp
template: '{"NAME":"WHS-2","GPIO":[0,0,0,160,288,0,0,0,0,224,0,0,0,0],"FLAG":0,"BASE":18,"CMND":"SwitchMode1 4 | SO13 1"}'
template9: '{"NAME":"WHS-2","GPIO":[0,0,0,160,288,0,0,0,0,224,0,0,0,0],"FLAG":0,"BASE":18,"CMND":"SwitchMode1 4 | SO13 1"}'
link: https://www.aliexpress.com/item/1005004428605056.html
mlink: https://www.alibaba.com/product-detail/Smart-Wall-Light-Switch-Infrared-Sensor_1600317207376.html
flash: replace
Expand Down
6 changes: 3 additions & 3 deletions _templates/adafruit_Feather-ESP32S3
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ When the board is booted into debug by holding `BOOT` and pressing the `RESET` b

[Product Guide](https://learn.adafruit.com/adafruit-esp32-s3-feather/)

[PCB Files](https://github.com/adafruit/Adafruit-Feather-ESP32-S2-PCB)
[PCB Files](https://learn.adafruit.com/adafruit-esp32-s3-feather/downloads)

## Peripherals

* [`WS2812B`](https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf) Neopixel
* On `GPIO33` _(configured as `WS2812`)_ with power on `GPIO21` _(configured as `Output Hi`)_.
* 2x [STEMMA-QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt/what-is-stemma-qt) JST-SH I2C bus connector
* Both ports share the same bus, on `GPIO3` (SCL) and `GPIO4` (SDA) _(configured as `I2C 1`)_ and `GPIO7` for power _(configured as `Output Hi`)_. These ports are on the same bus as the `SCL` and `SDA` pins labelled on the board.
* [STEMMA-QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt/what-is-stemma-qt) JST-SH I2C bus connector
* `GPIO3` (SDA) and `GPIO4` (SCL) _(configured as `I2C 1`)_ and `GPIO7` for power _(configured as `Output Hi`)_. This ports are on the same bus as the `SCL` and `SDA` pins labeled on the board.
28 changes: 28 additions & 0 deletions _templates/arlec_DCF4002WHA
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
date_added: 2023-04-04
title: Arlec 130cm White 4 Blade DC Ceiling Light and
model: DCF4002WHA
image: /assets/device_images/arlec_DCF4002WHA.webp
template9: '{"NAME":"Arlec DCF4002WHA","GPIO":[1,1,1,1,1,1,0,0,1,1,1,1,1,0],"FLAG":0,"BASE":54}'
link: https://www.bunnings.com.au/arlec-130cm-white-4-blade-grid-connect-smart-dc-ceiling-fan-with-remote_p0104210
link2:
mlink:
flash: replace
category: misc
type: Fan
standard: au
chip: WR4
---
Requires removal of the Tuya WR4 (Realtek) module and installation of an ESP controller (e.g. ESP12/ESP8266). As this is an MCU-controlled device it only requires use of VCC, GND, TXD, RXD and EN pins on the ESP, soldered to the locations showing the image.
https://imgur.com/a/TtjWidJ

Note that the image refers to pin IDs for the WR4 module such as ""A18"". You can ignore this and just focus on the ""TXD"" and ""RXD"" as referring to TX/RX respectively.

Use the following console commands to map to the correct Tasmota Function IDs:
```Backlog TuyaMCU 11,1; TuyaMCU 64,3; TuyaEnumlist 4,5; TuyaMCU 97,4 TuyaMCU 12,9; TuyaMCU 22,10```

If your Backlog command does not execute as expected, enter each command separately, allowing time for Tasomota to reboot after each command execution.

WARNING: Do not use the command ```TuyaMCU 21,10``` as this crashes the MCU on the main controller board and the light/fan will cease to function completely. The command ```TuyaMCU 21,0``` will remove the issue. Use of the command ```TuyaMCU 22,10``` allows the dimmer to work but you will be unable to set the Dimmer Range which is 2-100, however the default Tasmota values of 10-100 are fine. The Dimmer is increased in steps of 2 (e,g: 2,4,6,8,10,12,etc) for a total of 49 possible dimmer values.

The LED Colour Temperature (CCT) values for the three colour temperatures are 0, 50, and 100.
2 changes: 1 addition & 1 deletion _templates/arlec_GLD360HA
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ date_added: 2023-01-18
title: Arlec 5.5W 470lm
model: GLD360HA
image: /assets/device_images/arlec_GLD360HA.webp
template9: '{"NAME":"Arlec GLD360HA","GPIO":[0,0,0,0,0,0,0,0,4067,0,4032,0,0],"FLAG":0,"BASE":18,"CMND":"SO37 24"}'
template9: '{"NAME":"Arlec GLD360HA","GPIO":[0,0,0,0,0,0,0,0,4067,0,4032,0,0,0],"FLAG":0,"BASE":18,"CMND":"SO37 24"}'
link: https://www.bunnings.com.au/arlec-5-5w-470lm-grid-connect-smart-candle-cct-led-e14-globe_p0329558
link2:
mlink:
Expand Down
21 changes: 21 additions & 0 deletions _templates/aubess_15w
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
date_added: 2023-04-12
title: Aubess 15W E27
model:
image: /assets/device_images/aubess_15w.webp
templatec3: '{"NAME":"Aubess Bulb","GPIO":[1,1,1,416,417,418,419,420,1,1,1,0,0,0,0,0,0,0,1,1,1,1],"FLAG":0,"BASE":1}'
link: https://www.aliexpress.com/item/1005003708082480.html
link2:
mlink:
flash: replace
category: bulb
type: RGBCCT
standard: e27
chip: CB2L
---
Bulb contains CB2L (BK7231N) chip that needs to be desoldered and replaced with ESP32-C3-C05

![](https://i.postimg.cc/L8TDzHSv/26-B4-EE4-F-C723-4-E96-A20-A-AD5-EB0-F4951-C.jpg)
![](https://i.postimg.cc/XvPw8qzK/3-DF0-F1-AD-48-F8-4-A40-809-D-9908-BF332-D7-C.jpg)
![](https://i.postimg.cc/5t8s6w0Y/3-DA66-F62-DB03-4544-AB0-B-4768-C1-E8-A47-C.jpg)
"
21 changes: 21 additions & 0 deletions _templates/aubess_ZN371630
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
date_added: 2023-03-29
title: Aubess Universal
model: ZN371630
image: /assets/device_images/aubess_ZN371630.webp
templatec3: '{"NAME":"Aubess IR Remote","GPIO":[1,1,1,1088,1056,1,32,576,1,1,1,0,0,0,0,0,0,0,1,1,1,1],"FLAG":0,"BASE":1}'
link: https://www.aliexpress.com/item/1005004720545947.html
link2: https://www.lazada.com.my/products/i3198261457-s16225425109.html
mlink: https://expo.tuya.com/product/1058049
flash: replace
category: misc
type: IR Remote
standard: global
---
This device contains Tuya CBU module with a Beken chip. This chip pinout matches with [ESP32-C3-05](DT-ESP-C05) and needs to be desoldered and replaced.

Since only the bottoms pins are required, pins on the left & right side don't need to be soldered.

Enable extended irhvac support by adding this line in user_config_override when compiling

`#define USE_IR_REMOTE_FULL`
9 changes: 8 additions & 1 deletion _templates/auvisio_S06
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ link: https://www.aliexpress.com/item/4000291431322.html
link2: https://www.amazon.de/dp/B07N88CQ6Z
unsupported: false
---
## Warning
## Warning (new S06 devices)
There are new unbranded S06 devices that come with Beken BK7231N chipsets on a CBU or CB3S module.
These device versions are not supported by Tasmota, but could be flashed with OpenBK or Tuya CloudCutter.
![](https://i.ibb.co/gdjw0cH/PXL-20230421-222739803.jpg)
![](https://i.ibb.co/3yKW7L8/PXL-20230421-222802434.jpg)
![](https://i.ibb.co/R056JLv/PXL-20230421-222844283.jpg)

## Warning (older devices)
There are two versions available from pearl.de under the same name.

Model URC-150.app (NX-4519-905): Without temperature and humidity sensors, equipped with TYWE3S and fully supported
Expand Down
5 changes: 4 additions & 1 deletion _templates/cozylife_homekit_plug
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ flash: serial
category: plug
type: Plug
standard: eu
chip: solo1
unsupported: true
---

As of 2023-04-20 comes with an ESPC2-02 (ESP8684) which isn't supported by Tasmota.

How to [open the plug](https://blakadder.com/disassembling-CN39/)
6 changes: 3 additions & 3 deletions _templates/dasduino_connect
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ date_added: 2023-03-10
title: Dasduino CONNECT
model: 333034
image: /assets/device_images/dasduino_connectplus.webp
template32: 'template {"NAME":"Dasduino CONNECTPLUS","GPIO":[32,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,640,608,1,0,1,1,1,0,0,0,0,1376,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}'
template32: '{"NAME":"Dasduino CONNECTPLUS","GPIO":[32,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,640,608,1,0,1,1,1,0,0,0,0,1376,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}'
link: https://soldered.com/product/dasduino-connectplus-female-headers/
link2: https://soldered.com/product/dasduino-connectplus-male-headers/
mlink: https://soldered.com/product/dasduino-connect/
Expand All @@ -13,6 +13,6 @@ type: Development Board
standard: global
---

ESP8266 with USB-C, easyC connector (Qwiic compatible), JST battery connector, 500mA voltage regulator and multiple 3v3 pins. easyC connector is mapped to I2C.
ESP32 with USB-C, easyC connector (Qwiic compatible), JST battery connector, 500mA voltage regulator and multiple 3v3 pins. easyC connector is mapped to I2C.

![Pinout](https://soldered.com/productdata/2022/06/Dasduino-CONNECT.png)
![Pinout](https://soldered.com/productdata/2022/06/Dasduino-CONNECT.png)
20 changes: 20 additions & 0 deletions _templates/deta_6910HA
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
date_added: 2023-04-13
title: Deta Single Gang Touch Dimmer
model: 6910HA
image: /assets/device_images/deta_6910HA.webp
template9: '{"NAME":"Deta 6910HA","GPIO":[0,3200,1,3232,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":54}'
link: https://www.bunnings.com.au/deta-white-grid-connect-smart-touch-single-dimmer_p0237206
link2:
mlink: https://detaelectrical.com.au/product/deta-grid-connect-smart-led-single-gang-touch-dimmer-switch/
flash: replace
category: switch
type: Dimmer
standard: au
chip: WR3
---
Requires replacement of module which is a ""WR3"" Realtek unit with an ESP8266/ESP12S. As the unit is controlled by an MCU, it needs Tasmota console commands for it to work. These commands are:

`Backlog TuyaMCU 11,1;TuyaMCU 21,2, DimmerRange 280-1000`

Note that the dimmer minimum value by default is 280. This can be increased by use of a potentiometer under the front cover of the unit, but doing so would cause some confusion as to why Tasmota or Home Assistant can set values as low as 280 but the button on the front of the unit is limited to the values dictated by the potentiometer.
Loading

0 comments on commit 1370bbd

Please sign in to comment.