Files
archived-hipudding-teslamate/.github/ISSUE_TEMPLATE/bug_report.yml
2023-11-12 20:04:34 +01:00

124 lines
4.2 KiB
YAML

name: Bug Report
description: File a bug report
labels: []
assignees: []
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: |
Please search to see if an issue already exists for the bug you encountered:
- [Issues](https://github.com/teslamate-org/teslamate/issues?q=)
- [Discussions](https://github.com/teslamate-org/teslamate/discussions)
options:
- label: I have searched the existing issues
required: true
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! Please provide as much info as possible.
- type: textarea
id: current-behavior
attributes:
label: What happened?
description: A concise description of what you're experiencing.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output of the TeslaMate Docker container or application. This will be automatically formatted into code, so no need for backticks.
To retrieve the TeslaMate Docker container logs, run `docker compose logs teslamate`.
placeholder: |
2021-09-22 23:20:54.226 [info] Starting logger for 'Tesla'
2021-09-22 23:20:54.251 [info] MQTT connection has been established
2021-09-22 23:20:54.334 car_id=1 [info] Start / :asleep
2021-09-22 23:20:56.721 [info] GET /
render: shell
validations:
required: true
- type: textarea
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain the problem.
placeholder: Upload screenshot files here by dragging & dropping
validations:
required: false
- type: textarea
attributes:
label: Additional data
description: |
If applicable, add an export of the data for the given period.
For example, to export charge data after January 1, 2020:
```bash
$ docker compose exec database psql teslamate teslamate -c \
"COPY (select * from charges where date > '2020-01-01') TO STDOUT WITH CSV HEADER" > charges.csv
$ docker compose exec database psql teslamate teslamate -c \
"COPY (select * from charging_processes where start_date > '2020-01-01') TO STDOUT WITH CSV HEADER" > charging_processes.csv
```
To export drive data after January 1, 2020:
```bash
$ docker compose exec database psql teslamate teslamate -c \
"COPY (select id, car_id, drive_id, date, elevation, speed, power, odometer, ideal_battery_range_km, est_battery_range_km, rated_battery_range_km, battery_level, usable_battery_level, battery_heater_no_power, battery_heater_on, battery_heater, inside_temp, outside_temp, fan_status, driver_temp_setting, passenger_temp_setting, is_climate_on, is_rear_defroster_on, is_front_defroster_on from positions where date > '2020-01-20') TO STDOUT WITH CSV HEADER" > positions.csv
$ docker compose exec database psql teslamate teslamate -c \
"COPY (select * from drives where start_date > '2020-01-01') TO STDOUT WITH CSV HEADER" > drives.csv
```
placeholder: Upload exported data here by dragging & dropping
validations:
required: false
- type: dropdown
id: installation
attributes:
label: Type of installation
options:
- Docker
- Manual
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: What version of TeslaMate are you running?
placeholder: v1.24.1
validations:
required: true