diff --git a/script/create_versionjson.py b/script/create_versionjson.py index 356d98b..bb89d8e 100644 --- a/script/create_versionjson.py +++ b/script/create_versionjson.py @@ -42,13 +42,19 @@ def after_build(source, target, env): print( "Copy file : " + source + " -> " + target ) shutil.copyfile( source, target ) + # Copy file 6 + source = dir + "/data/format.min.htm" + target = dir + "/bin/format.min.htm" + print( "Copy file : " + source + " -> " + target ) + shutil.copyfile( source, target ) + target = dir + "/bin/version.json" ver = get_build_flag_value("CFG_APPVER") print( "Creating version.json" ) f = open( target, "w" ) f.write( "{ \"project\":\"gravmon\", \"version\":" + ver + ", " ) - f.write( " \"html\": [ \"index.min.htm\", \"device.min.htm\", \"config.min.htm\", \"calibration.min.htm\", \"about.min.htm\" ] }" ) + f.write( " \"html\": [ \"index.min.htm\", \"device.min.htm\", \"config.min.htm\", \"calibration.min.htm\", \"format.min.htm\", \"about.min.htm\" ] }" ) f.close() diff --git a/src_docs/source/backlog.rst b/src_docs/source/backlog.rst index 55dea53..7f1a0a9 100644 --- a/src_docs/source/backlog.rst +++ b/src_docs/source/backlog.rst @@ -8,6 +8,7 @@ Documentation - Write contribution instructions - Example project for creating integrations and instructions +- Add instructions for other services Code ---- @@ -16,3 +17,4 @@ Code - Use pre-commit for validating check-in - Show indicated battery life based on interval (check if its feasable) - Add possibility to add one certificate for proper SSL authentication. +- Add configurable Authentication/Token header to http/https requests diff --git a/src_docs/source/configuration.rst b/src_docs/source/configuration.rst index 19a3754..d17d538 100644 --- a/src_docs/source/configuration.rst +++ b/src_docs/source/configuration.rst @@ -772,7 +772,7 @@ This is the format template used to create the json above. ispindel/${mdns}/interval:${sleep-interval}| ispindel/${mdns}/RSSI:${rssi}| -This is a format template that is compatible with v0.6. +This is a format template that is compatible with v0.6. Just replace the `topic` with the topic you want to post data to. .. code-block:: @@ -790,11 +790,12 @@ they can be uploaded manually afterwards. { "project":"gravmon", - "version":"0.4.10", + "version":"0.7.0", "html": [ "index.min.htm", "device.min.htm", "config.min.htm", + "format.min.htm", "calibration.min.htm", "about.min.htm" ] diff --git a/src_docs/source/q_and_a.rst b/src_docs/source/q_and_a.rst index 9a71124..03d52a4 100644 --- a/src_docs/source/q_and_a.rst +++ b/src_docs/source/q_and_a.rst @@ -6,3 +6,4 @@ My device is no going in to sleep after fully charged - Calibrate the device in the web interface - Check the angle/tilt. If the device is reporting 90 degress then its not going into sleep. Tilt the device and check if sleep works. - Check in reported voltage of the battery in the web interface. If this is higher than 4.15V the device belives its beeing charged. In that case adjust the voltage factor under hardware so the voltage drops below 4.15V. +- Check if the `always on` option is activated in the web interface. diff --git a/src_docs/source/releases.rst b/src_docs/source/releases.rst index dc0acd1..33db9b7 100644 --- a/src_docs/source/releases.rst +++ b/src_docs/source/releases.rst @@ -8,21 +8,33 @@ v0.7.0 Development version (dev branch) -* SSL support for HTTP targets (no validation of CA) -* SSL support for MQTT targets (no validation of CA) -* SSL support for OTA (no validation of CA) -* **Breaking change**: To simplify the internal structure the - temp sensor adjustment is now stored in C. So if you have - enabled this function using F you will need to go into - the configuration and update the factor again. -* **Breaking change**: The MQTT push option has been changed to match the iSpindle behaviour. If - the behaviour in v0.6 is wanted this can be done via the format editor. +* SSL support for HTTP targets +* SSL support for MQTT targets +* SSL support for OTA + * Added error handling for calibration page. -* Added experimental target ESP32 (using an ESP32 D1 Mini which is pin compatible with ESP8266) + +* Added experimental target ESP32 (using an ESP32 D1 Mini which is pin compatible with ESP8266). Not + really usable since wifi connection is extreamly slow with current Arduino releases (3-8 seconds). + * Added experimental format editor so users can customize their data format used for pushing data. This will reduce the need for custom push targets. As long as the service is supporting http or https then the data format can be customized. +* Added check so that pushing data is not done if memory is low (this will make it crash) + +* MQTT topic has been removed from config (handled via format templates) + +* MQTT port port number added. Port over 8000 will activate SSL. + +* **Breaking change**: To simplify the internal structure the + temp sensor adjustment is now stored in C. So if you have + enabled this function using F you will need to go into + the configuration and update the adjustment factor again (hardware config). + +* **Breaking change**: The MQTT push option has been changed to match the iSpindle behaviour. If + the behaviour in v0.6 is wanted this can be done via the format editor. + v0.6.0 ------