Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
ed42021c9b | |||
02b8326b80 | |||
0795911f7a |
@ -28,3 +28,5 @@ See [here](https://github.com/aZholtikov/ESP-NOW-Light-Led-Strip/tree/main/hardw
|
|||||||
3. If encryption is used, the key must be set same of all another ESP-NOW devices in network.
|
3. If encryption is used, the key must be set same of all another ESP-NOW devices in network.
|
||||||
4. Upload the "data" folder (with web interface) into the filesystem before flashing.
|
4. Upload the "data" folder (with web interface) into the filesystem before flashing.
|
||||||
5. For using this firmware on Tuya/SmartLife WiFi light/led strip controllers, the WiFi module must be replaced with an ESP8266 compatible module (if necessary).
|
5. For using this firmware on Tuya/SmartLife WiFi light/led strip controllers, the WiFi module must be replaced with an ESP8266 compatible module (if necessary).
|
||||||
|
|
||||||
|
Any feedback via [e-mail](mailto:github@zh.com.ru) would be appreciated. Or... [Buy me a coffee](https://paypal.me/aZholtikov).
|
||||||
|
@ -31,7 +31,7 @@ typedef struct
|
|||||||
|
|
||||||
std::vector<espnow_message_t> espnowMessage;
|
std::vector<espnow_message_t> espnowMessage;
|
||||||
|
|
||||||
const String firmware{"1.14"};
|
const String firmware{"1.15"};
|
||||||
|
|
||||||
String espnowNetName{"DEFAULT"};
|
String espnowNetName{"DEFAULT"};
|
||||||
|
|
||||||
@ -152,7 +152,11 @@ void onBroadcastReceiving(const char *data, const uint8_t *sender)
|
|||||||
{
|
{
|
||||||
wasMqttAvailable = temp;
|
wasMqttAvailable = temp;
|
||||||
if (temp)
|
if (temp)
|
||||||
|
{
|
||||||
sendConfigMessage();
|
sendConfigMessage();
|
||||||
|
sendAttributesMessage();
|
||||||
|
sendStatusMessage();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
gatewayAvailabilityCheckTimer.once(15, gatewayAvailabilityCheckTimerCallback);
|
gatewayAvailabilityCheckTimer.once(15, gatewayAvailabilityCheckTimerCallback);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user