Commit Graph

1547 Commits

Author SHA1 Message Date
Florian
93bce3298e [SYS] Empty queue in a task rather than the loop
To improve performances and avoid blocked messages
2024-09-04 07:25:44 -05:00
puterboy
c5b9bcb4cb [DISPLAY] Removed obsolete pubOled stub and calls (#2039) 2024-08-29 10:40:03 -05:00
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
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
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
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
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
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
11ea8210a2 [CM] Ignore pycache folder (#2019)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-08-22 13:28:37 -05:00
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
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
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
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
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
Florian
25c3da7ee9 [DOCS] Fix image path (#2006)
* [DOCS] Fix image path

Those images are directly stored into the assets directory now for optimization purposes

* Add back the images
2024-08-15 18:52:00 -05:00
Florian
1c942a06cc [SYS] Refine json buffer maximum size (#2005)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-08-15 07:57:13 -05:00
Florian
04c3e7ef95 Add Switchbot Blind Tilt control (#2002)
close_up, close_down, open, and percentage command
Add auto-discovery with HA and cover component
2024-08-14 14:55:15 -05:00
Florian
4ec577d6af [BT] Switchbot Bot control fix (#2001)
* Fix Canary stack trace error during connection attempt

* Fix discovery

* Fix documentation tip
2024-08-13 13:23:59 -05:00
Florian
d43d93f151 [WEBUI] Fix index (#1992)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-08-13 13:05:07 -05:00
Florian
6441175262 [BOARD] Activate WebUI for the bridge (beta) (#2000)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-08-12 19:31:35 -05:00
Florian
ad74cf9c3c [DOCS] Adaptive scan condition to change intervals (#1999)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-08-12 19:31:21 -05:00
Grégoire Seux
c911ec08dc [DOCS] Fix capitalization of rssithreshold in documentation (#1993)
See 8537b7498d/main/ZcommonRF.ino (L208)
2024-07-30 12:48:40 -05:00
Michał Leśniewski
8537b7498d [SYS] Introduce MQTT Broker mode (#1988) 2024-07-27 17:40:47 -05:00
James Coleman
ada83bf227 [IR] Fix errors noticed when sending IR codes (#1991) 2024-07-17 10:26:41 -05:00
Florian
35124f2af8 [LORA] Fix save function for parameters that are not frequency (#1987) 2024-07-04 17:09:44 -05:00
Florian
b67016bd05 [BT] Default BT enable as a build time parameter (#1985) 2024-07-03 15:02:52 -05:00
Florian
3c0140f57b [SYS] Clean queue before restart (#1986) 2024-07-03 15:02:32 -05:00
Florian
cd04c5b92a [BT] Increase BLE task stack (#1984)
To allow to be above 500 free
2024-07-03 11:47:30 -05:00
Michał Leśniewski
9257433a50 [SYS] Use PicoMQTT for MQTT communication (#1954)
* Update Arduino core for selected configurations

* Use PicoMQTT for MQTT communication
2024-07-03 11:39:58 -05:00
Florian
b20f2c4819 [ONB] Enable BluFi onboarding with other modules than BT gateway (#1982) 2024-06-24 12:01:55 -05:00
Florian
77d0d14af3 [SYS] Detect instable MQTT connection with AWS (#1979)
and restart directly if the connection parameters does not work, instead of taking into account other parameters like xtomqtt
2024-06-23 16:07:48 -05:00
Florian
b1b4bddcbc [SYS] Improve max buffer (#1981)
* [SYS] Reduce the usage scope of json maximum buffer usage

* Reduce procBLETask stack size
2024-06-23 15:28:52 -05:00
Florian
2d5b8b403e [BT] Enable to define MinimumRSSI from a macro in ini files (#1977) 2024-06-21 14:03:34 -05:00
Florian
9af5a2aca0 [ONB] Remove Blufi password visibility in the logs (#1976) 2024-06-21 08:24:08 -05:00
dependabot[bot]
7a2dc8b074 Bump ws from 6.2.2 to 6.2.3 (#1974)
Bumps [ws](https://github.com/websockets/ws) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/6.2.2...6.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 12:52:26 -05:00
Florian
6a5d3a3da7 [RN8209] Enable RN8209 task size override (#1973) 2024-06-18 12:52:08 -05:00
Florian
aa5fd3cb0b [ONB] Fix max buffer size (#1972) 2024-06-18 12:51:48 -05:00
DigiH
4bb7c5502d [DISC] reorder UVI for correct auto-discovery (#1968)
To avoid auto-discovery issues due to substring comparison at
https://github.com/1technophile/OpenMQTTGateway/blob/development/main/ZgatewayRTL_433.ino#L128

strcmp instead of substring only strstr
2024-06-17 13:37:39 -05:00
DigiH
57d1105ba8 [DISC] build flag dependant discovery of HTTP firmware update UI (#1969) 2024-06-13 12:25:43 -05:00