Commit Graph
834 Commits
Author SHA1 Message Date
Leon Kiefer 18c8524ae0 added somfy repeat option (#957)
update somfy dependency to fix bug with multiple somfy remotes
2021-05-24 15:09:18 -05:00
Leon Kiefer aaf1d17495 Merge pull request #956 from Legion2/fix-secure-manual-wifi
Fixed WiFiMulti when secure connection is enabled
2021-05-24 15:44:24 +02:00
Leon Kiefer 3a2e88e089 fixed WiFiMulti if secure connection is enabled #934 2021-05-24 14:29:40 +02:00
h2zero 295d39bc27 Trigger firmware update via MQTT (ESP Only). (#953)
If enabled in user_config.h this will trigger the OMG to update it's firmware from the link
provided in the MQTT message.

Example message:
{\"version\":\"test\",\"password\":\"OMGPASSWORD\",\"url\":\"https://github.com/1technophile/OpenMQTTGateway/releases/download/v0.9.6/esp32dev-ble-cont-firmware.bin\"}

If the firmware version in the message is not the same as the current OMG version the device will self update using the link in the url of the message.
2021-05-23 16:38:52 -05:00
Florian 8ef3a61e75 Add INKBIRD IBBQ IBT-4XS (#955)
* Add INKBIRD IBBQ IBT-4XS

BBQ temperature sensor with 4 probes
2021-05-23 14:45:57 -05:00
Florian fb7ad1b2ca Add Inkbird IBS-TH2 (#954)
Temperature sensor for freezer, fridge
2021-05-23 10:14:02 -05:00
h2zero 4706d75adc Remove unsubscribe and disconnect calls in BLEconnect. (#948)
These calls were unecessary as the client object swill be deleted when finished with the connection.
2021-05-16 21:07:21 -05:00
h2zero c82f6cadb6 Remove reinitializing the BLE stack on each scan. (#949)
Using NimBLE requires less resources than bluedroid so it is much less beneficial to
deinitialize the stack. Instead this initializes it once in initial setup and only deinitializes
before entering deep sleep.
2021-05-16 20:12:04 -05:00
h2zero e3731bdccf Cleanup compiler warnings in strict environment. (#945) 2021-05-16 19:47:50 -05:00
Northern Man 5ccd10abb3 Update to latest version of RC-SWITCH (#950) 2021-05-16 09:28:42 -05:00
Northern ManandNorthern Man f69906861d Active Receiver Switching (#936)
* PR #934

* Active Receiver Switching

Switching of the active receiver module is available between the RF,
RF2, RTL_433 and Pilight Gateway modules, allowing for changing of
signal decoders without redploying the openMQTTGateway package.
Sending a JSON message to the command topic of the desired receiver
will change the active receiver module.

Other minor adjustments/improvements

1 - Improved startup serial logging that includes
- OpenMQTTGateway Version
- OpenMQTTGateway Modules

2 - Trace logging of full Gateway module command topic
 - Enabled in RF, RF2, PiLight and RTL_433

3 - Updated RTL_433 Documentation to only include enabled ASK/OOK
device decoders

4 - Trace logging of MQTT Callback topic

* Regression testing

* Adding valueAsASubject support to rtl_433_ESP
- model and id keys are appended to message topic

* Increased memory size for receiver switching in blocking build all

Co-authored-by: Northern Man <sgracey@Heisenberg.local>
2021-05-10 19:36:25 -05:00
Florian 9fb3d90da9 Add BLE WS02 SensorBlue beacon (#932)
https://github.com/h2zero/NimBLE-Arduino/issues/215
2021-05-08 17:59:32 -05:00
melyux 1de93d3f1d Enable the BME280 options to be settable using PlatformIO build flags, add and organize documentation (#942)
* Allow BME280 options to be build flaggable

* Update and clarify documentation for configurations and builds
2021-05-07 05:50:55 -05:00
Northern ManandNorthern Man 2744510822 Usability Improvements for esp32 platform (#934)
* Increased ESP32 base capabilities

1 - Expose SERIAL_BAUD as an optional compiler directive.
2 - Enabled mDNS based MQTT Host name lookup for ESP32 devices.
3 - Expand capability of ESPWifiManualSetup mode for multiple SSID’s.
Tested with ESP32

* Regression testing of ESP8266 and ESP32

* Removal of Wifi Debuging

* Fix lint issue

Co-authored-by: Northern Man <sgracey@Heisenberg.local>
2021-04-28 20:16:12 -05:00
Florian 4d49f5b08e Correct build error if discovery deactivated (#930)
#920
2021-04-23 21:28:33 -05:00
Martin KorbelandMartin Korbel 23cd2a3104 GridFree SUN-2000G (#926)
* Support for GridFree Sun-2000G inverter

* Bump version of GFSunInverter

Co-authored-by: Martin Korbel <korbel@blackserver.cz>
2021-04-23 20:40:09 -05:00
Brian Lough e7b964ef5b Updating link to bootloader address (#929)
Fix for #928
2021-04-18 07:35:44 -05:00
DigiH ac41f95cfc Typo fix (#924)
Type in sending status command to MQTTtoRTL_433. "-1" should be "1" as it produces an error otherwise.
2021-04-14 20:02:48 -05:00
Florian e1aef48296 [Breaking] Deactivate Home Assistant presence per default (#915)
And enable to activate it by MQTT
2021-04-04 19:34:36 -05:00
Florian adc5f157cd Add hass auto discovery gif and img (#916)
and update M5Stack docs
2021-04-04 14:53:00 -05:00
Florian 6c8ba53276 Add BLE setScanDuplicateCacheSize (#911)
#906
2021-04-03 07:44:28 -05:00
Northern ManandNorthern Man 55dd571c49 Clean up of redundant compiler definitions (#913)
CC1101_FREQUENCY
ONBOARD_LED
RF_RECEIVER_GPIO

Co-authored-by: Northern Man <sgracey@Heisenberg.local>
2021-04-01 17:16:14 -05:00
Florian 45bc08832a PVVX LYWSD03MMC Add doc information (#912) 2021-03-30 19:20:16 -05:00
Florian f01b7184a0 Resolve issue with wifi reconnection on M5Stack boards (#907)
And update libraries
2021-03-27 09:26:15 -05:00
Florian cd55f0dfd5 Add CGPR1 Qingping PIR and luminance sensor (#905) 2021-03-25 19:40:35 -05:00
Florian b9151bb6ac BLE low power mode and settings optimization (#902)
* BLE low power mode and settings optimization
-low power mode settings example
-take into account parameters following #891
-add esp32dev-ble-cont for door/window sensor listening

* Disable WDT during scan

* update esp32 arduino framework
2021-03-25 18:53:47 -05:00
Florian 863a56b389 Change ESP8266 Json Buffer Size (#903)
768 causes core dump so go back to 512
2021-03-22 19:05:41 -05:00
Florian d0489d1a85 Correct uptime display on trace (#904)
and set unit to s
2021-03-22 19:05:14 -05:00
Florian b22870c620 [DOC] Replace transparent background by white
better display with github dark mode
2021-03-19 05:49:05 -05:00
Florian 221afa98b0 Change uptime calculation method (#901)
and revert #897
2021-03-18 15:07:59 -05:00
Northern ManandNorthern Man 401cc39123 Updated version of rtl_433_ESP, resolve random stack overflow (#900)
Co-authored-by: Northern Man <sgracey@Heisenberg.local>
2021-03-16 19:27:15 -05:00
Florian ad72211d71 Add CGH1 Qingping Cleargrass window and door sensor (#899) 2021-03-16 19:24:35 -05:00
Florian 46e1ee422a Increase json buffer (#898)
discovery msg and systomqtt require now a bigger buffer
2021-03-16 17:41:50 -05:00
Florian 0e8b619bb9 [BREAKING] Change uptime unit from seconds to minutes (#897)
* Change uptime from s to min

to prevent going to the max of unsigned long
2021-03-14 19:31:53 -05:00
Florian 625f7f358b Publish SYStoMQTT scan count (#896) 2021-03-14 15:05:09 -05:00
Florian 8afb1c5223 Enable deactivation of BLE connect (#895)
Useful if you want to scan continuously for BLE device, in this case you should deactivate the BLE connect to avoid concurrency between scan and connect
2021-03-14 12:53:26 -05:00
Florian e2feb0bc24 Wifi reconnection improvements (#894)
Deep sleep should be activated only when failing connect on low power mode.
Correct reconnection on esp8266. Unfortunately WiFi.reconnect(); prevent the esp8266 from reconnecting, so we reduce its scope to ESP32
2021-03-12 14:54:41 -06:00
Florian 0f7ac4bcce Update rcswitch library (#893) 2021-03-11 17:17:04 -06:00
Florian c3cdd8f04c Remove wifi protocol auto change (#882)
#575
so as to see if in conjunction with the platform update we get a better stability of wifi
2021-03-11 15:55:21 -06:00
Florian ac9e8347ed irremote esp8266 bump to 2.7.15 (#892)
* irremote esp8266 bump to 2.7.15

* lint format
2021-03-11 15:53:28 -06:00
Northern ManandNorthernMan54 57bc108da4 Initial pull request for rtl_433 support (#886)
* Initial pull request for rtl_433 support

Co-authored-by: NorthernMan54 <sgracey@Bart.local>
2021-03-11 12:43:05 -06:00
Csiki bcd45d68f4 Minor BT refactor (service_len) (#890) 2021-03-10 17:48:08 -06:00
Csiki fd0518ae46 Support pvvx firmware custom type messages from LYWSD03MMC (#889) 2021-03-10 15:09:06 -06:00
Florian 48791b2c88 Correct parameters count on discovery (#887) 2021-03-08 18:03:03 -06:00
Florian 244dc903b0 Add CGDK2 BLE temperature and humidity BLE sensor (#884)
* Add CGDK2 BLE temperature and humidity BLE sensor

and remove batt from CGD1 (this sensor does not advertise battery value)
2021-03-04 19:26:50 -06:00
Florian a6fb17595e [BREAKING] remove tem key (#883)
* [BREAKING] remove tem key

we rely now on tempc and tempf only
2021-03-03 18:38:37 -06:00
Florian be5a93a91a Update platforms and ble lib (#881)
* Update platforms and ble lib
* esp32 3.0.0 and not 3.1.0 due to build error on ttgo t beam

https://github.com/platformio/platform-espressif32/issues/502
2021-03-03 15:52:40 -06:00
Csiki ebd6bb8031 Bt discovery fix (#880)
* launchDiscovery fix for esp32 (sending the discovery mqtt messages on the main core)
2021-03-02 17:13:14 -06:00
Florian cd282596e0 Correct advanced network parameter setup on ESP (#878)
#790
2021-02-26 19:44:20 -06:00
Florian 28ff1a553a Correct build issue when discovery is disable (#877)
#875
2021-02-26 15:47:38 -06:00