Commit Graph
37 Commits
Author SHA1 Message Date
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 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
FlorianandFlorian 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
FlorianandFlorian 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
FlorianandFlorian 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
FlorianandFlorian 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 f34e549d59 [WEBUI] Changed from GET to POST method for config forms with passwords (#2037) 2024-08-29 07:05:58 -05:00
puterboy a07bbe5c63 Update ZwebUI.ino - Convert WiFi.SSID() to c_string (JJK) (#2021) 2024-08-25 05:05:03 -05:00
puterboyandFlorian 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
FlorianandFlorian d43d93f151 [WEBUI] Fix index (#1992)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
2024-08-13 13:05:07 -05:00
Michał Leśniewski 8537b7498d [SYS] Introduce MQTT Broker mode (#1988) 2024-07-27 17:40:47 -05:00
Florian f98474bed0 [SYS] Multiple connections management (#1947)
Enable the management of different connections at runtime with a set of certs for each.
Add parameters to the WiFi Manager onboarding, client certificates, and certificate validation
2024-05-20 09:30:49 -05:00
DigiH b5e0223602 [WebUI] Specific Gravity SG added to BLE display routine (#1939) 2024-05-05 14:43:45 -05:00
Florian 2065d57e11 [BOARDS] Remove Arduino boards (#1929) 2024-04-10 15:48:05 -05:00
Florian ef07a339ab [SYS] Avoid logging sensitive information on serial (#1879)
WiFi Manager log level to Notify
Remove MQTT information to serial
Remove system information to serial when changing with WebUI
2024-01-27 17:32:29 -06:00
Florian 7db2e93c28 [RTL_433][BREAKING] Beta support for FSK modulation, webUI frequency and active receiver change (#1812)
* [FSK] Add Lilygo Heltec environment with FSK modulation

Enable RTL_433 frequency and active receiver change with WebUI
Add FSK environment for Heltec and Lilygo
2023-12-01 13:16:03 -06:00
Florian eb5b8fa291 [SYS/BT] Semaphores and new BT Controller (#1819)
Add semaphore to the enqueue calls to avoid concurrency issues
Add new BT controller to avoid scan evt timeout bug
2023-12-01 07:15:07 -06:00
DigiH 5421f0e995 [DOCS] typo fixes (#1816) 2023-11-26 13:07:18 -06:00
Florian 673a895d44 [WEBUI] Do not display gateway password if using WifiManualSetup (#1793) 2023-11-08 11:15:14 -06:00
Florian 029409c0c3 [SYS] Implement a central queue (#1767)
to avoid concurrency issues when modules or/and gateways want to publish data
2023-11-08 07:26:21 -06:00
Florian ca51136d26 [SYS] Remove WebUI passwords display and sending to client (#1788) 2023-11-02 11:23:46 -05: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
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
Northern Man 954e077d05 [WEBUI] Add Favicon.ico (#1703)
* Add Favicon.ico to the WebUI

* Update config_WebContent.h

* Update ZwebUI.ino
2023-07-10 04:13:38 -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
Northern Man 7f7eed8812 [RF] rtl_433_ESP to version 0.3.0 (#1668)
Update to rtl_433_ESP 0.3.0
Resolves issue with sx127x chipset and receiving higher frequencies
Includes support for receiving FSK signals, requires compiler directive OOK_MODULATION=false to switch to FSK mode
Adds unit of measure for rtl_433/battery_ok devices RTL_433_ESP Battery Auto Discovery Missing Unit of Measurement #1644
Updates value template for rtl_433/battery_ok in openHab mode
Resolves out of stack space crash lilygo-rtl_433 crash after chacon remote control button pressed #1655
2023-06-08 08:40:38 -05:00
bwynantsandBert Wynants 9bb322daf8 [OTA] Capability to disable Firmware Update on ESP32 WEB (#1621)
* disabling  Firmware Update on ESP32

---------

Co-authored-by: Bert Wynants <bwynants+drupal-git@gmail.com>
2023-05-02 08:07:07 -05:00
Florian 9f71a50109 [SYS] Change eraseAndRestart scope (#1627) 2023-04-29 18:23:23 -05:00
Florian 177fb97715 [SYS] Refactor ESPrestart (#1625) 2023-04-28 17:06:23 -05:00
Florian db32df90b8 [WebUI] Use common methods for restart and erase (#1624) 2023-04-28 16:03:03 -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
Northern Man 8d5c2c4d58 [WebUI] Final Changes Pre Release (#1613)
Description:
1 - Fix nextDisplayPage/nextWebUIPage sync with SSD1306
2 - Discovery message name is SS1306
3 - Stack size tuning - ARDUINO_LOOP_STACK_SIZE=9600

With this change, in your personal ESP32 platformio environments you need to change ${com-esp.build_flags} to ${com-esp32.build_flags} and ${com-esp.lib_deps} to ${com-esp32.lib_deps}
4 - On information page, fix module display
5 - Set OTA URL to String systemUrl = RELEASE_LINK + latestVersion + "/" + ENV_NAME + "-firmware.bin";
6 - Allow back level espressif32 framework support
2023-04-24 07:46:30 -05:00
Northern Man 7d80508fef [WebUI] Stack memory tuning (#1610)
Reduce WebUI Stack by 800 Bytes during firmware upgrade
2023-04-19 10:57:58 -05:00
Northern Man 479ac5d343 [WebUI] Completion of WiFi and MQTT Configuration (#1603)
* Configure WiFi - 1/2 working

* WiFi and MQTT Configuration

* Refactor MQTTtoSYS

* Firmware Upgrade is Wired
2023-04-12 13:29:03 -05:00
Northern Man 1c367fd325 [WebUI] Add Configure MQTT and Logging (#1592)
* Configure MQTT and Loggin

* Configure MQTT speed up

* Lint
2023-04-06 19:51:14 -05:00
Northern Man 9b6133ff03 WebUI - First Release (#1586)
* WebUI - First Release

* Lint / Build Issues

* Add WebUI as a default module

* Fix ESP8266 builds
2023-04-05 14:17:08 -05:00