* Disable MQTTsetMQTT and MQTT_HTTPS_FW_UPDATE to allow OTA for Avatto Bakery IR Trying to update my Avattos with the currently released 0.9.8 I found that OTA wasn't possible any longer as the build was now to large 0.9.8 Checking size .pio/build/avatto-bakeey-ir/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [==== ] 42.4% (used 34772 bytes from 81920 bytes) Flash: [====== ] 55.2% (used 528716 bytes from 958448 bytes) this goes back to 0.9.7, where WiFi, MQTT and firmware update was introduced over MQTT commands 0.9.7 Checking size .pio/build/avatto-bakeey-ir/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [==== ] 42.4% (used 34772 bytes from 81920 bytes) Flash: [====== ] 55.2% (used 528716 bytes from 958448 bytes) Going back to building 0.9.6 I was able to OTA update again with the much smaller build 0.9.6 Checking size .pio/build/avatto-bakeey-ir/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [==== ] 39.7% (used 32512 bytes from 81920 bytes) Flash: [==== ] 41.4% (used 396804 bytes from 958448 bytes) Building 0.9.8 with the flags brings the build back to OTAable size 0.9.8 with '-UMQTTsetMQTT' '-UMQTT_HTTPS_FW_UPDATE' Checking size .pio/build/avatto-bakeey-ir/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [==== ] 39.9% (used 32684 bytes from 81920 bytes) Flash: [==== ] 42.3% (used 405024 bytes from 958448 bytes) Similar to the flag setting in [env:rfbridge] I'm not even sure if MQTT_HTTPS_FW_UPDATE would even work on the Avatto, with the limited flash memory. Should we also add board_build.ldscript = eagle.flash.1m64.ld as a default, as it's required for OTA updates on the Avattos as discussed in https://github.com/1technophile/OpenMQTTGateway/issues/763#issuecomment-698864712 ? * Doc addition for restricted MQTT options Doc addition for https://github.com/1technophile/OpenMQTTGateway/pull/1046 and https://github.com/1technophile/OpenMQTTGateway/pull/986
OpenMQTTGateway project goal is to concentrate in one firmware different technologies and protocols, decreasing by the way the number of physical bridges needed, and hiding the different technologies singularity behind a simple & wide spread communication protocol; MQTT.
Documentation
The documentation is here
The reference sheet, with the list of all functions, pinouts is here
Download
Download OpenMQTTGateway from the releases page
Compatible items
-
List of supported devices, door/window sensors, PIR sensors, smoke detectors, weather stations...
-
List of compatible boards (Off the shelf or DIY) is available, RF Bridge, IR, BLE gateways...
-
List of compatible components to build your gateway, DHT, HM10, RF, IR emitters and receivers...
Contributors ✨
Thanks goes to these wonderful people who helped OpenMQTTGateway on Github and to the users contributions into the community.
Support
For Questions or Support please don't open an issue, first go to the docs and if you don't find your answer there, you can post your question in the community forum
Help
If you like the project and/or used it please consider supporting it! It can be done in different ways:
- Helping other users in the community
- Contribute to the code or the documentation
- Buy devices, boards or parts from the compatible web site, the devices and parts linked use affiliated links.
- Donate or sponsor the project developpers
- Make a video or a blog article about what you have done with OpenMQTTGateway and share it to the community
