Skip to content

Releases: mp-se/gravitymon

v1.1.0 beta4

v1.1.0 beta4 Pre-release
Pre-release

Choose a tag to compare

@mp-se mp-se released this 10 Aug 05:59

User interface

  • Updated format template with information on size and warning message if the template is too large

Features

  • Added information to error log about abnormal resets (for instance crashes) to detect and fix those.
  • Changed storage mode so that the device will go into deep sleep until reset.

Issues adressed

  • Refactored error logging function to reduce memory usage and crashes
  • Refactored format template engine to reduce memory usage and crashes, can how handle slightly larger payloads than before. Increase from around 1100 chars to 1600 chars.

v1.1.0 beta3

v1.1.0 beta3 Pre-release
Pre-release

Choose a tag to compare

@mp-se mp-se released this 02 Aug 20:05

User interface

  • Added error message to user message if gyro connection fails.
  • Added message to user message if no temp sensor can be found.
  • Added drop down menus in user interface to simplify navigation to sub pages
  • Changed behavior for Home Assistant Device registration, this is only done when format template is saved, during normal operation only data values are posted on MQTT.

Features

  • Updated sensor types in home assistant (auto registration)

Issues adressed

  • BUG: Refactored format api to handle larger payloads.
  • BUG: After manual firmware upload the device would crash and go into wifi setup mode.
  • BUG: After manual firmware upload the device will in some cases not be able to connect with the gyro, the symptom is that it will say, "Gyro moving" in the web UI. In this case the device needs to be reset (or powered on/off). I havent found a way to fix this from the code. The message after firmware update has been updated with this information.

v1.1.0 beta 2

v1.1.0 beta 2 Pre-release
Pre-release

Choose a tag to compare

@mp-se mp-se released this 29 Jul 20:24

Documentation

  • Updated docs for HA integration since method was depricated

User interface

  • Calibration temperature (for temp adjustment) can now be set under advanced settings.
  • Changes length of device name from 12 to 63 chars. 63 is the max limit according to mdns.

Features

  • Improved error messages when creating formula so the meaasurement points can be identified.
  • Changed defaule validation threashold from 1.6 SG to 3.0 SG, this should allow for some more variance when creating formula.
  • Updated format template for Home Assistant for using manual configuration (Aligned with new mqtt configuration format)
  • Added format template for Home Assistant with automatic device registration
  • Added ${app-ver} and ${app-build} to format template as new variables.

Issues adressed

  • BUG: Temp corrected gravity was not used when pushing data to removed
  • BUG: Low memory in format api which resulted in mqtt template to be set to null
  • BUG: Large format templates could be saved but when loading it's only blank. Increased total memory from 3kb to 5kb

v1.1.0 Beta 1

v1.1.0 Beta 1 Pre-release
Pre-release

Choose a tag to compare

@mp-se mp-se released this 06 Jul 08:43

This is a beta release and since I have updated a number of dependant libraries I need to do a long term test before this is an official release. The ESP32 release needs a lot of testing due to a major upgrade of the arduino libraries.

Please use the firmware update in the web interface to apply this version.

Documentation

  • Fixed errors in data format section
  • Added q&a on formula creation and value deviation
  • Added documentation for Brewpiless as target
  • Updated docs for ubidots service integration.
  • Added brewblox as new service

User interface

  • Under format options its now possible to select brewfather ispindle format to avoid mixing endpoints.
  • Added brewblox as format under format options.
  • User can now edit the voltage level that forces the device into config mode (charging)

Features

  • Added storage mode which is activated under hardware setting. When place on the cap (<5 degres tilt) the device will go into
    storage mode and sleep for the max allowed time.

Other

  • Upgraded framework for ESP8266 to v5.0.0
  • Upgraded framework for ESP32 to v2.0.2
  • Updated OneWire library to be compliant with new ESP32 SDK
  • Fixed issue in i2cdev connected to wrong usage of TwoWire on ESP32 (Gyro initialization hang).

Issues adressed

  • BUG: Copy format templates used an old format for iSpindle and Gravmon where the token was not used.
  • BUG: Gravity correction formula not calculating correctly.

v1.0.0

Choose a tag to compare

@mp-se mp-se released this 10 May 16:45

v1.0.0

