ESP-NOW gateway for ESP8266/ESP32
Gateway for data exchange between ESP-NOW devices and MQTT broker via WiFi.
Features
- The first time turn on (or after rebooting) creates an access point named "ESP-NOW Gateway XXXXXXXXXXXX" with password "12345678" (IP 192.168.4.1) if fails to connect to WiFi. In case of lost a WiFi connection after successfuly connection search the required WiFi SSID availability every 30 seconds.
- Possibility a device search through the Windows Network Environment via SSDP.
- Periodically transmission of system information to the MQTT broker (every 60 seconds) and availability status to the ESP-NOW network and to the MQTT broker (every 10 seconds).
- Automatically adds gateway configuration to Home Assistan via MQTT discovery as a binary_sensor.
- Possibility firmware update over OTA.
- Web interface for settings.
Notes
- 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/gateway/70039F44BEF7").
Attention
- ESP-NOW network name must be set same of all another ESP-NOW devices in network.
- Upload the "data" folder (with web interface) into the filesystem before flashing.
- WiFi router must be set on channel 1.
Supported devices
- RF - Gateway
- ESP-NOW Switch
- ESP-NOW Led Light/Strip
- ESP-NOW Window/Door Sensor
- ESP-NOW Water Leakage Sensor
To Do
- Automatically add ESP-NOW devices configurations to Home Assistan via MQTT discovery.
- LAN connection support.
- nRF24 device support (in current time uses "RF Gateway").
- BLE device support (for ESP32).
- LoRa device support.
Description
Version 1.6
Latest
Languages
C++
79.8%
HTML
8.9%
JavaScript
6.4%
CSS
4.9%