Commit Graph
1184 Commits
Author SHA1 Message Date
Florian fa636bae0f [BT] Adaptive scan sequence change (#1493)
When reactivating adaptive scan, restore default
2023-03-01 17:09:18 -06:00
DigiH c77a16867d [SSD1306] BLE devices display - Take 2 (#1492)
* BLE Display - THB, THBX, PLANT, AIR, BATT, BODY

* SCALE

* BBQ

* Filter MS-CDP, GAEN and IBEACON

* Mopeka & Smart Dry

* ACEL

ACEL sensor, as most also have temp and hum, but no acceleration info display included so far.

* Only display when properties are present

Only display when properties are present, to avoid model only display for devices which require active scanning at a larger interval, e.g. Mi Band and similar.

* LilyGo-BLE environment

* BLE display relocated

BLE display relocated to have pubadvdata "type" in message, required for the different type display functions.
2023-03-01 15:09:45 -06:00
DigiH a6e0f6094c Inverted position shifting idle logo (#1484)
* Inverted idle logo

Back on white background start-up logo.
Inverted idle logo with random positioning.

* Idle Logo display default true

DISPLAY_IDLE_LOGO true as burn-in screens saver, especially fo the constant heading and line

* Display Brightness added

* SSD1306toMQTT / MQTTtoSSD1306

Additional "onstate" and "brightness" setting and regular display state reporting

Docs - separate Displays section
2023-03-01 14:36:05 -06:00
Mark Smith ecd23b9680 Allow for both BT and RTL_433 Gateways at the same time. (#1491)
* Allow for both BT and RTL_433 Gateways at the same time.

* Fix linting error.
2023-03-01 14:09:51 -06:00
Florian 454a062b3b [OTA] Enable 2 clicks OTA update / one simple MQTT command (#1485)
* [OTA] Add automatic OTA updates

This feature will enable to update the gateway with one button or a simple MQTT command.

* [CI] Enable automatic OTA for nightly development builds

And integrate the latest_version file creation into the CI

Enable to specify a particular version
and switch between dev and production builds
2023-02-27 12:54:30 -06:00
Florian e83bfb0e4d [DOCS] Add video link and fix existing one (#1486) 2023-02-25 11:06:18 -06:00
DigiH d124cd53a4 default_envs update (#1481)
default_envs in platformio.ini updated to contain all environments of environments.ini in the respective order
2023-02-23 13:55:08 -06:00
Northern Man 239acaab13 Fix for failed build with ZsensorGPIOInput and ESPWifiManualSetup (#1479)
* Fix failed build with GPIOInput enabled and ESPWifiManualSetup
2023-02-23 13:54:25 -06:00
Northern Man 032a82e5e2 Create in use binary sensor for RN8209 Current sensor (#1474) 2023-02-23 13:52:29 -06:00
DigiH 7510e7a273 [DOCS] Manual Wifi correction and clarification (#1476) 2023-02-22 07:14:45 -06:00
DigiH bc9311828a [DOCS] Adaptive scanning addition (#1468) 2023-02-22 07:13:50 -06:00
DigiH 350e1b69b6 Decoder Dev Branch (#1478)
Setting the Decoder URL to the Dev branch again for nightly OMG Dev builds
2023-02-21 20:57:47 +01:00
DigiH 7ffdb51d1f New Logo for SSD1306 (#1471)
* New Logo for SSD1306

New Logo Display hard coded coordinates and vectors for SSD1306.

* Improved Lines
2023-02-20 13:05:35 -06:00
Florian e3fca93e67 [DOCS] Support details (#1466) 2023-02-17 08:29:27 -06:00
Florian 8959e0cda8 [Discovery] Remove legacy entities (#1463)
To avoid a manual removal from the broker, remove legacy entities automatically
2023-02-16 16:33:40 -06:00
Florian b9607fb70e [DOCS] Replace video preview (#1465) 2023-02-16 13:54:07 -06:00
Florian bf95ae13e8 [DOCS] Add media references (#1464) 2023-02-16 13:45:13 -06:00
Northern Man e30870c053 HomeAssistant Status reporting improvements (#1460)
* Status reporting improvements

* Fix lint issues
2023-02-15 15:29:12 -06:00
Northern Man e5ef78b010 Corrected device_class for DT24 Bluetooth Voltmeter (#1459)
Found during Power Meter testing that the DT24 voltage and current discovery values were being created as power and not voltage and current.
2023-02-15 15:27:58 -06:00
Florian 091d8a4fa7 [BT] Fix for saving interval and intervalacts separately from the save keyword (#1462)
The interval and intervalacts were overwritten at startup when adaptive scan was deactivated
2023-02-15 15:27:29 -06:00
Florian d09f13bf86 [CI] Add build as a prerequisite of the documentation (#1457)
So as to avoid empty upload page
2023-02-13 16:39:48 -06:00
Florian b7e0872f05 [ONOFF] Set power indicator status at start (#1456)
So that it reflects the real state of the relay even if a restart of the board was done
2023-02-13 10:18:18 -06:00
Marcel Stör df8943bf52 Add missing ThingPulse envs (#1455)
This fixes #1369 that added the actual parameters but forgot to add an env line.
2023-02-13 05:23:54 -06:00
Florian 37dfe8008c [BT] Bump decoder to v1.2.0 (#1454) 2023-02-12 16:27:10 -06:00
Northern Man c829152f29 Removed availability reporting for non-local sensors ie bluetooth sensors (#1453)
* Fix availability reporting of remote sensors
2023-02-12 08:24:35 -06:00
Florian 52a13c4826 [DOCS] Add reset time and low power mode indications (#1452) 2023-02-10 18:49:50 -06:00
Florian 6dbcd0d888 [LED RGB] Enable ON OFF Led power display depending on actuator status (#1451)
Switch ON the power LED to green when the Actuator is ON and switch it OFF when the Actuator is OFF
2023-02-10 18:49:18 -06:00
Florian 115fdf80aa [BT] Improve conditions of adaptive scanning (#1450)
To avoid setting several times the BLEinterval for one sensor
2023-02-10 17:54:56 -06:00
Florian 5bcf214d68 [LPM] Add capability to deactivate the function at build time (#1449)
To enable boards with the constant power supply to don't build this function.
Change the default behavior for the mode not to be built by default.
Only the boards with batteries are keeping it
2023-02-10 17:07:28 -06:00
Florian 7c0fafd48e [BT] Continuous active scanning when adaptive scanning is false (#1448)
Set `interval` and `intervalacts` to the minimum when adaptive scanning is deactivated. When the user encounters a situation on which a device is not detected due to adaptive scanning, we set the gateway to continuous active to maximize the chance to detect the device.
2023-02-10 17:05:52 -06:00
Florian 159d362f2a [TRIGGER] Enable reset at start when InputGPIO is used (#1447)
TimeToResetAtStart defines the start period
2023-02-10 17:04:58 -06:00
Florian 799d8e2e85 [WIFI] Increase delay between first wifi connection attempt (#1446)
This improves the chances of reconnection with this mode (before doing it with the wifi manager part)
2023-02-09 16:19:12 -06:00
Florian 1b0778dc0a [LPM] - Update state (#1445)
When issuing a low power mode change update the state to the controller
2023-02-09 16:18:39 -06:00
Florian 26c0cca614 [LPM] - Fix reboot loop when low power is used (#1444)
By not deinitializing BLE at the start, if it has not been initialized. Setting the time between waking up from the macro rather than the config interval.
This one does not have a value at the start.
2023-02-09 15:19:09 -06:00
Florian 53e4473810 [HA Discovery] - Optimize low power mode discovery (#1443)
Merge the sensor and the switch in one entity
2023-02-09 14:45:18 -06:00
Northern Man efd24735a7 First Pass (#1442) 2023-02-09 13:33:55 -06:00
Florian ec1731b566 [DOCS] - Add nightly builds link (#1441) 2023-02-08 11:22:45 -06:00
FlorianandDigiH f283327998 [BT] - Adaptive scan (#1440)
* [BT] Adaptive scan

Add adaptive scan to avoid users setting parameters and deduct automatically the scan requirements from the list of devices

---------
Co-authored-by: DigiH <github@digih.net>
2023-02-07 17:36:18 -06:00
DigiH 05f83c5f80 Active Scan Interval (#1433) 2023-02-07 12:25:40 -06:00
dependabot[bot] 03c83fb69c Bump http-cache-semantics from 4.1.0 to 4.1.1 (#1435)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-04 16:19:57 -06:00
Florian 2ab603e1be (CI) Only build doc and binaries on owner repository (#1434)
This will avoid nightly errors on forks
2023-02-02 21:12:35 -05:00
DigiH bd9dcf1ec8 Tag properties visibility (#1432)
Tag properties visibility to be included with "pubadvdata" setting
2023-02-01 19:41:01 -06:00
Frank Zhang 2c759408c3 Added board AirM2M CORE ESP32C3 (#1429)
* update: Add board Airm2m Core ESP32C3

* update: added custom description
2023-01-31 20:23:15 -06:00
Florian e53c48dd96 [ONOFF] - Improve Led display (#1430)
Improve Led display when limits are reached
2023-01-27 14:35:39 -06:00
Florian 23160ad8b4 [ONOFF] Publish state at start and at a given frequency (#1427)
To update state of the controllers
2023-01-26 20:13:16 -06:00
Florian 51357191df [ONOFF] Add overcurrent protection (#1426)
Add a function that switches OFF the actuator if the current measured is more than MAX_CURRENT_ACTUATOR
2023-01-26 19:51:12 -06:00
Florian 8d2aacc358 [BT] Bump Theengs Decoder to v1.1.0 (#1425) 2023-01-26 13:43:16 -06:00
Florian 4e885a7cd0 [BT] Regular BT connect based on time (#1423)
instead of number of scans, as users changing the interval to continuous scanning may have connect attempts to frequently
2023-01-26 09:28:16 -06:00
Florian a64acab7c8 [BT] Regular BLE system parameter pub (#1422)
Publish BT config parameter at start so as to update the switch statuses in the controller
Also publish regularly in case of controller restart
Also move btqsum, btqsnd and btqavg to BTtoMQTT topic instead of SYStoMQTT as they are more relevant here
2023-01-26 08:18:44 -06:00
Northern Man 150603555c Update to ZdisplaySSD1306 to reduce overall resource usage, and enable message queuing (#1417) 2023-01-26 08:17:53 -06:00