Updated "Tested on"
This commit is contained in:
parent
5d9784c9ae
commit
439722511f
@ -19,7 +19,7 @@ ESP-NOW based switch for ESP8266. Alternate firmware for Tuya/SmartLife WiFi swi
|
||||
|
||||
## Tested on
|
||||
|
||||
Coming soon.
|
||||
See [here](https://github.com/aZholtikov/ESP-NOW-Switch/tree/main/hardware).
|
||||
|
||||
## Attention
|
||||
|
||||
|
BIN
hardware/MOES_1CH_10A/Pins.jpeg
Normal file
BIN
hardware/MOES_1CH_10A/Pins.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 MiB |
BIN
hardware/MOES_1CH_10A/TYWE2S.pdf
Normal file
BIN
hardware/MOES_1CH_10A/TYWE2S.pdf
Normal file
Binary file not shown.
BIN
hardware/MOES_1CH_10A/WB2S.pdf
Normal file
BIN
hardware/MOES_1CH_10A/WB2S.pdf
Normal file
Binary file not shown.
BIN
hardware/MOES_1CH_10A/inside1.jpeg
Normal file
BIN
hardware/MOES_1CH_10A/inside1.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 MiB |
BIN
hardware/MOES_1CH_10A/inside2.jpeg
Normal file
BIN
hardware/MOES_1CH_10A/inside2.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 MiB |
BIN
hardware/MOES_1CH_10A/inside3.jpeg
Normal file
BIN
hardware/MOES_1CH_10A/inside3.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 MiB |
BIN
hardware/MOES_1CH_10A/main.jpeg
Normal file
BIN
hardware/MOES_1CH_10A/main.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 MiB |
12
hardware/README.md
Normal file
12
hardware/README.md
Normal file
@ -0,0 +1,12 @@
|
||||
# Tested on
|
||||
|
||||
1. MOES 1CH 10A. Built on Tuya WiFi module WA2 (WB2S) (BK7231T chip). Replacement required. Performed replacement with ESP-02S (TYWE2S). [Photo](https://github.com/aZholtikov/ESP-NOW-Switch/tree/main/hardware/MOES_1CH_10A).
|
||||
|
||||
```text
|
||||
Relay GPIO GPIO04 HIGH
|
||||
Led GPIO GPIO12 LOW
|
||||
Button GPIO GPIO14 RISING
|
||||
```
|
||||
|
||||
2. AUBESS 1CH 16A (Coming soon)
|
||||
3. LIGHT E27 ADAPTER (Coming soon)
|
@ -1,4 +1,4 @@
|
||||
[env:esp8266]
|
||||
[env:ESP-12E]
|
||||
platform = espressif8266
|
||||
board = esp12e
|
||||
framework = arduino
|
||||
@ -9,7 +9,7 @@ lib_deps =
|
||||
bblanchon/ArduinoJson@^6.19.4
|
||||
me-no-dev/ESP Async WebServer@^1.2.3
|
||||
|
||||
[env:esp8266-ota]
|
||||
[env:ESP-12E-OTA]
|
||||
platform = espressif8266
|
||||
board = esp12e
|
||||
framework = arduino
|
||||
@ -22,7 +22,7 @@ lib_deps =
|
||||
bblanchon/ArduinoJson@^6.19.4
|
||||
me-no-dev/ESP Async WebServer@^1.2.3
|
||||
|
||||
[env:esp8285]
|
||||
[env:ESP-02S]
|
||||
platform = espressif8266
|
||||
board = esp8285
|
||||
framework = arduino
|
||||
@ -32,16 +32,3 @@ lib_deps =
|
||||
https://github.com/aZholtikov/ZHConfig
|
||||
bblanchon/ArduinoJson@^6.19.4
|
||||
me-no-dev/ESP Async WebServer@^1.2.3
|
||||
|
||||
[env:esp8285-ota]
|
||||
platform = espressif8266
|
||||
board = esp8285
|
||||
framework = arduino
|
||||
upload_port = 192.168.4.1
|
||||
upload_protocol = espota
|
||||
lib_extra_dirs =
|
||||
lib_deps =
|
||||
https://github.com/aZholtikov/ZHNetwork
|
||||
https://github.com/aZholtikov/ZHConfig
|
||||
bblanchon/ArduinoJson@^6.19.4
|
||||
me-no-dev/ESP Async WebServer@^1.2.3
|
||||
|
@ -172,6 +172,7 @@ void onUnicastReceiving(const char *data, const uint8_t *sender)
|
||||
if (incomingData.payloadsType == ENPT_UPDATE)
|
||||
{
|
||||
WiFi.softAP(("ESP-NOW Switch " + myNet.getNodeMac()).c_str(), "12345678", 1, 0);
|
||||
webServer.begin();
|
||||
apModeHideTimer.once(300, apModeHideTimerCallback);
|
||||
}
|
||||
if (incomingData.payloadsType == ENPT_RESTART)
|
||||
@ -288,7 +289,7 @@ void setupWebServer()
|
||||
void IRAM_ATTR buttonInterrupt()
|
||||
{
|
||||
ETS_GPIO_INTR_DISABLE();
|
||||
buttonInterruptTimer.once_ms(50, switchingRelay); // For prevent contact chatter.
|
||||
buttonInterruptTimer.once_ms(100, switchingRelay); // For prevent contact chatter.
|
||||
}
|
||||
|
||||
void switchingRelay()
|
||||
@ -395,6 +396,7 @@ void gatewayAvailabilityCheckTimerCallback()
|
||||
void apModeHideTimerCallback()
|
||||
{
|
||||
WiFi.softAP(("ESP-NOW Switch " + myNet.getNodeMac()).c_str(), "12345678", 1, 1);
|
||||
webServer.end();
|
||||
}
|
||||
|
||||
void attributesMessageTimerCallback()
|
||||
|
Loading…
x
Reference in New Issue
Block a user