Gateway for data exchange between ESP-NOW devices and MQTT broker via WiFi/LAN.
- Creates an access point named "ESP-NOW gateway XXXXXXXXXXXX" with password "12345678" (IP 192.168.4.1).
- Possibility a device search through the Windows Network Environment via SSDP (at ESP_NOW_WIFI mode).
- Periodically transmission of system information to the MQTT broker (every 60 seconds), availability status to the ESP-NOW network and to the MQTT broker (every 10 seconds) and current date and time to the ESP-NOW network (every 10 seconds).
- Automatically adds gateway configuration to Home Assistan via MQTT discovery as a binary_sensor.
- Automatically adds supported ESP-NOW devices configurations to Home Assistan via MQTT discovery.
- Automatically adds supported nRF24 devices configurations to Home Assistan via MQTT discovery.
- Possibility firmware update over OTA (at ESP_NOW_LAN mode via access point only).
- Web interface for settings (at ESP_NOW_LAN mode via access point only).
- 3 operating modes:
ESP_NOW ESP-NOW node only. Default mode after flashing.
ESP_NOW_WIFI Gateway between ESP-NOW devices and MQTT broker via WiFi.
ESP_NOW_LAN Gateway between ESP-NOW devices and MQTT broker via Ethernet. Preferred mode.
- ESP-NOW mesh network based on the library ZHNetwork.
- Regardless of the status of connections to WiFi or MQTT the device perform ESP-NOW node function.
- For restart the device (without using the Web interface and only if MQTT connection established) send an "restart" command to the device's root topic (example - "homeassistant/espnow_gateway/70039F44BEF7").
- W5500 connection:
ESP8266 (GPIO05 - CS, GPIO14 - SCK, GPIO12 - MISO, GPIO13 - MOSI).
ESP32 (GPIO05 - CS, GPIO18 - SCK, GPIO19 - MISO, GPIO23 - MOSI).
- ESP-NOW network name must be set same of all another ESP-NOW devices in network.
- If encryption is used, the key must be set same of all another ESP-NOW devices in network.
- Upload the "data" folder (with web interface) into the filesystem before flashing.
- At ESP_NOW_WIFI mode WiFi router must be set on channel 1.
- NodeMCU 1.0 (ESP-12E Module). ESP_NOW_WIFI mode. Unstable work.
- AZ-Delivery ESP-32 Dev Kit C V4. ESP_NOW_WIFI mode. Stable work.
- NodeMCU 1.0 (ESP-12E Module) + W5500. ESP_NOW_LAN mode. Stable work.
- AZ-Delivery ESP-32 Dev Kit C V4 + W5500. ESP_NOW_LAN mode. Stable work.
- RF Gateway
- ESP-NOW Switch
- ESP-NOW Light/Led Strip
- ESP-NOW Window/Door Sensor
- ESP-NOW Water Leakage Sensor
- Automatically add ESP-NOW devices configurations to Home Assistan via MQTT discovery.
- LAN connection support.
- nRF24 device support (via RF Gateway).
- BLE device support (via BLE Gateway).
- LoRa device support (via LoRa Gateway).
Any feedback via e-mail would be appreciated. Or... Buy me a coffee.