Commit Graph
1605 Commits
Author SHA1 Message Date
melyux 7fa00dd593 Pilight: Handle when 'value' is not a string (#2129) 2024-12-13 16:42:39 -06:00
DigiH 1b50c8ec02 [WEBUI] Fix for TH1 external probe in display routine (#2127)
Fix for TH1 external probe in display routine only actually showing when connected.
2024-12-05 15:33:28 +01:00
DigiH 2cce06ed4e [DISC] Defined boolean values (#2126)
Defined boolean values in discovery message for cross platform discovery in HA and OH for binary_sensors.
2024-12-04 01:04:56 +01:00
DigiH 9bb7751b8d [BT] Decoder development link (#2120) 2024-11-24 13:13:57 +01:00
FlorianandFlorian 1f45a7711b [SYS] Avoid queue overloading at start (#2114)
Give one cycle of the loop without starting BT

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-15 10:37:20 -06:00
FlorianandFlorian 8bad846d94 [BT] Update Theengs decoder to v1.8.0 (#2113)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-15 09:47:38 -06:00
FlorianandFlorian b5adf1f5ac [BROKER] Fix BT start (#2112)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-13 07:42:44 -06:00
FlorianandFlorian bbea094438 [LORA][BREAKING] Update LoRa env partition (#2110)
Not enough flash memory with the regular one

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-13 07:28:56 -06:00
FlorianandFlorian 18cfbb759a [SYS] Remove Multi Gateway Sync from idf example env (#2109)
To avoid consuming procBLEtask stack memory when using esp idf framework

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-12 09:55:17 -06:00
FlorianandFlorian 3bcfdee712 [BLUFI] Fix SSID return (#2108)
The filter on NTWK_CONNECTED was too restrictive when asking for WiFi status.
Get the WiFi name and BSSID from the WiFi object

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-12 08:50:24 -06:00
FlorianandFlorian 379312a127 [BLUFI] Enable larger notifications (#2107)
by replacing esp_blufi_send_notify by esp_blufi_send_custom_data

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-12 08:37:51 -06:00
FlorianandFlorian fdc7435079 [SYS] Fix capacity to onboard ethernet board without WiFi AP (#2106)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-12 08:26:55 -06:00
FlorianandFlorian f5fe3ed223 [DISC] Remove unnecessary discovery publication (#2105)
They are not anymore needed as we keep the scan and presence parameters always displayed

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-12 08:26:29 -06:00
FlorianandFlorian 921488359e [BT] Fix BT command triggering a stack trace due to conflict (#2104)
related to the vector between BLE scanning and BLE control

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-12 08:26:15 -06:00
FlorianandFlorian bb05011bdc [SYS] Fix webUI OTA update free memory (#2103)
When doing an OTA update we deinit BT to free enough memory for the update

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-11 17:27:26 -06:00
FlorianandFlorian 87228b5f29 [SYS] Bump ESP8266 framework version to 4.2.1 (#2102)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-10 08:24:31 -06:00
FlorianandFlorian 3cd7c92d8f [SYS] Fix ESP8266 discovery publications (#2100)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-10 08:24:13 -06:00
FlorianandFlorian 742945906d [SYS] Fix erase function for ESP8266 (#2101)
And remove restart parameter as it is not used (the ESP always restart after erase for our use cases)

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-11-10 08:23:53 -06:00
peshovec e2641f49e7 [RF] Disable the active RF receive when transmitting with RC-Switch and NewRemoteTransmitter\n (#2084)
Pilight RF transmit is behaving this way already.
2024-11-07 07:55:30 -06:00
JamesandJames Carey f5bca0054e [RF] Improve Home Assistant auto discoverability (#2057)
* add '-DvalueAsATopic=true' to RF based environments
add '-DvalueAsATopic=true' to RF based environments. Required to support changes in zgatewayRF.ino for Home Assistant discoverability

* Modify gatewayRF to improve Home Assistant auto discoverability
Pass "recieved" as the type argument and switchRF[0] as the subtype argument to announceDeviceTrigger() which will cause recieved codes to be picked up by home assistant as triggers, i.e. When setting up automations in Home Assistant, selecting a `device` trigger and an OMG device will allow the user to select a code picked up during the autoDiscover window as the trigger for the automation, for example "1394004" recieved. In order to support this, the `'-DvalueAsATopic=true'` argument must be added to all environments using the RF Library

Also change getUniqueId() call to remove leading '-' which will prevent MQTT topics having '--' in them

---------

Co-authored-by: James Carey <james.carey@uws.ac.uk>
2024-11-07 07:54:50 -06:00
dependabot[bot] ac1ad10240 Bump elliptic from 6.5.7 to 6.6.0 (#2095)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.7 to 6.6.0.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.7...v6.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-07 07:53:11 -06:00
DigiH ba9506c022 [DISC] Additional HA discovery device class (#2097) 2024-11-04 00:17:56 +01:00
DigiH 044182460c [DOCS] SwitchBot Curtain clarification & device tracker updates (#2096)
• SwitchBot Curtain clarification, as these commands work with all three - original, 2 and 3 - versions of the SwitchBot Curtain.

• Device tracker updates.
2024-11-03 18:06:51 +01:00
DigiH 67e50642dd [BT] Device Tracker sync across gateways (#2094)
Device Tracker sync across gateways - OpenMQTTGateway & Theengs Gateway
2024-10-28 11:25:38 -05:00
FlorianandFlorian 952a65dd0f [DISC] Fix device name discovery (#2093)
Fix issue introduced by #1936

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-10-25 13:24:31 -05:00
Alessandro Staniscia f30960566c [DISC] Fix Mqtt Device Trigger announcement message (#2091) 2024-10-25 13:24:10 -05:00
Michael HaberlerandMichael Haberler f86d89db85 [BOARD] add esp32s3-m5stack-stamps3 (#2088)
* [BOARD] add esp32s3-m5stack-stamps3

https://docs.m5stack.com/en/core/StampS3

* [BOARD] add esp32c3u-m5stamp

button long-press reset verified to work

* add build environments for addional M5Stack targets

esp32s3-m5stack-stamps3
esp32c3u-m5stamp

---------

Co-authored-by: Michael Haberler <git@mah.priv.at>
2024-10-15 06:42:58 -05:00
dependabot[bot] 3b3fe3eabe Bump cookie and express (#2087)
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-13 08:38:40 -05:00
peshovec 258e3b3f6a [SYS] Implement changes to build against ArduinoJson@7.2.0. (#2083)
In ArduinoJson@6.20 a deprecation (naked char) is enforced. The deprecation origins from ArduionoJson@6.18.0
2024-10-08 12:11:35 -05:00
puterboy 4f26d39b93 [RF] Bumped rtl_433_ESP to v0.3.3 to increases rtl_433_Decoder_Stack size to prevent OOM crash (#2082) 2024-10-06 18:19:46 -05:00
puterboy 5f80fea88d [RF] Add 'rtl433_stack' size reporting to RFtoMQTT topic (#2081)
* Added reporting of rtl433_stack size as part of RFtoMQTT

* Fixed formatting
2024-10-06 14:13:10 -05:00
peshovec c98ac731b4 [DOCS] RF Gateway receiver mode change, HA integration example to view/change the RF mode (#2072)
* Update rf.md

* Update home_assistant.md
2024-10-04 17:04:01 -05:00
FlorianandFlorian 898b5e6213 [ONB] Fix failsafe mode (#2080)
Erasing the nvs before the start of WM prevent WM from starting, revert a part of #2075
Also remove the erase from setupWiFiManager method

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-10-04 17:02:50 -05:00
FlorianandFlorian 4e090eda3c [SERIAL] Improve communication robustness (#2079)
-Add a semaphore to avoid msg overlap
-Clean partial buffer
-Enable erase and restart of the secondary module from the primary

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-10-03 09:47:22 -05:00
FlorianandFlorian fcc09df02c [DISC] Fix via device discovery when using secondary module(#2077)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-10-01 20:02:18 -05:00
FlorianandFlorian e390aca43b [SYS] Erase secondary module flash when button is pressed on primary module (#2076)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-10-01 16:29:03 -05:00
FlorianandFlorian c234afa9c8 [SYS] Fix connection validation on unknown indexes and improve erase method (#2075)
Before this fix, connections with Index 1 and 2 were supposed valid when not present in the configuration, generating attempts to connect with those indexes.
Also improve the erase config by adding an erase when the config file is not present (ESP is connected to WiFi without the config file). This way the ESP will not reconnect to the WiFi AP.

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-10-01 11:48:39 -05:00
FlorianandFlorian 9e5f56580d [SYS] Detect IDF environnement with USE_ESP_IDF (#2074)
Rather than USE_BLUFI only, as IDF can be used without BLUFI

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-10-01 11:42:11 -05:00
FlorianandFlorian 88e09092d6 [SERIAL] Add Serial Heartbeat ack (#2073)
And enable to launch the loop when offline: false and serial communication layer is activated

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-10-01 10:47:55 -05:00
FlorianandFlorian 3187ed6154 [SERIAL] Enable SERIAL to X communication (#2068)
Add Serial as a communication layer so as to transmit data to/from serial
Enable discovery of BT sensors through serial
Add serial heartbeat

Change discovery principle for interval and intervalacts, keep them always discovered and deactivate adaptivescan when changed. Instead of removing their discovery when adaptive scan is activated

Increase JSON_MSG_BUFFER_MAX as we are now using const char* and it requires more memory for Arduino Json Deserialization

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-09-26 06:55:26 -05:00
Northern Man a89ff43900 [DISC] Warning message for discovery prefix change (#2066)
* discovery_Topic

* Remove  Log.notice(F("type: %s" CR), type.c_str());
2024-09-25 12:09:29 -05:00
Northern Man 6fa725d633 [DOCS] Touch Blanking Docs (#2067) 2024-09-24 16:56:31 -05:00
FlorianandFlorian 026fb4a337 [BOARD] Add Theengs Plug environment (#2065)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-09-24 10:11:05 -05:00
FlorianandFlorian 0d338cc5c5 [LED] Add LED STRIP macros and a third Addressable pin (#2063)
* [LED] Add LED STRIP macros and a third Addressable pin

---------

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-09-19 20:36:46 -05:00
FlorianandFlorian 0b4c6ef107 [BT] Clean KnownBTAction function (#2062)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-09-17 09:58:21 -05:00
FlorianandFlorian 4b20976a08 [BLUFI] Add Blufi activation and deactivation at runtime (#2058)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-09-17 09:32:20 -05:00
FlorianandFlorian 776ed6568d [BT] Fix crash when sending multiple BT commands at the same time (#2059)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-09-17 07:29:36 -05:00
dependabot[bot] eab1354d7a Bump serve-static and express (#2060)
Bumps [serve-static](https://github.com/expressjs/serve-static) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 07:16:13 -05:00
dependabot[bot] 32e01cdc96 Bump send and express (#2061)
Bumps [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 07:16:04 -05:00
FlorianandFlorian ed0b683754 [LED] Add power pin to addressable LED (#2056)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-09-13 11:21:41 -05:00