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
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
a05fd01505
remove default path when cliking on sidebar menus ( #502 )
...
change link to sources
add credits and some shape for readme
add cleargrass with air pressure and mi band
add PWA
add plugins
Add new boards
improve doc with boars and ble devices
2019-12-04 21:18:32 +01:00
Florian
235413a3cd
add m5stick board ( #499 )
...
Add both board to automatic build with:
BLE (both)
Trigger pin for parameters reset (both)
IR for m5stick
Button reading for m5stack
Add also Trigger pin for parameters reset on m5stick-c
2019-11-26 22:22:17 +01:00
Florian
2db4da014d
Add of cleargrass temperature, humidity and air pressure sensor ( #494 )
...
* cleargrass temperature, humidity and air pressure sensor add
* new method of data retrieving for standard cleargrass (enable more frequent data reading)
2019-11-17 21:25:54 +01:00
Florian
6f73160d14
implement minimum rssi filtering ( #482 )
2019-11-12 20:48:23 +01:00
1technophile
34d31600ee
Correct vuepress config error and add code auto deployment
2019-11-08 22:44:48 +01:00
1technophile
e14c70cace
prepare v0.9.3beta
2019-11-08 22:12:35 +01:00
Florian
f13c110794
update esp32 and esp8266 platforms ( #490 )
2019-11-08 22:07:08 +01:00
Florian
bb8ba4ba60
update ( #489 )
...
add fastled doc
add links to bootloaders and boot app0
Arduino IDE upload instructions add
add community
2019-11-08 22:03:52 +01:00
Florian
c0204de40f
automate libraries deployment for arduino IDE ( #488 )
...
make the use of arduino IDE easier by automating the libraries deposit into github releases
2019-11-08 21:35:28 +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
1c147e3289
set the name of the wifi AP to the gateway name
2019-11-02 12:57:27 +01:00
1technophile
b23c261f8b
avoid deployment of docs if no tag is set
2019-11-02 12:54:56 +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
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
Florian
21773300ec
auto deployment ( #479 )
2019-11-01 20:06:31 +01:00
1technophile
27c36a5908
add sonoff basic definition
...
add sonoff basic parameters to platformio.ini file
2019-11-01 17:40:43 +01:00
1technophile
337028ea63
add Xiaomi MiLamp Night led on BLE gateway
...
report detected mouvement through a "presence" set to true (will never be false for info) & a darkness attribute:
{"presence":true,"darkness":46}
the ble interval must be set to 0 if you want to scan permanently for movements
2019-11-01 15:29:05 +01:00
Florian
82c7d0c781
Miband steps ( #478 )
...
add mi band steps reading
2019-11-01 10:25:10 +01:00