Documentation

  • Update documentation to match v1.0
  • Installation instructions updated on how to find the device after wifi has been configured.
  • Documentation on brewfather has been updated to adress SG/Plato conversion
  • Added circuit diagram for esp8266 and esp32
  • Added additional http error codes to troubleshooting documentation

User interface

  • Upgraded to bootstrap v5.1 for web pages.
  • Added button on indexpage to direct to github issues.
  • Added button to extract important information for support requests.
  • First point in gravity formula is now reserved for water gravity, this to allow detection of angles below water that can be filtered out.
  • Changed layout on index page with measured data on top.
  • Added tooltips to all fields in user interface
  • Added function on format page so that it's easy to copy a format template from the docs (simplify service integration).

Features

  • Added advanced setting to ignore angles that are lower than water. This is disabled by default.
  • Added support for MPU6500 (standard is MPU6050).
  • Removed brewfather option (can use standard HTTP options), the old apporach can still be used via changing format template.
  • Added 5 more points for formula creation, so a total of 10 angles/gravity values can be stored.
  • Added https support for Influxdb v2
  • Added possibility to set 2 wifi ssid where the second acts as a fallback in case it fails to connect. If succesful the seconday becomes the new primary.
  • SSL connections are skipped on ESP8266 when in config mode since there is a high probability it will crash due to low memory.
  • Advanced settings: Added possibility to have variable push intervals for different endpoints so that different frequency can be used, for example; 5min mqtt, 15min brewfather.
  • Advanced settings: Changes how many times the gyro is read (less reads, quicker but less accurate)
  • Advanced settings: Set amount of gyro movement is allowed for a accurate read.
  • Advanced settings: What deviation is acceptable for creating formula deviation
  • Advanced settings: Various timeouts, wifi connect, wifi portal, http connects.
  • Advanced settings: Adjust resolution of temp sensor (9 bits to 12 bits), higher resolution takes longer thus reducing batterylife

Issues adressed

  • BUG: Fixed issue in formula calculation in case there were a gap in the data series
  • BUG: Field name for wifi strength changed from "rssi" to "RSSI"
  • BUG: Fixed issue with probing MFLN on non standard ports
  • BUG: Changed http connection to keep-alive so that server does not close port before the client has had a chance to read the response.

v1.0.0-beta1

v1.0.0-beta1 Pre-release
Pre-release

Choose a tag to compare

@mp-se mp-se released this 29 Apr 15:38

This is a pre-release of the next version with a few new requested features included. It has not been long term tested.

Upgrade can be done via the UI under Configuration - Hardware - Firmware Upload.

v1.0.0-beta1

  • Upgraded to bootstrap v5.1 for web pages.
  • Added tooltips to all fields in user interface
  • Removed brewfather option (can use standard HTTP options), the old apporach can still be used via changing format template.
  • Added 5 more points for formula creation, so a total of 10 angles/gravity values can be stored.
  • Added function on format page so that it's easy to copy a format template from the docs (simplify service integration).
  • Added https support for Influxdb
  • Added possibility to have variable push intervals for different endpoints so that different frequency can be used, for example; 5min mqtt, 15min brewfather.
  • Added advanced settings: Changes how many times the gyro is read (less reads, quicker but less accurate)
  • Added advanced settings: Set amount of gyro movement is allowed for a accurate read.
  • Added advanced settings: What deviation is acceptable for creating formula deviation
  • Added advanced settings: Various timeouts, wifi connect, wifi portal, http connects.
  • Added advanced settings: Adjust resolution of temp sensor (9 bits to 12 bits), higher resolution takes longer thus reducing batterylife
  • Added additional http error codes to troubleshooting documentation
  • Added possibility to set 2 wifi ssid where the second acts as a fallback in case it fails to connect. If succesful the seconday becomes the new primary.
  • SSL connections are skipped on ESP8266 when in config mode since there is a high probability it will crash due to low memory.
  • Installation instructions updated on how to find the device after wifi has been configured.
  • Documentation on brewfather has been updated to adress SG/Plato conversion
  • BUG: Fixed issue in formula calculation in case there were a gap in the data series
  • BUG: Field name for wifi strength changed from "rssi" to "RSSI"
  • BUG: Fixed issue with probing MFLN on non standard ports

v1.0.0-beta2

v1.0.0-beta2 Pre-release
Pre-release

