Commit Graph
668 Commits
Author SHA1 Message Date
Florian 647df124d5 WifiProtocol - force when change only
force special wifi protocol when > 0
2020-06-21 14:06:48 -05:00
Florian 2d5633b113 Update RCSwitch version
so as to avoid core dump when using RCSwitch on ESP32 and having wifi disconnection #620
2020-06-21 11:55:14 -05:00
Florian 278942d82d IR gateway add log message 2020-06-20 17:08:48 -05:00
Florian 022643381f BT Low power: remove duplicate wifi stop 2020-06-19 16:17:04 -05:00
Florian 6a5ef0707a ONOFF default pin value when simpleReceiving
#551
2020-06-19 14:53:32 -05:00
Florian 3bee160b48 IRRemote ESP8266 Lib update and add new protocols (#641) 2020-06-19 13:11:15 -05:00
Florian 9bba730e84 Add a lock mechanism to improve the OTA chances of success with ESP32 and BLE (#634)
* Add a lock mechanism to improve the OTA chances of success
change TimeBeforeMQTTconnect to InitialMQTTConnectionTimeout
move delay(BLEinterval); after the scan so  the first scan will always be done at start now
remove non relevant delay
add stopProcessing and startProcessing functions
2020-06-19 12:44:53 -05:00
Florian eb5fff7fba IR protocols identification correction
and add carriage return to traces
#630
2020-06-18 16:06:02 -05:00
Jens Balvig 1e599415fc Automatically set mqtt buffer size (#637)
* Automatically set mqtt buffer size

Current versions of pubsubclient allows the buffer size to be set
dynamically: https://github.com/knolleary/pubsubclient/pull/282

We can take advantage of this to avoid having to modify one of the
dependencies and instead automatically up the buffer size when a
powerful board is detected.
2020-06-18 05:36:40 -05:00
Florian 2bb8feffed add support link
and remove hits counter
2020-06-17 13:37:13 -05:00
Florian 713727cf98 Correct endless loop when first wifi connection missed with wifi manual setup (#636)
and add parenthesis for better understanding of the comparisons
correct also a non pertinent ;
2020-06-16 13:28:34 -05:00
Florian afa3010033 Per default don't use TRIGGER_GPIO (#633)
and move SLEEP_BUTTON definition to config_M5 as it is only used for the moment with M5 stack and stickc boards
2020-06-14 07:53:00 -05:00
Florian ae342f4a32 Remove auto erase function (#632)
* Remove auto erase function
* add docs
2020-06-14 06:57:44 -05:00
Florian c9e6de1a1c Replace pin by gpio (#631)
* replace _PIN by _GPIO

* add mention about the goal of -all binaries

* [breaking] change json key from "pin" to "gpio" for actuatorONOFF
2020-06-13 20:04:36 -05:00
Florian c9de14e51a correct config files
remove list of protocols from config_RF and retrieve the correct key for the version building in CI
2020-06-13 15:58:52 -05:00
Leon Kiefer 95a3f8e0b6 replace travis with GitHub Actions close #626 (#629)
added GitHub Actions to documentation
2020-06-12 18:44:34 -05:00
Florian 1e10783a28 [DISCOVERY] replace unit of measurement lu by lx (#628)
#603
2020-06-10 20:16:46 -05:00
Florian 3e734671cc Differentiate 2G gateway env
To avoid a build error due to concurrency of modules
2020-06-10 19:02:09 -05:00
Florian f65cdd831a move scope of MQTTtoONOFF
due to build error on Arduino IDE (working with PIO)
#556
2020-06-09 21:06:13 -05:00
Florian 312337acb4 update pubsubclient library version
2.7 to 2.8
2020-06-09 20:54:30 -05:00
Florian 01bb4ecf65 update ESP Arduino framework version 2020-06-09 20:53:54 -05:00
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 661ef9c55e Refactor BLE gateways (#617)
* Refactor BLE gateways:
-merge HM10 and ESP32 code
-publish sensor values with the other BLE device parameters to avoid MQTT multiple publication
-make uniform the case of mac adress id between HM10 and ESP32
-add the possibility to remove service data publishing either when sensors is recognised or not
-correct manufacturing data display
-merge process cleargrass methods
-check service data validity before processing
2020-06-05 08:09:49 -05:00
Florian ac4f6b74c2 Add note for persisten white and black list
#622
2020-06-04 20:27:00 -05:00
Jon 4bc8621910 Ds1820 HADiscovery (#621)
* DS18b20 HADiscovery
* Allow Multiple DS18b20 Sensors
* Optimize Bus Scan
* Update Docs

Co-authored-by: Jonathan Michael Wells <jonathan-wells@oist.jp>
2020-06-04 17:16:40 -05:00
Florian cf425b0a34 MQTTtoIR hex handling optim (#619)
replace datastring with hex string handling, enable the direct use of an MQTT received hex signal w/o syntax change
correct a bug on protocol identification when the protocol is a derivative of another one and share a common name piece
2020-06-01 08:59:39 -05:00
Florian 0afcb61717 Correct spelling mistake 2020-05-23 16:07:37 -05:00
Florian f6fa1e52da Hm10 details (#614)
* Add infos and change HM10 speed to a macro
* remove unnecessaries macros
2020-05-12 20:27:05 -05:00
Florian 489ce99659 Implement OpenHAB autodiscovery (#612) 2020-05-12 15:05:37 -05:00
Florian a82bbe684a Optimizations when using low power mode (#608) 2020-05-07 17:28:27 -05:00
Jon f23fcb672a Remove duplicate weatherstation library definition (#604) 2020-05-04 20:04:20 -05:00
Jon 2303d85ae5 HTU21.begin bug fix (#602) 2020-05-03 17:19:33 -05:00
Jonathan 9fc5ba99f5 Allow pins/settings to be defined in INI file (#597)
* Allow pins/settings to be defined in INI file

* Open to make publishing ManufacturerData optional
2020-05-03 08:56:40 -05:00
Alomon31 470790b42e Update ZgatewayWeatherStation.ino (#592)
Line44: typo (paried > paired)
2020-05-01 08:19:23 -05:00
Jonathan 125e7d4f70 Fixing Issues #593 & #591 (#594)
* Add condition to check Low Power Mode

* Added WeatherStation libs platform.ini
2020-05-01 08:18:56 -05:00
JonathanandJonathan Wells cf641851af Added HTU21 Sensor (#588)
* Added HTU21 Sensor Support

Co-authored-by: Jonathan Wells <jonathan-wells@oist.jp>
2020-04-29 08:22:17 -05:00
Florian e82f130494 Create CONTRIBUTING.md 2020-04-28 14:12:07 -05:00
Florian d8032f88b0 Update bug_report.md 2020-04-28 12:46:16 -05:00
Florian f2b2975b88 prepare v0.9.4beta 2020-04-27 13:54:49 -05:00
Florian c88084519f Correct wrong log value assignment type
#564
replace %s -> %d for LORA pin numbers
2020-04-27 12:48:09 -05:00
Florian b4e65aef6f Arduino IDE library packaging modification
#579
Update doc to reflect necessary manual changes
Implement a part of these changes to automatic script
2020-04-27 12:35:42 -05:00
Florian 30147140bd Add M5 boards compatibility and low power mode (#586) 2020-04-26 19:56:10 -05:00
orrpan ac743ed350 CC1101 433.92MHz support for pilight, rf and rf2 (#585)
* adds CC1101 (433mhz) support esp32 and esp8266
2020-04-23 14:23:47 -05:00
Florian 1385ddfa8d Bypass for ESP not reconnecting by WIFI automaticaly the second time (#580)
https://github.com/espressif/arduino-esp32/issues/2501
2020-04-09 09:19:55 -05:00
Florian d5724bbf1f Correct Arduino boards build errors
Add the necessary macros and move the new OTA function to an appropriate location (for ESP only)
2020-04-08 15:49:09 -05:00
Florian d49402aede [CI] Update travis CI url
.org to .com
2020-04-08 15:32:38 -05:00
Florian 26501b2176 Recover ESP8266 build and ESPWifiManualSetup
#563  Move protocol change method outside of wifimanager scope
and correct build error for ESP8266
2020-04-08 15:14:14 -05:00
Leon Kiefer 0d486633ed Fixed Pilight can not send on RX pin (#577) 2020-04-05 14:29:12 -05:00
Florian bd72075349 refactor connection mng on ESP32 and ESP8266 (#575)
enable after ATTEMPTS_BEFORE_BG
and  ATTEMPTS_BEFORE_BG to try another Wifi protocol
 #563
2020-03-28 20:46:30 -05:00
Florian f991b209e5 Add version into SYStoMQTT gateway status
#537
2020-03-22 20:29:21 -05:00