Tobias Lindberg
ab69d262c6
alignment of commands to version 4.23.6 ( #265 )
2024-01-30 22:15:38 +01:00
Tobias Lindberg
243363e7c4
update teslamate repo links to teslamate-org
2023-11-13 09:40:44 +01:00
Tobias Lindberg
c9db9729f9
cleaning, bumping and enhancing ( #243 )
...
* some cleanup
- updating constant in group to have explicit type (SA9004)
- commenting out empty branch (SA9003)
* bump go mods
* refactor of nested if statements
closes #175
* stop using ioutil as it is deprecated
2023-09-22 23:12:21 +02:00
Tobias Lindberg
2788965069
add support for new car commands ( #187 )
...
- /command/charge_standard
- /command/charge_max_range
- /command/remote_seat_cooler_request
- /command/set_climate_keeper_mode
- /command/remote_auto_seat_climate_request
2022-07-01 00:01:22 +02:00
Tobias Lindberg
e5ee21bb44
fixing append of commands to allowList ( #142 )
2022-01-27 00:45:51 +01:00
Tobias Lindberg
04691f8e81
Slimming down on the codebase ( #134 )
...
* slimming down on one for and using join instead
* doing single query on first query part
removing a couple of if statements due to that
* typo
* simplifying settings endpoints queries
* lowering some var..
* grouping vars
* adding rec to use api key in readme
2022-01-21 12:15:52 +01:00
Tobias Lindberg
b6ce2b89b9
Removing some code smell reported by SonarCloud ( #132 )
...
* changing lots of if else to switch in status
* removing logging of user-provided
* removing tons of ifs for a map and a loop
2022-01-11 21:24:31 +01:00
Tobias Lindberg
a29eaf0a4d
Add support for new endpoints ( #113 )
...
* Add support for `set_charging_amps` command (#112 )
Per discussion on the timdorr/tesla-api repo https://github.com/timdorr/tesla-api/discussions/455
* removing predefined charge levels
* adding new commands:
- navigation_sc_request
- set_bioweapon_mode
- set_scheduled_charging
- set_scheduled_departure
* adding command section COMMANDS_UNKNOWN
- dashcam_save_clip
- upcoming_calendar_entries
* moving set_scheduled_departure to charging
Co-authored-by: Michael Dyrynda <michael@dyrynda.com.au >
2021-11-08 08:49:19 +01:00
Tobias Lindberg
7baecf3a61
moving defer to when error check has passed
...
go-staticcheck: should check returned error before deferring commandAllowListFile.Close() (SA5001)
2021-05-19 19:53:54 +02:00
Leland Sindt
24531edfcd
add support for teslamate logging resume/suspend
2021-04-29 16:43:20 -05:00
Leland Sindt
8479e0e36f
defer commandAllowList close.
2021-03-24 13:42:26 +01:00
Leland Sindt
4d4f97ee01
enable COMMANDS_ALLOWLIST
2021-03-24 13:42:26 +01:00
Tobias Lindberg
6340c45d14
adding CommandSupport file
...
related changes in files
2021-03-24 13:42:25 +01:00