Commit Graph
1096 Commits
Author SHA1 Message Date
Florian 31403d8623 HA auto discovery - Add numbers for interval and scans netween connects (#1357)
To be able to set those values directly through the HA interface
2022-12-12 15:41:30 -06:00
Florian 1aabfb8cb8 HA auto discovery - Transform switch discovery to button when relevant (#1356)
BLE force scan, restart and erase of the gateway can be triggered with a button instead of a switch
2022-12-12 14:35:14 -06:00
Florian a85a98c43f [DOCS] Update firmware_build dev path (#1355)
So as to link properly to the manifest

Make the website name more explicit

so as to avoid confusion with the production one
2022-12-09 13:40:23 -06:00
Florian f5ef267d02 [DOCS] Move base outside of ThemeConfig (#1354) 2022-12-09 09:15:20 -06:00
Florian 0e76170a55 [DOCS] Add base directory (#1353) 2022-12-08 15:31:50 -06:00
Florian 448b1445d3 [CI] Update sha retrieval (#1352) 2022-12-08 13:20:50 -06:00
Florian 818a091e14 Add capability to build docs to a dev folder (#1351)
To enable the web upload from dev versions
2022-12-08 12:59:13 -06:00
FlorianandFlorian 47108d8b58 Remove unnecessary macro (#1348)
This macro is not necessary to add per environment as it is present into com-esp as a global macro for all ESP, also modifying nodemcuv2-mqtt-fw-test env to test self signed only. Removing env:esp32dev-mqtt-fw-test as self signed cert are already tested into env:esp32dev-ble-aws.

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2022-12-07 11:25:23 -06:00
FlorianandFlorian 4e6993824e [CI] Upload binaries and lib as Artifacts on PR/branches (#1347)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2022-12-07 11:06:55 -06:00
dependabot[bot] 73406c7eb6 Bump decode-uri-component from 0.2.0 to 0.2.2 (#1345)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 08:38:28 -06:00
melyux b2666dcc83 Add BMP280 support, compiler directive support for oversampling (#1344) 2022-12-05 09:51:45 -06:00
h2zero b9e6c4faba Workaround unsecure AP bug on restart. (#1343) 2022-12-04 18:21:12 -06:00
FlorianandFlorian 4bbdeadb53 Update RN8209 sensors names (#1342)
to NRG to be more generic

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2022-12-01 11:13:41 -06:00
FlorianandFlorian 20946f489a [DOCS] Add password tip (#1341)
* [DOCS] Add password tip

* Add mention of the Android popup

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2022-12-01 11:12:57 -06:00
DigiH 07b2a051ec Typo and clarification (#1340) 2022-11-30 20:13:45 -06:00
Florian 5a42b02ad8 Enable to configure the OTA password from the Wifi Manager portal (#1339)
So as to enable the user to change the default one when setting up the gateway
2022-11-30 14:51:37 -06:00
Florian dee3ef4de5 Improve reset mechanism when MQTT is not connected (#1338)
This enables to wait less for the reset to trigger
2022-11-30 14:27:27 -06:00
Florianandh2zero 8ee1c4e524 RN8209 energy sensor support with watt, voltage and current. (#1337)
Co-authored-by: h2zero <powellperalta@gmail.com>
2022-11-29 18:41:47 -06:00
Florian 145896516d Enable to set Manufacturer and Model (#1336)
from macros
2022-11-29 10:48:00 -06:00
Florian 8714141630 Remove the devices that have Random Mac from the internal memory (#1335)
So as to avoid to have a growing memory consumption, indeed each time these devices change their MAC it will create a new entry into the list. This increase continuously the memory consumption of the list. And as these devices can't be discovered and doesn't have interest to be white or black listed we don't store them
2022-11-28 20:29:07 -06:00
Florian c58e765253 Enable to keep actuator on off state in case of restart (#1334)
and publish status as a json when triggering actuator on off through a button
2022-11-28 20:28:40 -06:00
Florian 66588149a8 Change Error color to orange on RGB (#1333)
And enable its display when entering the WM portal
2022-11-28 20:28:03 -06:00
Florian c98511ba36 Set the AP name with the short name plus the 4 first digits of the ESP mac (#1331)
so as to don't disclose the password used for WM.
Also change the wm password from MAc to be the last 8 digits, as these will change more than the first 8 ones.
Also make consistent the ifndef qnd the parsing between WM_PWD_FROM_MAC and USE_MAC_AS_GATEWAY_NAME
2022-11-28 20:06:36 -06:00
Florian 3e9fbb21ff Move the button check at start of the program (#1330)
So as to enable to trigger the wm portal before the setup of all the modules
2022-11-28 20:04:48 -06:00
Florian 74a8698117 Bump Theengs Decoder to v0.9.7 (#1332) 2022-11-28 17:53:58 -06:00
Florian 2ada47c3bc Enable to set the WM pwd from the Mac (#1323)
So as to reinforce security for AP configuration access, enable to set the Wifi Manager Password from the 8 first digits of the ESP Mac address
2022-11-28 13:21:03 -06:00
Radim 4afb4a972f Adc bugfix (#1328) 2022-11-28 11:35:11 -06:00
David Furey ec96b72d96 Support LM75 temperature sensor (#1327)
* First draft of LM75 sensor based on HTU21 sensor

* Initialise I2C on ESP8266

* Add LM75 sensor to test builds

So that it will be tested with the continuous integration
2022-11-28 11:31:46 -06:00
David Furey a41a529820 Update link to ESP boardmanager docs (#1325)
Looks like project has switched from markdown to reStructuredText
2022-11-20 16:05:47 -05:00
Florian ec21cbb880 Update default certificate of Github (#1322)
So as to enable updates with a payload without the cert, and add a command example. Also so change the update message to notice level
2022-11-16 15:16:32 -06:00
Florian f5ce12a641 Add rgb gpio powering pin (#1321)
* Add RGB GPIO powering pin

When the RGB Led is powered by an uC pin, enable to power it up from the led setup

* Comments improvements
2022-11-16 14:15:00 -06:00
Florian 33e162111a Add RGB Led management for errors, infos, and send receive events (#1320)
* Add RGB Led management for errors, infos, and send receive events

Add RGB led management for indicators, integrate it for M5 Atom and ESP32 C3 and S3 dev board
Update Fastled version to 3.5.0.

The default behavior is with regular LED, to use RGB Led the macro RGB_INDICATORS needs to be define, along with the FASTLED_IND_TYPE, FASTLED_IND_DATA_GPIO and FASTLED_IND_NUM_LEDS
Note that some RGB led need to have a different color scheme, so in this case it can be entered along with the data PIN definition: -DFASTLED_IND_DATA_GPIO=27,GRB

* Add FastLed library to the environments
2022-11-16 12:58:22 -06:00
Florian 0099a579d2 Update VuePress (#1319) 2022-11-13 16:52:19 -06:00
dependabot[bot] f32a9e77a5 Bump minimatch from 3.0.4 to 3.1.2 (#1318)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-13 12:41:36 -06:00
h2zero 9d7086558b Update Arduino core and BLE/WiFiManager libs. (#1310)
* Update Arduino core and BLE/WiFiManager libs.

* Add esp32-s3 and esp32-c3 environments.

* Update build script to use matrix.

* Update release build.

* Fix WiFiManager crash

* Use espressif32 version 3.5.0 for standard ESP32.

* Resolves BLE scan_evt timeout issue with latest version (5.2.0).

* ESP32C3 and ESP32S3 Env's use espressif32 version 5.2.0.

* Update LED pins for C3/S3 environments.
2022-11-13 12:35:18 -06:00
Sami Salonen 3d589ffa90 Handle OTA actively when MQTT is not connected (#1307)
* Handle OTA actively when MQTT is not connected

Resolves #1292

* Fix compilation for targets not having OTA

* ArduinoOTA.handle() only with non-ESP targets

* OTA check before reboot: fix condition and add more comments


Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-11-13 09:34:20 -06:00
Florian 62553dc2dd Add link to shop (#1317)
and remove the link to Board to avoid overloading the top bar
2022-11-11 13:38:20 -06:00
Radim d392964b90 ADC improvement & fix (#1314)
* fix when ADC_DIVIDER is defined
NEW multiple readings option

* publish at least every 1min

* define minimum pub adc interval
2022-11-10 06:21:05 -06:00
Northern Man e8cb115602 Update to rtl_433_ESP v0.1.4 (#1316)
Minor tuning of rtl_433_ESP signal reception for CC1101 and sx127x
2022-11-10 06:19:59 -06:00
Florian fa88862081 Update RF module wiring (#1315)
to suggest 3.3V wiring instead of Vin, as Vin may not be always connected to the USB port on the development boards, also remove ESP8266 BT images (not supported anymore), also add mention to Heltec SX127X boards
2022-11-10 06:19:30 -06:00
crasu 7c8b85f9f4 fix rf gateway f strings (#1313)
Signed-off-by: Christian Krämer <christian.kraemer@tngtech.com>
2022-11-07 10:30:51 -06:00
crasu 567c2053c0 check spi connectivity for c1101 (#1287)
Signed-off-by: Christian Krämer <christian.kraemer@tngtech.com>
2022-11-03 07:45:08 -05:00
Radim 7d10502b8d fix pub of res field (#1311) 2022-11-03 07:40:51 -05:00
Florian b2a757f28b [DOCS] Add RadioLib mention (#1304) 2022-10-26 06:16:02 -05:00
Florian 1f93fe3976 [DOCS] Remove git license (#1303) 2022-10-25 11:59:17 -05:00
Northern Man fd8c3a79ae Updated docs for the Heltec ESP32 Board (#1301) 2022-10-23 19:34:59 -05:00
Florian 7837369993 Add Heltec board into the default env (#1300)
and list it in the web uploader
2022-10-23 16:10:59 -05:00
Florian 7f228647f0 Bump Theengs Decoder to v095 (#1298)
* Bump Theengs Decoder to v095

* IBT-4XC inclusion by @DigiH in #208
* ThermoPro TP359 by @DigiH in #210
* IBS-TH1 external probe differentiation by @DigiH in #211
* CGG1 firmware extension by @DigiH in #218
* Otio/BeeWi BSDOO by @DigiH in #214
2022-10-23 15:55:23 -05:00
Florian c612169ba8 Fix discovery duplicates for BT devices (#1297)
Fix isdisc = true identification, introduced by https://github.com/1technophile/OpenMQTTGateway/commit/25b8123ff6471352951d3def22c815017f5f11e1
2022-10-23 13:37:20 -05:00
Northern Man 19d58e01e0 Defensive code for Heltec Display (#1296)
Added to Heltec board display code logic to reduce corruption of messages on the display

Two piece of defensive code were added

- Only display messages to the display when operating on Core 1 ( Default Arduino ESP32 CONFIG_ARDUINO_RUNNING_CORE )

- Only display one character/string at a time

In the event of failure, default to Serial output.

PS SSD1306 driver similar issues

https://github.com/ThingPulse/esp8266-oled-ssd1306/issues/326
https://github.com/ThingPulse/esp8266-oled-ssd1306/issues/352
2022-10-23 13:36:59 -05:00