1technophile
7f9d8d18da
Apply VSC auto format to the code and indent macros for readability
2019-12-14 17:14:36 +01:00
1technophile
f7ec81ffaa
remove string usage for topic comparison
2019-12-14 11:10:12 +01:00
1technophile
7f16d00a55
Change topics concatenation method
...
Correct regression introduced by #503
Nevertheless this method needs to be optimized to avoid the use of string.
2019-12-13 23:25:09 +01:00
Florian
7384455fb9
Improve Wifi automatic reconnect for ESP32 ( #504 )
...
* do not launch a ble scan if mqtt client is disconnected
* add wifi.begin when disconnected
https://github.com/espressif/arduino-esp32/issues/2501
2019-12-07 13:45:10 +01:00
Florian
4b1f09b06b
Wifi managers improvements ( #503 )
...
* Add parameters to wifi manager: gateway name and base topic
Enable to restart the ESP and erase the parameters by MQTT
2019-12-07 10:18:42 +01:00
Florian
12bd11bbe1
make ON OFF actuator more flexible ( #481 )
...
* make ON OFF actuator more flexible
enable to choose the pin when sending the MQTT command
* add on off environment example
2019-11-04 20:51:29 +01:00
1technophile
81201cf7de
Wifimanager must ne declared at global scope to handle wifi disconnection
...
#461
if not the reconnection is random
2019-11-04 20:45:57 +01:00
1technophile
82c9b7ce55
add ESP scope to enable Arduino boards build
2019-11-02 11:58:41 +01:00
1technophile
64313db6cb
replace defined on ESP by wifi manual setup macro
...
indeed if we use ESPWifiManualSetup we don't need wifimanager and its reset button
2019-11-02 08:25:02 +01:00
1technophile
1fa5d48e74
W5100 doesn't detect linkStatus
...
implement a bypass
2019-10-30 07:07:34 +01:00
Florian
d196f387ae
Improve wifi connection management ( #471 )
...
-avoid issues with WIFI automatic reconnection on ESP32
-avoid reset of ESP32 when wifi is disconnected
-enable to erase the wifi/mqtt settings if; the mqtt broker wasn't connected once or if the TRIGGER_PIN is pushed for a long time >10s
2019-10-19 21:59:46 +02:00
mpember
30ff181a57
Add support for HC-SR04 sensor ( #453 )
...
Adds support for HC-SR04 Ultrasonic distance snsor.
2019-09-10 20:38:04 +02:00
mpember
e4683b1812
Correct missing module string for DHT ( #444 )
...
The DHT module was not being appended to the modules string reported in the SYStoMQTT messages
2019-08-26 07:00:06 +02:00
BigDi and Leon Kiefer
0a9e8eaf35
Add basic FASTLED function initated by Joen ( #433 )
...
* merge FastLED part of Joen
Co-Authored-By: Leon Kiefer <leon.k97@gmx.de >
2019-08-02 10:20:58 +02:00
1technophile
e20339857e
format FS if begin() fail, to avoid setting lost when FS is not mounted
...
add of timeout parameter
2019-07-29 08:12:07 +02:00
1technophile
6795475e03
differenciate handling of disconnection between ESP and other boards
2019-07-26 12:34:29 +02:00
1technophile
87c85eabe0
if wifi is lost the ESP was blocked on a "MQTT connection loop"
...
To avoid that check the status of wifi connection before trying to connect to mqtt
Add of traces
2019-07-26 10:55:17 +02:00
1technophile
e0c8d93802
don't remove basic pub functions when no simplepublishing
2019-07-26 10:49:16 +02:00
1technophile
b938dd3052
Correct mac adress displaying partialy
...
due to not enough buffer size
2019-07-25 20:52:59 +02:00
1technophile
fd90d26873
Enable trace of IP
2019-07-25 14:52:41 +02:00
1technophile
9184c00b9d
Add ip and mac for esp
...
and ip for arduino
2019-07-25 10:42:51 +02:00
1technophile
1a5d808de9
Code size reduction for UNO
2019-07-25 10:41:21 +02:00
Rotzbua
798b987941
fix preprocessor error ( #428 )
...
error: macro names must be identifiers
2019-07-22 15:32:43 +02:00
1technophile
74939f63ed
correct non pertinent call to BTtoMQTT when using ESP32
...
BTtoMQTT is handled as a task whit ESP32
2019-07-20 21:04:13 +02:00
Florian
8471585d3d
Platformio integration ( #424 )
...
* adaptation of structure to platformio
* also remove zgatewayRF315 (not usefull)
* replace boolean by bool
#155
2019-07-18 22:45:45 +02:00