Florian and Florian
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
Florian and Florian
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
Florian and Florian
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
Florian and Florian
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
Florian and Florian
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
Florian and Florian
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
Florian and Florian
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
Florian and Florian
026fb4a337
[BOARD] Add Theengs Plug environment ( #2065 )
...
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-09-24 10:11:05 -05:00
Florian and Florian
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
Florian and Florian
0b4c6ef107
[BT] Clean KnownBTAction function ( #2062 )
...
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-09-17 09:58:21 -05:00
Florian and Florian
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
Florian and Florian
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
Florian and Florian
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
Florian and Florian
435b8ca3d9
[LED] Refactor LED handling ( #2051 )
...
Refactor LED handling into a library
Use a task instead of relying on the loop for precise timing
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-09-13 09:55:56 -05:00
DigiH
20af9ccf11
HOBOMX2001 added to UNIQ Level display routine ( #2055 )
2024-09-13 16:52:04 +02:00
Florian and Florian
5d6f735058
[SYS} Improve queue performance whenb Using Ethernet and low interval between scan ( #2052 )
...
Add also a msgrcv (messages received) indicators into SYStoMQTT to measure the performances
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-09-10 16:33:46 -05:00
DigiH
caea021ca9
"ctrl" key included in Advanced Data ( #2050 )
2024-09-07 02:30:15 +02:00
Florian and Florian
00fe36f426
[BT] Add Switchbot curtain ( #2049 )
...
Add SB curtain commands and add stop to SB tilt
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-09-05 08:54:53 -05:00
Florian and Florian
2b958ae363
[SYS] Externalize utils function keep cmpToMainTopic ( #2048 )
...
And fill generateHash
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-09-04 13:18:41 -05:00
Florian and Florian
5e65e807b7
[SYS] Externalize utils functions ( #2046 )
...
To declutter main.ino code
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-09-04 10:31:51 -05:00
Florian and Florian
0999563095
[CI] Update Github actions versions ( #2047 )
...
* [CI] Update Github actions
* Update setup-node
---------
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-09-04 10:30:05 -05:00
Florian and Florian
220e2fe164
[BLUFI] Add Bluetooth timer, notifications and AP scan list ( #2045 )
...
Add a Bluetooth timer to automatically disconnect the Bluetooth client
Add custom data notifications
Add AP Scan list
Change MQTTtoSYS API to accept server or port alone
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-09-04 08:37:17 -05:00
puterboy
c5b9bcb4cb
[DISPLAY] Removed obsolete pubOled stub and calls ( #2039 )
2024-08-29 10:40:03 -05:00
Florian and Florian
719976b652
[SYS] Remove handleJsonQueue wrapper and use std::string ( #2038 )
...
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-29 09:44:05 -05:00
puterboy
cb824e2ee4
[RTL_433] Revert ZgatewayRTL_433 to use handleJsonEnqueue ( #2036 )
2024-08-29 07:46:30 -05:00
puterboy
1f42075ec8
[SYS] Fixed data corruption associated with jsonQueue enqueueing and dequeuing ( #2035 )
...
* Changed jsonQueue to use json String rather than json Object
Added Mutex protection to emptyQueue()
Move Mutex protection to within enqueueJsonObject to shorten lock time
2024-08-29 07:45:56 -05:00
puterboy
830d58f98e
[SYS] Add Mutex to potect mqtt->publish() from concurrent… ( #2034 )
...
Protecting mqtt->publish() fixed the problem with corruption of MQTT discovery config messages #2012
2024-08-29 07:10:46 -05:00
puterboy
5564ed531c
[DISC] Remove restartesp from discovery_prefix
2024-08-29 07:09:16 -05:00
puterboy
f34e549d59
[WEBUI] Changed from GET to POST method for config forms with passwords ( #2037 )
2024-08-29 07:05:58 -05:00
Florian and Florian
5492e334dc
[SERIAL] Add the capability send info to Serial instead of/added MQTT ( #2030 )
...
* [SERIAL] Add the capability send info to Serial instead of/added MQTT
Add the capability to send json data to Serial as a communication layer, added/instead of MQTT
* Use delay rather than vTaskDelay
---------
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-27 13:23:42 -05:00
Florian and Florian
3d6d9baeaf
[SYS} Fix disconnection detection ( #2031 )
...
Fix #2029
Introduced by #2020
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-27 13:23:04 -05:00
Florian and Florian
18461b9ef8
[BT] Add capability to remove the decoder when using BT ( #2028 )
...
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-27 12:31:40 -05:00
puterboy
a07bbe5c63
Update ZwebUI.ino - Convert WiFi.SSID() to c_string (JJK) ( #2021 )
2024-08-25 05:05:03 -05:00
Florian and Florian
f9a5c6961a
[SYS][BREAKING] Add gateway states, Offline mode and refactor sleep ( #2020 )
...
Gaterway states to improve LED management
Make the sleep function accessible outside BT
BREAKING remove sleep for ESP8266
BREAKING lowpowermode API changed to powermode and new mode definition
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-23 16:55:04 -05:00
Florian and Florian
068c2e457a
[LED] Avoid gpio error message at start and fix led macro ( #2017 )
...
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-22 14:09:49 -05:00
Florian and Florian
11ea8210a2
[CM] Ignore pycache folder ( #2019 )
...
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-22 13:28:37 -05:00
Florian and Florian
b2ebf670d6
[CM] Git Ignore certificates ( #2018 )
...
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-22 13:26:43 -05:00
puterboy and Florian
57fbca8f88
[DISC] Add ability to change Discovery Prefix via WebUI or via mosquitto_pub ( #2007 )
...
Add discovery_prefix change at runtime
---------
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-22 13:22:08 -05:00
Northern Man
36945dae42
[DISPLAY] Touch Based Display Blanking ( #2015 )
2024-08-22 13:21:29 -05:00
Florian and Florian
b0cf3c1dc7
[BT][BREAKING] Change Switchbot API and add new commands ( #2003 )
...
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-22 13:04:52 -05:00
Florian
761e3e34f3
[LED] Add ON Led status ( #2016 )
...
ON per default at start, never OFF unless the board loose power or the program does not start
2024-08-20 09:02:51 -05:00
Florian and Florian
a2fa86eef6
[SYS] Fix Ethernet network check on MQTT failure ( #2013 )
...
Missing the check
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-16 19:56:41 -05:00
Florian and Florian
f655f4fda0
[LED] Add ON Led status ( #2011 )
...
ON per default at start, never OFF unless the board loose power or the program does not start
Co-authored-by: Florian <1technophile@users.noreply.github.com >
2024-08-16 16:49:14 -05:00
dependabot[bot]
1f5e5006c2
Bump elliptic from 6.5.4 to 6.5.7 ( #2010 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.4 to 6.5.7.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.4...v6.5.7 )
---
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-08-16 12:34:34 -05:00
Florian
8fd672de45
[LED] Add capability to change second RGB led function ( #2009 )
...
When using different pins for each RGB led add the capability to change the function assignment to led2
2024-08-16 11:27:16 -05:00
Florian
8a28bb2cf8
[SERIAL][BREAKING] RS232 change to SERIAL GATEWAY ( #2008 )
...
Make the RS232 more generic by converting it to a Serial Gateway
Add the capability to decode BLE data coming through Serial
2024-08-16 11:23:39 -05:00