Commit Graph
196 Commits
Author SHA1 Message Date
Florian e576b26b8c [BT] Fix HA discovery for motion and door sensor (#1798)
* [BT] Fix HA discovery for motion sensor

* Add status binary sensor and text sensor
2023-11-13 17:14:21 -06:00
Florian 99de6ef4a6 [SYS] Password management improvements (#1787)
* Use one single password for Access point, OTA and WebUI access
* Enable to change the password during WM onboarding, with the WebUI, and MQTT command
* Remove the default password during the first configuration to connect to the AP
* When using the last 8 digits of the MAC as the password, it can now be changed
* Remove gateway password sending to client
2023-11-02 09:10:20 -05:00
DigiH 45bd18b03c [BT] BM2 Tracker addition and Discovery adjustment (#1765)
* BM2 as Tracker additions

* BM2 discovery update
2023-10-12 15:29:20 -05:00
Florian 3470882da0 [DISC] Add BT scan duration parameter auto discovery (#1762)
* [DISC] Add BT scan duration parameter auto discovery

* Add doc
2023-09-30 07:26:57 -05:00
Florian 246423a8a8 [LORA] Improvements, change frequency, webUI, Oled support, add boards (#1742)
* [LORA] Capability to change LORA frequency and Add OLED

Merge of the 2 environments for TTGO V1

* Merge messages keys with upper level json

* Id as a sub topic

* Add display and state measures

* Add frequency configuration through WebUI

* Add parameters

* Add auto discovery

* Add node example for ttgo lora32 v1

* Add environments and fix scope

* Support for sync word as a byte

* Fix TX Power setting

* Add LoRa gateway description

* Add onlyknown filter
2023-09-27 11:12:55 -05:00
Florian 0daabe126e [DOCS] Add RF gateway explanation (#1748)
* [DOCS] Add RF gateway explanation

* Add info about receiving and transmitting capabilities
2023-09-20 19:02:22 -05:00
Florian 7a2bb04a1b [DOCS] Theengs Plug highlight and SEO improvements (#1730)
* [DOCS] Theengs Plug highlight

* Add alt content for images and description
2023-08-11 13:04:52 -05:00
Florian a6c0a3b1d4 [SYS] Add save option to discovery and ohdiscovery key and remove discovery for Arduino boards (#1696)
Enabling to keep discovery off if required

Remove Mqtt discovery for Arduino UNO and ATMEGA
2023-07-30 17:34:58 -05:00
DigiH a210d5462b [WebUI] WebUI command fix (#1705)
• renamed command displaymetric to displayMetric for consistency with reported displayMetric
• added WebUI to receivingMQTT to be able to receive commands
2023-07-02 17:34:12 +02:00
Florian 5ff086a296 [BT] Fix BLE MQTT command trigger a reset (#1698)
Problem introduced with the bump of ESP32 platform from 3.5.0 to 6.1.0
2023-06-26 05:13:41 -05:00
Die Peter Pan 959c3afc6f [SYS] Extend Wifi mode and power change to ESP8266 (#1680)
Extend Wifi mode and power change to ESP8266
 (Fix the spelling of setESPWifiProtocolTxPower)
2023-06-22 14:17:24 -05:00
DigiH 561de90c94 [DOCS] Typo fixes (#1688) 2023-06-16 20:45:31 +02:00
DigiH a5549ee346 [DOCS] WebUI default ota_password added (#1687)
WebUI default ota_password added and typo fixes
2023-06-16 19:07:10 +02:00
Florian 6e23ca029b [DISC] Add runtime configuration for OpenHAB (#1658)
* [DISC] Add runtime configuration for OpenHAB

Add an MQTT configurable system key "ohdiscovery" for OpenHAB auto discovery

* Docs and environments update
2023-05-31 11:35:35 -05:00
Florian 4a28f491f5 [RN8209] Add task WDT (#1657)
Add WDT and reduce update as we now have a change based pub mechanism
Base the change detection on current rather than power and simplify it
Round the result to 2 digits after comma
Add docs
2023-05-30 08:14:23 -05:00
flo-x 73913a33a2 [TOUCH] Add a sensor for esp32's touch sensing (#1650) 2023-05-24 13:22:10 -05:00
DigiH 7df72f6983 [DOCS] formatting fix (#1651) 2023-05-22 14:52:05 -05:00
Florian aa63571537 [DOCS] Improve actuator documentation (#1645) 2023-05-19 10:51:12 -05:00
Florian b1667190d5 [BLE] Add moving beacon detection (#1636) 2023-05-11 07:42:52 -05:00
FlorianandNorthern Man 474b8a87ab [DOCS] Add webUI warning (#1637)
* [DOCS] Add webUI warning

* Update webui.md

---------

Co-authored-by: Northern Man <19808920+NorthernMan54@users.noreply.github.com>
2023-05-08 17:49:02 -05:00
Florian 25991bfbb4 [RN8209] Publish on change detect and heap usage optim (#1630)
Publish the RN8209 depending on a threshold added to a frequency
Also merge the 2 tasks into one to save heap
2023-05-02 10:31:58 -05:00
Northern Man acc0d91ca8 [WebUI] Added Basic Authentication (#1618)
* [WebUI] Added Basic Authentication

* Make the security option a MACRO to avoid typos in future updates
2023-04-27 16:49:09 -05:00
Die Peter Pan abeef870c7 [HM-RD] Added leak/water detection sensor with ESP32 deep sleep / sensor wake (#1615)
Added leak/water detection sensor with ESP32 deep sleep / sensor wake
2023-04-25 17:14:49 -05:00
Tamas DAJKA e3e700449b [RF] Added Pilight RAW packet return support (#1604)
* Added Pilight RAW packet return support - can be enabled in User_config.h
2023-04-25 17:13:01 -05:00
Die Peter Pan 4e51d9ec45 [LPM] ESP8266 and DS1820 DeepSleep (#1591)
Add support for the ESP8266 deep sleep and required change for DS1820 sensor used in my project.

Allow defining DS1820_RESOLUTION and DS1820_INTERVAL_SEC in ENVIRON without editing config file.

Allow DTimeBetweenReadingmq2 Env. MACRO change without editing source config file.

Added some an example ENVIRONMENTS

Add ESP8266_DEEP_SLEEP_IN_US to nodemcuv2-all-test
2023-04-09 17:03:13 -05:00
Florian b806ea9354 [DOCS] Fix tip note for switchbot (#1577) 2023-03-26 10:29:23 -05:00
Florian 404b224871 [DOCS] Update presence detection docs (#1575) 2023-03-24 19:54:21 -05:00
Florian 85650a6204 [BT] Device tracker presence detection (#1548)
Add device tracker detection and automatic creation following HA discovery convention
So as to trigger the away state, add an offline status to the identified BLE trackers
2023-03-20 07:31:00 -05:00
Die Peter Panandandre 3b4af96990 [WIFI] Added macros for ESP - WifiGMode and WifiPower to reduce/eliminate Wifi interference on sensors like HC-SR501 (#1531)
* Fix WiFi interference on PIR

* Added to DOCS re: WiFi interference.

* Add sufficx -custom to configs without prod binaries

* Add ESP32 Wifi band and tx power to user_config.h

---------

Co-authored-by: andre <agreylin@gmail.com>
2023-03-16 17:50:14 -05:00
Florian d530841b0e [DOCS] Add required version for single command OTA (#1542) 2023-03-16 11:23:23 -05:00
Florian 17ce2debce [OTA] Add hourly update routine for update check (#1538)
Update check will be done at start and hourly
2023-03-16 07:59:39 -05:00
Florian 3ceb19f7be [DOCS] Improbe BLE gateway guide (#1530)
Add images, intro and reorganize sections
2023-03-13 19:28:32 -05:00
xopr 50e80f0239 Updated LoRa documentation (#1527) 2023-03-12 18:47:19 -05:00
DigiH df020efd8b [DOCS] RF documentation addions (#1524) 2023-03-12 12:17:51 -05:00
DigiH c7547044fe Scan_Duration as MQTT command (#1516)
Scan_Duration as runtime MQTT command 'scanduration'
2023-03-10 15:12:08 -06:00
Florian 9e642de3aa [DOCS] Clarify RF (#1503) 2023-03-09 09:53:05 -06:00
DigiH 95b749833c [BT] Known Random MAC address filtering (#1514)
* [BT] Random MAC address filtering

Random MAC address filter with runtime boolean setting
randommacs

* APPLE_CONT added to discovery and data process
2023-03-09 09:35:16 -06:00
DigiH 113ce15643 [SSD1306] displaymetric (#1504)
display-metric; removed hyphen to displaymetric, for discovery compatibility.
2023-03-06 12:16:48 -06:00
DigiH 3b6b758098 [SSD1306] Save/load/init/erase SSD1306 configs (#1501)
* Save/load/init/erase SSD1306 configs

Save/load/init/erase SSD1306 configs to stick across restarts, overwrite defaults

* SSD1306 combinable
2023-03-06 10:19:31 -06:00
DigiH 1b5215de42 [SSD1306] Partial MAC address in BLE title (#1498)
* partial MAC in title

• Last three octets of MAC address in title to differentiate devices with the same model name.
• fixed memory leak
• process optimisation

* lcd to oled

lcd to oled renaming
2023-03-03 14:53:07 -06:00
Florian 1cdf6558a9 [ONOFF] ESP32 Attempt to recover previous actuator state when power has been lost and overcurrent detection change (#1494)
And set the trigger of overCurrent to 2 consecutive measures
2023-03-01 17:44:07 -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
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
DigiH bc9311828a [DOCS] Adaptive scanning addition (#1468) 2023-02-22 07:13:50 -06:00
Florian 52a13c4826 [DOCS] Add reset time and low power mode indications (#1452) 2023-02-10 18:49:50 -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 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
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