Xose Pérez
aaa562696e
Fix reference to old setting
7 years ago
Xose Pérez
e0abce8f0b
Helper methods for MQTT sending, subscribing and forwarding
7 years ago
Xose Pérez
77d7a48d5f
Discard empty MQTT topics when subscribing
7 years ago
Xose Pérez
635fcf9a0b
Periodic MQTT reports configuration
7 years ago
Xose Pérez
b203757b5c
Using ESP.restart() instead of ESP.reset()
7 years ago
Xose Pérez
04ba425678
Using PubSubClient by default
7 years ago
Xose Pérez
042ceb904c
Fix memory leak in MQTT connection method
7 years ago
Xose Pérez
b14f5cf6e6
Check if there is an MQTT broker defined before the MQTT_MAX_TRIES check
7 years ago
Xose Pérez
4b301d6620
Force WiFi reconnect after MQTT_MAX_TRIES
7 years ago
Xose Pérez
a1a774198c
Added MQTT message to reset the board
7 years ago
Xose Pérez
7e51b031f6
Fix MQTT will topic
7 years ago
Xose Pérez
e4ea3b0f66
Small fixes, mostly comments and debug
7 years ago
Xose Pérez
52a63b1849
Changes in file comment headers
7 years ago
Xose Pérez
252bcbdded
Force MQTT close client before reconnecting. Revert back to latest ESPAsyncTCP
7 years ago
Xose Pérez
4b557535e6
Defer wifi disconnection from web interface to allow request to return
7 years ago
Xose Pérez
ff81326846
Version and year bump
7 years ago
Xose Pérez
b511e65905
Version 1.4.0
7 years ago
Xose Pérez
7a67f81e40
#14 More reliable MQTT connection
7 years ago
Xose Pérez
74b8852e00
Using default client_id from AsyncMqttClient, now for real
7 years ago
Xose Pérez
6d6878d59f
Changes in MQTT calls. Using default client_id from AsyncMqttClient
7 years ago
Xose Pérez
bacc2c2b92
Arduino IDE compatibility ( #18 ) - Renamed src folder and main file as 'espurna'
8 years ago
Xose Pérez
1fc8fd0dfa
Skip retained messages
8 years ago
Xose Pérez
1425a8dded
Refactor settings getters and setters
8 years ago
Xose Pérez
adb290e9dd
Fixed #14 MQTT Connection with Username an Password not working
8 years ago
Xose Pérez
e8b1a0c41d
Publish/subscriber pattern for MQTT events (relay & websockets)
8 years ago
Xose Pérez
d1c8435b2d
Added synchornise all option for multi-relay boards
8 years ago
Xose Pérez
11434301e0
* Support for ITead's Sonoff Dual
* Support for Electrodragon's ESP Relay Board
* Support for multi-relay boards
* Changed relay MQTT topics
* Changed relay API entry points
* Removed non-secure api entry points
8 years ago
Xose Pérez
4da4affdb7
Changed WS auth and added REST API key
8 years ago
Xose Pérez
9f88c59262
REST entry point for relay management, supporting GET and PUT
8 years ago
Xose Pérez
866f8138e7
Migrated to AsyncWebServer, AsyncWebSocket and AsyncMqttClient
8 years ago
Xose Pérez
75a2e923f0
Hostname can now be changed. Added initial relay mode. Added reconnect and reset buttons to web interface.
8 years ago
Xose Pérez
88de7f51d0
Complete update
8 years ago
Xose Pérez
4f269713c4
Moved configuration to Embedis
8 years ago
Xose Pérez
183b326b5f
Split main code file into modules
8 years ago