Florian
ca3bc436ee
Increase the size of MQTT password ( #751 )
...
avoid #716
2020-09-02 15:27:35 -05:00
Florian
6d1d1ac50d
[BT] Remove voltage class ( #750 )
...
and correct wrong comment
2020-09-02 14:49:38 -05:00
Florian
5810420d93
Add ESP32 Olimex ethernet gateway ( #747 )
...
-Add ethernet board
-Add wifi board
-Add ethernet management for ESP32
2020-09-02 14:16:48 -05:00
Florian
7b9944d1ca
Refactor LED management ( #745 )
...
-replace low power led by led info
-enable to change the led ON value
-go upper case for the led macros
Also transform BLE connect warning to notice in log
Add Sonoff RF Bridge LED
2020-08-27 16:24:23 -05:00
Florian
5e2d86e963
Add publish only BLE sensors function ( #741 )
...
don't publish the non identified BLE devices when requested (at build or by MQTT setting)
2020-08-26 17:24:23 -05:00
Florian
8e0c1e5e51
[CI] Identify test envs ( #744 )
...
so as to avoid publishing their bin files and confuse users
2020-08-25 18:36:14 -05:00
Florian
e27acee4b6
[IR] Update IRRemoteESP8266 to 2.7.9 ( #743 )
...
Add HITACHI_AC344 CORONA_AC MIDEA24 ZEPEAL SANYO_AC
2020-08-25 09:53:25 -05:00
Florian
605da549b9
Docs improvements ( #742 )
...
and link to https://compatible.openmqttgateway.com
instead off spreadsheet
2020-08-25 05:42:53 -05:00
Florian
1d7b569c6a
Add IR emitter inverter ( #738 )
...
#611 for m5stickc
2020-08-22 20:45:59 -05:00
Florian
9d22f242e8
[BLE] Callback leads to memory decrease correction ( #740 )
...
and library update
2020-08-22 20:45:39 -05:00
Florian
d6d42bfce5
BLE sensors data through a connect, LYWSD03MMC and MHO-C401 add ( #736 )
...
* Add LYWSD03MMC and MHO-C401 device
and an associated BLE connect mechanism as these devices advertise only encrypted data
-free manufacturer data
-update library
* Implement scans number before connect
-Add the possibility to do a connect every X scan
-Rename variables for consistency
-Some refactoring for improved code reading
2020-08-18 12:28:45 -05:00
Florian
e9910a9165
Arduino NimBLE support ( #732 )
...
* NimBLE-arduino support
* Decorrelate discovery from BLEScan
To avoid Stack canary watchpoint triggered and store sensor model into BLEdevice vector
2020-08-17 09:51:58 -05:00
Florian
a53f8b4339
[DOC] Move default wifi password name ( #731 )
2020-08-14 08:13:28 -05:00
Florian
497d4c647d
[DOC] Binary upload improvement ( #728 )
...
fit with new version of ESP download tool
2020-08-09 10:56:40 -05:00
Florian
519eb73dee
Documentation update ( #723 )
...
-add JQJCY01YM
-add protocol add guidelines
-minor changes
2020-08-06 18:42:34 -05:00
Florian
da63fd3606
JQJCY01YM BLE formaldehyde, temperature, humidity and battery sensor integration ( #722 )
...
* Add JQJCY01YM Formaldcehyde detector
The device publish also the temperature, humidity and battery
* Reduce ServicedataMinLength
so as to read battery data of this device and others
2020-08-05 19:46:50 -05:00
Florian
8d79bebab8
[breaking] Refactor the BLE devices identification ( #720 )
...
* [breaking] Refactor the BLE devices identification
generalize the use of the mac address with : for the lists, white, black and internal identification
Move structures from config_BT.h to ZgatewayBT.ino
update doc
* Move minRssi to INO and optimizations
change Minrssi name to match other variable convention
Optimize the add of : to mac address
Reduce the use of abs()
Note: I cannot move BLEinterval to the ZgatewayBT.ino due to its use on main.ino
2020-08-04 12:03:22 -05:00
Florian
d4457f817a
Enable BT use for Arduino Mega ( #718 )
...
* Enable BT use for Arduino boards
by adding a ArduinoSTL library
* Update doc
2020-08-04 11:40:16 -05:00
Florian
4f84e08219
Identify IRremote library commit ( #719 )
...
and avoid pointing to the last revision
2020-08-03 14:30:50 -05:00
Florian
60d173ff51
Correct value entered into temperature conversion ( #713 )
...
from C to F
The division by 10 must be done before the conversion.
2020-07-27 07:57:55 -05:00
Florian
c6966aa0d9
Remove Test_config.h file ( #712 )
...
* Remove Test_config.h file
It was used for Arduino IDE CI, as we are now using PIO this file is no longer needed
And remove test folder.
2020-07-27 06:56:34 -05:00
Florian
1ae4903af1
Add Avatto/Bakeey IR boards definition ( #706 )
...
* Add Avatto/BAKEEY IR boards definition
Tested with S06
-Emitting IR OK
-Receiving IR OK
-TRIGGER GPIO OK
-led info, brief but OK
2020-07-24 18:30:34 -05:00
Florian and Leon Kiefer
6e9b170c00
[RF] handle 64 bits values (except for UNO) ( #698 )
...
* handle 64 bits values, except for UNO
Arduino UNO is not enough powerfull to handle properly uint64_t in terms of memory so differenciate the variable type depending on the board type
With this configuration ATMega will not be able to receive with simpleReceiving 64 bits values. Of course Json will work with 64 bits values for this board.
* Simplify jsondata.success() condition
* Renamings and optimize deduplication functions
* replace 2 dimensions array by a structure so as to handle the time with an uint32_t when using an ESP (instead of a uint64_t)
* change storeValue and isAduplicate function names
* point to the rcswitch revision with the new 40 bits protocol
Co-authored-by: Leon Kiefer <leon.k97@gmx.de >
2020-07-18 17:14:19 -05:00
Florian
5772a35425
Add M5Atom board ( #697 )
...
based on pico32
BT, IR sending available
TODO RGB LED support
2020-07-10 12:02:58 -05:00
Florian
6aa2a3c1c3
Platfomio libraries definition update ( #694 )
...
Change sha commit separation key for PIO
complete the name of htu21 library,
PIO Add github full path to the libraries def
and add rfm69spi library
and add rfm69 low power
2020-07-08 10:42:08 -05:00
Florian
a3ab39b04e
Initial support of INKBIRD IBS-TH1 ( #644 )
2020-07-02 19:03:20 -05:00
Florian
cf2eaa9c6c
[DOC] Add support methods and contributors ( #646 )
...
* [DOC] Add support methods and contributors link
2020-07-01 09:24:53 -05:00
Florian
5e19a004d7
Minor doc adjustements for low power mode
2020-07-01 06:03:25 -05:00
Florian
2fdaf8463c
Add Andreas Spiess video for Xiaomi Mi Scale to ESP32 use case
2020-07-01 05:55:10 -05:00
Florian
71f1f0c1ec
Update badges
2020-06-24 10:18:44 -05:00
Florian
12a5033ca3
IR signal forwarding by MQTT
...
differentiate command subject so as to enable the repeat on another gateway
add doc info regarding raw forwarding
2020-06-22 07:04:00 -05:00
Florian
924943277a
Troubleshooting doc - add chapter regarding guest network
2020-06-21 18:41:32 -05:00
Florian
7482b34fa2
BLE gateway HM10 Correct token offset for service data
2020-06-21 14:39:17 -05:00
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
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
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
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
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
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
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
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
Florian
a2e23ab79b
Change GPIO input default pin for ESP
...
#528
as it is generating conflict with TRIGGER_PIN (used for reseting and erasing the flash)
2020-03-09 14:48:53 -05:00
Florian
6f2ee97fde
[DOCS] add BLE devices models
2020-02-12 22:36:08 +01:00
Florian
505b590e88
remove sponsoring ability
2020-02-12 21:58:15 +01:00
Florian
85517e842b
[WM] enable automatic erasing of configuration for ESP8266
2020-02-12 21:48:21 +01:00
Florian
31ce9680c9
Add Qingping Cleargrass CGD1 alarm clock ( #548 )
...
Alarm clock with BLE temperature and humidity measurement
2020-02-09 16:42:22 +01:00
Florian
f3c9d6dd90
Lean on Arduino log library instead of custom logging methods ( #546 )
...
* Lean on Arduino log library instead of custom logging methods
2020-02-09 16:01:52 +01:00
Florian
824346b19c
Add compatible fastled version
2020-02-09 16:01:18 +01:00
Florian
aeb00c4a7a
correct build error when using ESPWifiManualSetup
...
#529
add a test environment so as to verify this functionnality on [CI]
2020-01-14 20:59:01 +01:00
Florian
74908f699a
[DOCS] Change welcome picture
2020-01-11 20:23:19 +01:00
Florian
d4280ffde3
[IR] long long value and hex not taken into account
...
Nox we can process long long values and hex key when doing MQTTtoIR.
Also remove simpleReceiving as it only enable to use NEC or Raw
2020-01-11 15:45:50 +01:00
Florian
1cc12e2ecf
improve documentation( #524 )
...
add wifi manager portal screenshots
add M5stick
correct bad link
improve lora doc
2020-01-09 21:42:51 +01:00
Florian
a1cfd57c23
Publish discovery msg at start once
...
#448
2020-01-09 21:16:15 +01:00
Florian
4e14029d65
byte ip should not be defined for all boards
...
if yes the DHCP on ESPs will not be used
2020-01-09 21:15:38 +01:00
Florian
c83b952fdc
memory optim for UNO ( #521 )
...
reduce gateway name
reduce parameters size
correct issue when using advanced config network
comment simple receiving per default (it is set in platformio.ini when necessary)
2020-01-03 20:53:06 +01:00
Florian
c524f04d1f
Replace fixed allocation of json buffer ( #520 )
...
* Replace fixed allocation of json buffer
by a dynamic one, and simplify trace function of json objects
* differentiate the change depending on board memory size
to make it works with UNO
2020-01-02 22:30:20 +01:00
Florian
bde80f408a
replace patreon by github sponsor
2020-01-02 19:55:58 +01: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
1technophile
e4d96b2bfd
Enable to set led into platformio.ini file
2019-12-15 13:50:29 +01:00
1technophile
25375bb37c
unnecessary pub functions removing
...
and use OMG method instead of low level ones
2019-12-15 09:32:15 +01:00
1technophile
1eebf138c2
add version tag to documentation
2019-12-14 20:48:39 +01:00
Florian
ae33ea7458
publish discovery once at each MQTT connection with retain flag set true ( #507 )
...
* publish discovery once at each MQTT connection with retain flag set to true
#448
2019-12-14 19:17:09 +01:00
1technophile
3948a14db9
Add warning to inform about risk of changing BLE scan duration for ESP32
...
#508
2019-12-14 18:49:24 +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
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
c0ddf77c9f
Add VegTrug (Mi Flora like) sensor ( #500 )
...
https://community.home-assistant.io/t/anyone-used-a-plant-sensor-other-than-xaiomi/150868/2
2019-12-08 14:10:37 +01:00
Florian
17809b9d78
[CI] recover tag name from TRAVIS instead of having it hardcoded ( #505 )
2019-12-07 15:00:40 +01:00