Choose a tag to compare

@mp-se mp-se released this 05 May 18:12

update 2022-05-06

  • Fixed calibration bug (calibration was broken via html page)
  • Added esp32 build

v1.0.0-beta2

  • Moved applying temp sensor resolution in loop so there is no need to reboot.
  • Advanced software settings is only disabled if settings contain default values.
  • Added button on indexpage to direct to github issues.
  • Added button to extract important information for support requests.
  • Updated docs with information from beta1.
  • First point in gravity formula is now reserved for water gravity, this to allow detection of angles below water that can be filtered out.
  • Added advanced setting to ignore angles that are lower than water. This is disabled by default.
  • Added experimental support for MPU6500 (allowing that deviceID), waiting for confirmation on function.
  • Changed layout on index page with measured data on top.

TODO:

  • Update documentation to match new version
  • Add circuit schema for ESP32

v0.9.0

Choose a tag to compare

@mp-se mp-se released this 18 Apr 15:18

Changes in this version:

  • Added one http push target that uses HTTP GET. This can be used with ubidots or blynk api's.
  • Added function to test push targets from configuration page. It will send data and show the return code as a first step.
  • Added documetation on how to integrate with Blynk.io using http get.
  • Config page now shows the estimated runtime for the device (based on a full battery and previous average runtime)
  • Experimental release of firmware using an esp32 instead of esp8266
  • Merged index and device pages into one so that all the needed information is available on the index page.
  • Removed api for device (/api/device), it's now merged into the /api/status api.
  • Test function in format editor now uses real data and not fake.
  • Split push configuration into two sections to make it fit better on smaller devices
  • Updated WifiManager and DoubleReset libraries
  • Updated esp32 target with littlefs support
  • Updated esp32 target with BLE send support (it will simulate a tilt)
  • Mounted esp32 d1 mini mounted to a iSpindle PCB 4.0 (CherryPhilip) which worked fine.
  • Documented hardware changes on esp32
  • Default mDNS name is now shown on WIFI setup page.
  • Added option to manually update/downgrade firmware under hardware settings.
  • BUG: Corrected PIN for voltage read on ESP32
  • BUG: If using plato and not gravity formula was defined the value was set to null.
  • BUG: Temp format name was incorrect in iSpindle format causing receiver to incorrectly read temperature.
  • BUG: Temperature sensor adjusmemnt value was not handled properly when using Farenheight.
  • BUG: If the ID was to low the device id could end up with a leading space causing errors in data post. Added leading zero to ID.
  • BUG: Entering wifi setup and a timeout occured the wifi settings could be deleted.

v0.8.0

Choose a tag to compare

@mp-se mp-se released this 05 Mar 14:36

Added a few missing function and fixed a few minor bugs.

  • Added option to set http headers (2 per http endpoint), these can be used for other http formats than json (default) and for adding authentication headers.
  • Added possibility to view last 10 errors on device page.
  • Added possibility to define token parameter used in iSpindle format.
  • Added instructions for how to configure integration with Brewspy
  • Added instructions for how to configure integration with Thingspeak
  • Added option to do a factory reset via API.
  • Logging the runtime, how long a measurement take (last 10 are stored). This can be used to check how good the wifi connection is and estimate the lifetime when on battery. Check the device page in the UI for this information.
  • Refactored code to free up more RAM to make SSL more stable.
  • Before connecting to an SSL endpoint the device will try to use a new SSL feature called MFLN (Maximum Fragment Length Negotiation) that allow us to reduce the buffers from 16k to 2k. This can make a huge difference on a device with only 40k RAM. Not all servers might support this feature.
  • Updated documentation pages.
  • Tested batterylife, 47 days using an update frequency of 5 min

v.0.7.1 Bug fixes and documentation updates

Choose a tag to compare

@mp-se mp-se released this 30 Jan 13:37

Documentation updates

  • Added instructions for how to configure integration with Fermentrack
  • Added instructions for how to configure integration with Ubidots
  • Added instructions for how to configure integration with HomeAssistant
  • Added instructions for how to configure integration with Brewers Friend (not verified)

Bug fixes

  • BUG: Defined mqtt port was ignored, used default values.
  • BUG: Extended length of HTTP url fields from 100 to 120 chars.
  • BUG: Fixed issue with default template so it now includes the device name correctly.