|
| 1 | +# Changelog |
| 2 | + |
| 3 | +### v0.2.3 |
| 4 | + |
| 5 | + - Added advanced configuration options for InfluxDB |
| 6 | + |
| 7 | +### v0.2.2 |
| 8 | + |
| 9 | + - Fixed a rare crash when hcidump was returning invalid data |
| 10 | + |
| 11 | +### v0.2.1 |
| 12 | + |
| 13 | + - Support for data format 5 ("RAW v2") |
| 14 | + |
| 15 | +## v0.2.0 |
| 16 | + |
| 17 | + - Major refactoring in the application logic |
| 18 | + - Changed the preferred format how data is saved to InfluxDB |
| 19 | + - Added new configuration properties and changed some old ones |
| 20 | + - Added the ability to give (human readable) friendly names for tags |
| 21 | + |
| 22 | +##### --- Migrating from a pre-v.0.2.0 version: |
| 23 | + |
| 24 | +Versions prior to v0.2.0 use single-value measurements, v0.2.0 uses multi-value measurements by default (for a limited time you can use the legacy format by changing that in the config). To migrate from a version prior to v0.2.0: |
| 25 | + |
| 26 | + - If you are using a custom config, copy the new ruuvi-collector.properties.example and replace your existing ruuvi-collector.properties and change the values you need. Some properties have their names changed and some new ones are added. |
| 27 | + - If you want to give names to your tags (in your existing measurements as well as future measurements), copy the ruuvi-names.properties.example to ruuvi-names.properties (in the same directory) as the collector and edit the file accordingly. |
| 28 | + - Run the collector with `migrate` parameter to migrate existing data to the new format: `java -jar ruuvi-collector-*.jar migrate` and let it run, this may take a long time if you have a lot of data or have a slow system (ie. Raspberry PI). |
| 29 | + - The log should say something like this once the migration is finished: |
| 30 | + |
| 31 | +``` |
| 32 | +2017-11-19 13:46:29.416 INFO [InfluxDataMigrator] Starting query threads... |
| 33 | +2017-11-19 13:46:30.023 INFO [InfluxDataMigrator] Processing... |
| 34 | +2017-11-19 13:47:52.012 INFO [InfluxDataMigrator] Finished migration! 912816 measurements migrated, took 82.823 seconds (11021.286357654275 measurements per second) |
| 35 | +2017-11-19 13:47:52.016 INFO [InfluxDataMigrator] accelerationX discarded: 0 |
| 36 | +2017-11-19 13:47:52.016 INFO [InfluxDataMigrator] accelerationY discarded: 0 |
| 37 | +2017-11-19 13:47:52.016 INFO [InfluxDataMigrator] accelerationZ discarded: 0 |
| 38 | +2017-11-19 13:47:52.016 INFO [InfluxDataMigrator] battery discarded: 0 |
| 39 | +2017-11-19 13:47:52.017 INFO [InfluxDataMigrator] humidity discarded: 0 |
| 40 | +2017-11-19 13:47:52.017 INFO [InfluxDataMigrator] pressure discarded: 0 |
| 41 | +2017-11-19 13:47:52.017 INFO [InfluxDataMigrator] rssi discarded: 0 |
| 42 | +2017-11-19 13:47:52.017 INFO [InfluxDataMigrator] temperature discarded: 0 |
| 43 | +2017-11-19 13:47:52.478 INFO [Main] Clean exit |
| 44 | +``` |
| 45 | + |
| 46 | + - Ideally you should have 0 discards like in the example above, and the number of measurements migrated should be the amount of measurements you had stored. |
| 47 | + - The migrator does *not* delete the old measurements, so if something goes wrong, you can always try again |
| 48 | + - When you are happy with the result, you can continue running the collector normally like before, without the migrate argument |
| 49 | + - NOTE: as the format in InfluxDB changes, you need to update your applications accordingly (ie. Grafana, choose 'ruuvi_measurements' as the measurement and the desired type as the 'value') |
| 50 | + |
| 51 | +### v0.1.2 |
| 52 | + |
| 53 | + - Improved error handling |
| 54 | + - Added support for whitelist/blacklist filtering |
| 55 | + - Added support for dryrun mode |
| 56 | + |
| 57 | +### v0.1.1 |
| 58 | + |
| 59 | + - Support for protocol version 4 |
| 60 | + - Bugfix related to protocol version 3 with latest weather-station firmware |
| 61 | + |
| 62 | +## v0.1.0 |
| 63 | + |
| 64 | + - First public release |
0 commit comments