Skip to content

Commit

Permalink
Merge pull request #6 from Ragin-LundF/develop
Browse files Browse the repository at this point in the history
Release 1.2.0
  • Loading branch information
Ragin-LundF authored Jan 23, 2022
2 parents c52b5c3 + c5d1069 commit d226610
Show file tree
Hide file tree
Showing 16 changed files with 1,244 additions and 87 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
*.iml
.idea
__pycache__
*.db
config_custom.yaml
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Changelog

## 1.2.0

Please ensure, that the directory of the application has the same user/group as the telegraf daemon.
By default, the `install.sh` will set the owner to `telegraf:telegraf`.

It is required to re-execute the pip installer:

```bash
pip3 install -r requirements.txt
```

### Phone Call Counter
Added a feature to see how many calls are
- missed
- incoming
- outgoing

In addition, the total time spent on these call types is also counted.

This feature uses a local SQLite database to store the calls and to avoid duplicates while a day.
It stores some data there, to allow more statistics later.
The data will also be cleaned up after some days to avoid too much redundant data.
In the YAML configuration file, it is possible to configure this feature.

To see the phone call visualization in Grafana, please update your Dashboard configuration with the current version.

### YAML configuration possibility
With this release, it is possible to configure most parameters via a YAML configuration file.
The only parameter, which still has to be used via CLI is the address `-i` parameter.

Arguments from the CLI will always overwrite this config.

To have full separation between default config and custom config and to not overwrite something, a custom configuration should be written in a file called `config_custom.yaml`.
The configuration of this file will be merged with the default `config.yaml` file.

For more information about this feature, please look into the `README.md`.

### install.sh optimization
The `install.sh` file will no longer overwrite the `telegraf_fritzbox.conf` file in `/etc/telegraf/telegraf.d/``
Loading

0 comments on commit d226610

Please sign in to comment.