Tobias Lindberg
|
a5bda76a93
|
adding mqtt sleep time before doing disconnect
|
2021-03-16 15:19:23 +01:00 |
|
Tobias Lindberg
|
2d2df18013
|
using c.Request.RequestURI in logstring
|
2021-03-11 23:15:25 +01:00 |
|
Tobias Lindberg
|
4f5c32fa0f
|
updating traefik configuration example
updating README
|
2021-03-02 19:54:06 +01:00 |
|
Tobias Lindberg
|
91e0fae7a0
|
rel aed5503e7b regaring path issues
|
2021-03-02 19:40:09 +01:00 |
|
Tobias Lindberg
|
1afdf2ee71
|
changing logformat
|
2021-03-02 14:41:44 +01:00 |
|
Tobias Lindberg
|
ffffb22974
|
changing logformat
|
2021-03-02 13:58:52 +01:00 |
|
Tobias Lindberg
|
aed5503e7b
|
implementation of versioning in uri
updating README with version info
|
2021-03-02 13:58:06 +01:00 |
|
Tobias Lindberg
|
880d055753
|
adding mqtt cleansession flag
changing to multi-subscribe with list
|
2021-02-18 15:19:47 +01:00 |
|
Tobias Lindberg
|
8326141d27
|
fixing issue with filtering with CarID in SQL and validation
|
2021-02-18 11:56:09 +01:00 |
|
Tobias Lindberg
|
c010fc2a84
|
better logg readability
|
2021-02-18 11:55:21 +01:00 |
|
Tobias Lindberg
|
e8ada9c61f
|
alphabetical ordering of getEnv* functions addition of getEnvAsFloat
renaming of TeslaMateAPIGlobalSettings to TeslaMateAPIGlobalsettings
|
2021-02-18 10:09:36 +01:00 |
|
Tobias Lindberg
|
7e7abc0f0a
|
improving logging with ginMode
renaming init function
|
2021-02-18 09:59:57 +01:00 |
|
Tobias Lindberg
|
893f1f9b4b
|
using DEBUG_MODE to choose display of JSON response in log or not
|
2021-02-18 09:51:58 +01:00 |
|
Tobias Lindberg
|
fb3e35533b
|
improving calling of functions by calling gin inside functions instead
changing mqtt var from c to m
merge of TeslaMateAPICarsID into TeslaMateAPICars
code cleanup
|
2021-02-18 09:50:58 +01:00 |
|
Tobias Lindberg
|
cf15504acf
|
changing logging slightly
|
2021-02-18 09:45:56 +01:00 |
|
Tobias Lindberg
|
5135acd4a2
|
changing TrimBadging from string to NullString
|
2021-02-15 19:11:09 +01:00 |
|
Tobias Lindberg
|
9e063e3d7a
|
fix minor SQL query error
|
2021-02-15 19:10:48 +01:00 |
|
Tobias Lindberg
|
7cc16f6355
|
cleanup of fmt
specifying port to run
|
2021-02-15 14:27:36 +01:00 |
|
Tobias Lindberg
|
c75b6dd319
|
adding env DEBUG_MODE vars for Gin
|
2021-02-15 14:27:02 +01:00 |
|
Tobias Lindberg
|
72fcb1a158
|
adding root endpoint telling API is running
|
2021-02-15 14:25:58 +01:00 |
|
Tobias Lindberg
|
15025c333d
|
changing port to match golang binary port
|
2021-02-14 17:04:02 +01:00 |
|
Tobias Lindberg
|
d7d2ff3fef
|
adding support for more env-vars
updating a little in README
|
2021-02-13 17:24:13 +01:00 |
|
Tobias Lindberg
|
40f27cd902
|
adding endpoints for charges and drives
|
2021-02-13 10:50:09 +01:00 |
|
Tobias Lindberg
|
e0a52fb6d5
|
adding calculation functions with support for null/nil
|
2021-02-12 17:31:02 +01:00 |
|
Tobias Lindberg
|
25a94320ec
|
adding support for null/nil
|
2021-02-12 17:29:05 +01:00 |
|
Tobias Lindberg
|
93f09f0ed7
|
enhancing readability of IDs in json-response
|
2021-02-11 11:11:12 +01:00 |
|
Tobias Lindberg
|
28c9175dbe
|
formatting time of database in UTC to user-set timezone
|
2021-02-09 20:30:10 +01:00 |
|
Tobias Lindberg
|
d209ada0b2
|
changing MQTT_HOST default value
|
2021-02-09 13:37:09 +01:00 |
|
Tobias Lindberg
|
a6c449f69d
|
adding endpoint for mqtt status
adding redirect on valid car to status endpoint
|
2021-02-09 12:22:58 +01:00 |
|
Tobias Lindberg
|
e41ad3e504
|
moving globalsettings below ping endpoint
|
2021-02-09 10:41:21 +01:00 |
|
Tobias Lindberg
|
717a8a3dfc
|
adding endpoint for globalsettings
|
2021-02-09 10:30:57 +01:00 |
|
Tobias Lindberg
|
d8a8fc3f55
|
adding cars name to Car struct
|
2021-02-09 09:53:58 +01:00 |
|
Tobias Lindberg
|
91a94f001e
|
adding endpoint /cars/<CarID>/updates
|
2021-02-09 09:44:14 +01:00 |
|
Tobias Lindberg
|
31dcb4bbce
|
initial commit of /cars
updated README
|
2021-02-09 09:37:44 +01:00 |
|