Skip to content

Commit b1cf7c2

Browse files
authored
Merge pull request #440 from OpenVoiceOS/feat/ha-telemetry
[telemetry] Collect the information if HA is used or not
2 parents 24cbe22 + 27f0a23 commit b1cf7c2

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

ansible/roles/ovos_telemetry/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
ovos_telemetry_feature_gui: "{{ ovos_installer_feature_gui | default(false) }}"
3+
ovos_telemetry_feature_homeassistant: "{{ ovos_installer_feature_homeassistant | default(false) }}"
34

45
ovos_telemetry_geoip_url: http://ip-api.com/json
56
ovos_telemetry_url: "https://telemetry.smartgic.io/ovos-installer/metrics/"

ansible/roles/ovos_telemetry/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
else (ovos_installer_raspberrypi | default('N/A')) }}
5555
skills_feature: "{{ ovos_installer_feature_skills | default(false) | bool }}"
5656
extra_skills_feature: "{{ ovos_installer_feature_extra_skills | default(false) | bool }}"
57+
homeassistant_feature: "{{ ovos_telemetry_feature_homeassistant | default(false) | bool }}"
5758
gui_feature: "{{ ovos_telemetry_feature_gui | default(false) | bool }}"
5859
cpu_capable: "{{ ovos_installer_cpu_is_capable | default(false) | bool }}"
5960
tuning_enabled: "{{ (ovos_installer_tuning | default('no')) == 'yes' }}"

docs/telemetry.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The data collection only happens during the installation process, nothing else w
88

99
**The installer will ask you if you want to share or not the data.**
1010

11-
Below is a list of the collected data _(please have a look to the [Ansible template](https://github.com/OpenVoiceOS/ovos-installer/blob/main/ansible/roles/ovos_telemetry/templates/telemetry.json.j2) used to publish the data)_.
11+
Below is a list of the collected data _(see the [Ansible task](https://github.com/OpenVoiceOS/ovos-installer/blob/main/ansible/roles/ovos_telemetry/tasks/main.yml) that builds and sends the telemetry payload)_.
1212

1313
| Data | Description |
1414
| ---------------------- | -------------------------------------------------------- |
@@ -21,6 +21,7 @@ Below is a list of the collected data _(please have a look to the [Ansible templ
2121
| `extra_skills_feature` | Extra OVOS's skills enabled during the installation |
2222
| `gui_feature` | GUI enabled during the installation |
2323
| `hardware` | Is the device a Mark 1, Mark II or DevKit |
24+
| `homeassistant_feature` | Home Assistant feature enabled during the installation |
2425
| `installed_at` | Date when OVOS has been installed |
2526
| `os_kernel` | Kernel version of the host where OVOS is running |
2627
| `os_name` | OS name of the host where OVOS is running |
@@ -33,3 +34,5 @@ Below is a list of the collected data _(please have a look to the [Ansible templ
3334
| `sound_server` | What PulseAudio or PipeWire used |
3435
| `tuning_enabled` | Did the Raspberry Pi tuning feature was used |
3536
| `venv` | OVOS installed into a Python virtual environment |
37+
38+
No Home Assistant URL or API key values are collected, only whether the Home Assistant feature was enabled.

0 commit comments

Comments
 (0)