Commit Graph

13 Commits

Author SHA1 Message Date
Leon Kiefer
10a9d00aaf Added clang-format (#623)
* added .clang-format
* added names to travis jobs
removed deprecated travis option
* check github action
* added .gitignore
2020-06-09 16:09:23 -05:00
Florian
de808dfb68 [CI] Correct wrong json msg buffer size on bin (#519)
#518

* [CI] with pio we are now able to use directly user_config.h, align test_config.h
2020-01-02 12:52:18 +01:00
Florian
db8df1ddf6 Hass discovery improvments (#512)
Rename set commands to config
correct json buffer size and gateway name
replace state to cmd
replace set by config
add restart and erase command
add unicity to gateway command switches
BLE devices shouldn't be child of the gateway
make the BTtoMQTT topic consistent with other definitions
2019-12-20 23:01:56 +01:00
Florian
e44717bac7 add wifi advanced setup into user_config.h (#506)
* add wifi advanced setup into user_config.h

#496

* add advanced network config for wifi
2019-12-14 18:18:30 +01:00
Florian
17809b9d78 [CI] recover tag name from TRAVIS instead of having it hardcoded (#505) 2019-12-07 15:00:40 +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
3a4ccdcc9f Update ESP IR library & IR gateway improvments (#480)
* update irremoteesp8266

* add new protocols, simplify API and publish protocol name

-added the following protocols:
  #define IR_LEGOPF
  #define IR_MITSUBISHI_HEAVY_88
  #define IR_MITSUBISHI_HEAVY_152
  #define IR_DAIKIN216
  #define IR_SHARP_AC
  #define IR_GOODWEATHER
  #define IR_INAX
  #define IR_DAIKIN160
  #define IR_NEOCLIMA
  #define IR_DAIKIN176
  #define IR_DAIKIN128
  #define IR_AMCOR
  #define IR_DAIKIN152
  #define IR_MITSUBISHI136
  #define IR_MITSUBISHI112
  #define IR_HITACHI_AC424
-changed the send API, now you can use the protocol name directly exemple NEC instead of IR_NEC
-publish the protocol name to MQTT added to the number
-replace long by long long

* missing repeat definitions

and set default repeat value to 0

* move protocol name retrieving outside arduino scope

* put all protocols with capital letters

* modify doc

* add long long activation for arduino json on test_config file
2019-11-02 12:49:05 +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
1technophile
9bf09955b8 refactor platformio ini file
transfer macro definition to platformio ini instead of test_config.h
2019-08-04 10:56:07 +02:00
BigDi
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
ddaf734797 CI: Trace activation depending on platform 2019-07-25 10:55:52 +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