Commit Graph
1226 Commits
Author SHA1 Message Date
Northern Man 4e93722098 [SSD1306] Fix reboot loop with latest ESP32 platform (#1551) 2023-03-20 07:35:14 -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 Pan 7bae999435 [TEMT] Added Temt6000 light sensor using a d1 mini (#1550)
Added light sensor TEMPT6000
2023-03-18 09:33:35 -05:00
Florian c12f51ee0e [OTA] Remove version_tag from title (#1546)
To avoid redundancy in the display
2023-03-17 16:10:51 -05:00
ilgrank c8510f2605 [SYS] Add utc & unix timestamp options to SYStoMQTT and Sensor messages (#1533)
Add optional timestamps to the SYStoMQTT and modules messages
Also, the sync with the NTP time server now occurs every hour (can be defined with TimeBetweenCheckingSYS in UserConfig.h)
2023-03-17 10:49:27 -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 3f92e14ba6 [HA Discovery] Auto Off timer (#1541)
* [HA Discovery] Auto Off timer

Auto deactivate discovery after 30min from the last activation, goal is to avoid unwanted entities created
2023-03-16 10:43:18 -05:00
Florian 9219ff928c [OTA] Improve user feedback and regorganize processing (#1540)
To see OTA progress through MQTT messages or controller
And change the stopProcessing position so as to reduce chance of collision with other processes
2023-03-16 10:01:20 -05:00
Florianandh2zero 33ea56bf12 [BT] copy advertised device to avoid concurrent data access. (#1537)
Co-authored-by: h2zero <powellperalata@gmail.com>
2023-03-16 08:00:47 -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 3b134fce87 [BT] Bump TheengsDecoder to v1.3.0 (#1536) 2023-03-15 14:28:46 -05:00
Florian 390302a6fa [HA Discovery] Filter on type rather than model_id (#1535)
For maintainability
Add Ibeacon in the filtering as they are not identified with RMAC type
2023-03-15 14:28:12 -05:00
ilgrank dbba1bdaf7 [MQTT] Optional message retain flag (#1534)
* Define optional sensor_Retain

...with default : false to preserve current behaviour

* Support optional sensor message retaining
2023-03-15 13:20:08 -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
xopr 97750611f8 Fix for #1458: crash on ASCII and HEX data (#1526) 2023-03-12 15:52:24 -05:00
DigiH df020efd8b [DOCS] RF documentation addions (#1524) 2023-03-12 12:17:51 -05:00
xopr 504463c5c2 [LORA] Added WiPhone LoRa support (#1458)
* Added WiPhone LoRa support

* Centralised raw-hex functions
2023-03-12 12:09:45 -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 7567552a58 [RTL_433 Discovery] Do not store the devices if discovery off (#1518) 2023-03-10 14:25:12 -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
ArgafalandArgafal 5394e5b1c7 [NEW BOARD] Add environment for board Wemos Lolin C3 mini (#1512)
* Add environment for board Wemos Lolin C3 mini

* Lolin C3 mini: disable serial output as a default

---------

Co-authored-by: Argafal <dev.omg@argafal.de>
2023-03-09 09:02:46 -06:00
Florian 68a556161f [BUILD] Add gitpod to build the firmware (#1515)
Allow to build OMG from a web browser and download the binary
2023-03-09 08:55:05 -06:00
Yogotech's GITHub account 2a8257d4ce [DOCS] Modify home assistant configuration changes to reflect MQTT syntax that is required since HomeAssistant 2022.12.0 (#1511)
The MQTT YAML configuration change was optional in 2022.6, but the new syntax (updated above) is now mandatory, and now matches the already updated documentation provided at the top of the page.  I also added the force_update flag to help with the expire_after to give better graphing of temperature/humidity readings.
2023-03-08 05:25:12 -06:00
Florian 8f47a80303 [BT Discovery] Improve BM2 discovery (#1510)
to filter advertisement coming from iBeacon packets that contains volt
as the voltage is not properly advertised throught the iBeacon packet and render a wrong voltage
2023-03-07 19:35:57 -06:00
Florian a9f8f803e5 [HA Discovery] Fix discovery switch (#1509)
extend scope of boards
2023-03-07 14:24:51 -06:00
DigiH f91e82df41 [SSD1306] MQTT confirmations removal (#1508)
MQTT confirmations removal for consistency with other modules
2023-03-06 19:50:52 -06:00
Florian 9c73896999 [BT Discovery] Deactivate/Activate sliders dynamicaly depending on auto adaptive state (#1502)
To avoid having unnecessaries commands in the interface
2023-03-06 14:20:08 -06:00
Florian df228a4aa4 [RN8209] Add measurement class (#1507)
To enable statistics
2023-03-06 14:18:42 -06:00
Florian d9bac3be44 [Discovery] Re-add the discovery switch (#1506)
revert #1365, indeed the switch may be usefull to avoid non desirable discovery of RTL_433 or BT devices  #1487
2023-03-06 14:18:05 -06:00
Florian 6e8ada44b5 [SSD1306] Add discovery (#1505) 2023-03-06 12:52:40 -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 578f522356 [RTL_433 Discovery] Add Govee water sensor Status entity (#1499)
* [RTL_433 Discovery] Add Govee water sensor Status entity

Add Govee water status sensor auto discovery as a binary_sensor, the entity will detect Water Leak Event and go back to Off state after 60seconds

* Format and comment
2023-03-03 14:51:55 -06:00
DigiH 84f5029b14 [DOCS] LilyGo LoRa32 V2.1 driver (#1500)
LilyGo LoRa32 V2.1 driver addition with link
2023-03-03 11:29:41 -06:00
Florian 9850d1d5dd [RN8209] Avoid power returning 0 (#1497)
don't return data when the read is unsuccessfull
2023-03-02 11:12:11 -06:00
FlorianandFlorian 588b1d6e3b [RTL_433] Bump to 0.1.7 (#1496)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2023-03-02 11:11:23 -06:00
Florian f35baa9da0 [BT] Add BM2 voltage (#1495)
* [BT] Add BM2 voltage

Voltage retrieval through a BLE connection, frequency of the BLE connection is defined by `intervalcnct`

* Add doc

Credits to https://github.com/KrystianD/bm2-battery-monitor
2023-03-02 11:02:03 -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
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