* 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>
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>
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>
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
* First build with IDF, tested with esp32dev-ble only.
* Fix frameworks for non-esp32 boards
* Add blufi support.
* Adds an environment to use esp-idf and Arduino as a component to facilitate incorporating blufi for onboarding and configuration.
---------
Co-authored-by: h2zero <powellperalata@gmail.com>
* [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
* [SYS] Improve central queue stability
Improve central queue stability and add metrics
* Change partition for esp32dev-pilight-somfy-cc1101
to avoid program size too big error message with esp32dev-pilight-somfy-cc1101
* Only check for gateway updates at the start
to avoid consuming extra memory during operations
Publish the information about the available release with the retain flag
* [SYS] Configuration portal for Ethernet board
Enable Wifi Manager as a configuration portal for Ethernet boards, also leverage the Wifi Access point as a fallback connectivity method
Add link to the WebUI from HA and reduce key length
* Remove unnecessary environment
Now that one environment cans support wifi and ethernet, merge the 2
* [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
* User friendly manual network configuration
* Add manual network config to the docs
* Add manual network config to the test env
Co-authored-by: DigiH <github@digih.net>
* [DISC] Add runtime configuration for OpenHAB
Add an MQTT configurable system key "ohdiscovery" for OpenHAB auto discovery
* Docs and environments update
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
* Add Adafruit NeoPixel library #defines
* Currently FastLED causes rapid reboots on ESP32C3 boards when OMG signals.
Onboard RGB LEDs can be adressed more reliably with the NeoPixel library.
Define RGB_INDICATORS=2 to use this addition.
* rebase fix: adapt to "Bump ESP32" changes in development
* Add build environments for the Espressiv ESP32-C3-DevKitC-02 board
* esp32c3-dev-c2-ble and esp32c3-dev-c2-ble-no-serial environments both
use the Adafruit NeoPixel library for the onboard RGB LED as FastLED
causes rapid reboots.
* Only occasional reboots of this board occure when serial output is not
read. The -no-serial version further improves stability.
* Add a build environment for the Espressiv ESP32-C3-DevKitC-02 board
* The esp32c3-dev-c2-ble offers a reasonable compromise between logging
and stability of OMG on this board.
Add support for the ESP8266 deep sleep and required change for DS1820 sensor used in my project.
Allow defining DS1820_RESOLUTION and DS1820_INTERVAL_SEC in ENVIRON without editing config file.
Allow DTimeBetweenReadingmq2 Env. MACRO change without editing source config file.
Added some an example ENVIRONMENTS
Add ESP8266_DEEP_SLEEP_IN_US to nodemcuv2-all-test
* Bump ESP32 platform to v6.1.0 and ESP8266 to v4.1.0
* Fix ESP32 not connecting to Ethernet
And remove check updates as it is now done every hour
* Do not define LED pins if not explicitly stated
* OLED need to be reset for Heltec Lora 32 V2
* Fix issue with SSD1306 saving