Releases: mp-se/gravitymon
Releases · mp-se/gravitymon
v1.4.1
v1.4.0
Features
- NEW Added led indicator: Blue / Slow Blinking = Config Mode, White/Solid = WiFi setup
- BUG Reduced WIFI TX Power for C3 chip to improve WIFI connnection stability
- NEW Added 4 options to ble data transmission (TILT, TILT PRO, GRAVITYMON SERVICE, GRAVITYMON EDDYSTONE)
- NEW Added support for ESP32S3 mini board
- NEW Moved to async webserver to speed up performance in configuration mode
- Added feature to migrate formula and gyro calibration data from an existing ispindel configuration (don't do a full erase before flashing)
- Added possibility to set wifi settings in config (need manual reboot to apply)
- Added option that shows the average value from the gyro reads + a button to reset that on the web ui. Might make it easier to do calibration of the value jumps around.
Known issues
- On ESP32c3 mini the rgb led does not turn blue when in config mode
- On ESP32s3 mini the rgb led does not work due to issue in arduino/esp32 unless manual patching of the arduino framework
#define RGB_BUILTIN LED_BUILTIN+SOC_GPIO_PIN_COUNT
Maintenance
- Changed wifi manager to modified version since the source project is no longer supported by author
- Updated dependencies to latest versions as of Aug -23
- Added UI tests to improve test coverage
- Added unit tests to improve test coverage
- Added option to run unit test code coverage with WOKWI
- Added scripts to check for code coverage on the esp32 (work in progess, not yet covering all parts of the code)
- Created script that checks for updates to dependant projects (test/converage.py)
v1.4.0 beta 2
Features
- BUG Reduced WIFI TX Power for C3 chip to improve WIFI connnection stability
- NEW Added experimental support for extended BLE data transmission (will require specialized server software)
- NEW Added support for ESP32S3 mini board
- NEW Moved to async webserver to speed up performance in configuration mode
Maintenance
- Added UI tests to improve test coverage
v1.4.0-beta1
Features
- Added feature to migrate formula and gyro calibration data from an existing ispindel configuration (don’t do a full erase before flashing)
- Added possibility to set wifi settings in config (need manual reboot to apply)
Maintenance
- Changed wifi manager to modified version since the source project is no longer supported by author
- Updated dependencies to latest versions as of Aug -23
- Added unit tests to improve coverage
- Added option to run unit test code coverage with WOKWI
- Added scripts to check for code coverage on the esp32 (work in progess, not yet covering all parts of the code)
- Created script that checks for updates to dependant projects (test/converage.py)
Documentation
- Published code coverage for unit tests and apitest.py (gcov/README.md)
Issues adressed
- Updated code so it now works with newer versions of ArduniJSON
- Fixed issue with ESP32 were reboot didnt work sometimes
v1.3.0
This version is identical with the beta3 version. No changes.
Features
- Refactored logoutput from WifiManager to be consistent with other logs.
- Added feature to do backup and restore of device settings. Data will be exported as a text (json) file.
- Added validation feature that checks for configuration errors or missing steps in setup. Warnings will be displayed on index page.
- Added restore to factory default button under configuration
- Upgraded to bootstrap v5.2.3, jquery v3.6.3 and jchart v4.2.1
- Added feature to check for newer GravityMon releases from gravitymon.com (Will only check against promoted / stable version).
- Added chip information to startup for easier support
- Added option to select a default gravity formula under settings. This is based on measurements from several different devices.
- Increased the number of decimals for tilt/angle (3), temperature (2), plato (2), runtime (2).
- Added ${battery-percent} as new variable for use in format templates.
- Added battery saving mode. When battery drops below 20% the sleep interval will be changed to 1 hour. Can be disabled in advanced configuration.
Documentation
- Updated getting started section to clarify what needs to be done during setup.
- Updated documentation with new images and text
- Added new option for home assistant sensor registration through automation script.
- Added description for how to get voltage measurement on a floaty, see Hardware section.
Issues adressed
- BUG: Double reset was detected incorrectly on ESP32C3, created own code and dropped douoble reset detection library for better stability. Will now require 3 taps within 3 seconds each to go into wifi configuration.
- BUG: Gyro and Tempsensor was not detected after a reset on ESP32 (needed power cycle), reverted to older Arduino version to solve the problem.
- BUG: Pin numbers on the newer ESP32C3 is different from v1
- BUG: Wrong OTA filename for ESP32C3v1
- BUG: Fixed long statup delay when creating access point on ESP32C3
- BUG: Sometimes it could be hard to get into config mode and ended up in wifi portal instead due to double restet detect.
- BUG: If the gyro value was invalid (moving) during startup that would cause the device to go into gravitymode instead of config mode.
- BUG: When trying to do calibration without a connected gyro the device would enter endless loop.
- BUG: Clarified that its the bucket ID and auth TOKEN for influxdb (config page)
- BUG: Fixed wrong device classes in home assistant template.
Other
- Removed khoih-prog/ESP_DoubleResetDetector since this didnt work properly on the ESP32c3, this library has no support from author anymore.
- Updated platformio esp8266 to v4.1.0
- Updated platformio esp32 to v6.0.0
- Updated h2zero/NimBLE-Arduino to b 1.4.1
- Updated 256dpi/arduino-mqtt to v2.5.1
- Created tag v1.0.0 for codeplea/tinyexpr to get control over releases
- Created tag v1.0.0 for graphitemaster/incbin to get control over releases
- Updated khoih-prog/ESP_WiFiManager to v1.12.1
- Updated khoih-prog/ESP_DoubleResetDetector to v1.3.2
v1.3.0 beta 3
This is the last beta for the 1.3.0 release, now its long term stability tests and fixing bugs that are detected.
Features
- Refactored log output from WIFI Manager to be consistent with other logs.
Issues addressed
- BUG: Double reset was detected incorrectly on ESP32C3, created own code and dropped double reset detection library for better stability. Will now require 3 taps within 3 seconds each to go into WIFI configuration.
- BUG: Gyro and Temperature sensor was not detected after a reset on ESP32 (needed power cycle), reverted to older Arduino version to solve the problem.
- BUG: Pin numbers on the newer ESP32C3 is different from v1
- BUG: Wrong OTA filename for ESP32C3v1
- BUG: Fixed long startup delay when creating access point on ESP32C3
Other
- Removed khoih-prog/ESP_DoubleResetDetector since this didn't work properly on the ESP32c3, this library has no support from author anymore.
v1.3.0-beta2
Update 2023-02-25 Fixed an issue that temp was not displayed in index page. Instead the message was 'no temp sensor found'
Features
- Added feature to do backup and restore of device settings. Data will be exported as a text (json) file.
- Added validation feature that checks for configuration errors or missing steps in setup. Warnings will be displayed on index page.
- Added restore to factory default button under configuration
- Upgraded to bootstrap v5.2.3, jquery v3.6.3 and jchart v4.2.1
- Added feature to check for newer GravityMon releases from gravitymon.com (Will only check against promoted / stable version).
- Added chip information to startup for easier support
- Added option to select a default gravity formula under settings. This is based on measurements from several different devices.
Documentation
- Updated getting started section to clarify what needs to be done during setup.
- Updated documentation with new images and text
Issues addressed
- BUG: Sometimes it could be hard to get into config mode and ended up in wifi portal instead due to double restet detect.
- BUG: If the gyro value was invalid (moving) during startup that would cause the device to go into gravitymode instead of config mode.
- BUG: When trying to do calibration without a connected gyro the device would enter endless loop.
v1.3.0-beta1
First beta of the 1.3 release
Update via the firmware upload feature.
- Increased the number of decimals for tilt/angle (3), temperature (2), plato (2), runtime (2).
- Added ${battery-percent} as new variable for use in format templates.
- Added battery saving mode. When battery drops below 20% the sleep interval will be changed to 1 hour. Can be disabled in advanced configuration.
- Updated Arduino version and dependent libraries
v1.2.1 Fixed bug in format template engine
In some cases the end of the format template was not added correctly.
v1.2.0 esp32 release
Features
- Added function to calculate voltage factor based on measured value.
- Updated battery estimation for the various esp32 boards.
- Added support for the ESP32 lite board which is used in the Floaty Hydrometer variant.
- Added support for the ESP32 C3 mini board
- Added support for the ESP32 S2 mini board
- Serial output is written to TX/RX pins instead of the USB connection for the ESP32c3. This way the serial console can be viewed when running on battery power.
- Merged in unit tests and api tests into this project
- Added option to download firmware updates from https://www.gravitymon.com
Documentation
- Added section about the Floaty hardware
- Fixed schema errors in hardware section and linked PCB options
- Updated hardware section with options for ESP32 boards
- Updated installation instructions.
Issues adressed
- BUG: The first portion of a format template was lost when doing conversion.