Commit Graph
122 Commits
Author SHA1 Message Date
Tobias Lindberg e525958d96 Merge branch 'main' into bug-8 2021-03-25 10:38:40 +01:00
Tobias Lindberg 4f9d533b6a bumping new version v1.4.0
updating CHANGELOG
v1.4.0
2021-03-25 09:27:32 +01:00
Tobias Lindberg 655872482d Merge pull request #22 from tobiasehlert/feature-commands
Feature commands to proxy POST commands to Tesla owner API
2021-03-25 09:15:44 +01:00
Tobias Lindberg b5fff58bcc in case someone accesses GET command with commands 2021-03-24 14:16:52 +01:00
Tobias Lindberg b9b1bcdfc1 typo 2021-03-24 14:16:28 +01:00
Tobias Lindberg cde4a0f3ac updating version number in code (to 1.3.1) 2021-03-24 13:52:54 +01:00
Tobias Lindberg 7fb964a67f adjusting user-agent for post action 2021-03-24 13:52:35 +01: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 82e48022d8 updating README a little 2021-03-24 13:42:26 +01:00
Tobias Lindberg 78cf8850b5 adjusting allow_list.json example.. /command/wake_up to /wake_up 2021-03-24 13:42:26 +01:00
Leland Sindt fb2a465452 additional commands documentation, allow_list.json example 2021-03-24 13:42:26 +01:00
Tobias Lindberg a060a19f6f adding documentation to README about commands and authentication
fixing typo in errormessage
2021-03-24 13:42:26 +01:00
Tobias Lindberg 17d4cd8ca1 adding the Authorization Bearer support to AuthSupport 2021-03-24 13:42:26 +01:00
Tobias Lindberg ff442486d6 using http.Method instead of strings
changing http.NewRequest error field to _
adding User-Agent header to http request
2021-03-24 13:42:26 +01:00
Tobias Lindberg 1ef9f88088 adding var with API version 2021-03-24 13:42:25 +01:00
Tobias Lindberg ec69386292 changing command collection to Params instead of c.Request.RequestURI 2021-03-24 13:42:25 +01:00
Tobias Lindberg b6f502ddd6 merging sql queries
enhancing logging
2021-03-24 13:42:25 +01:00
Tobias Lindberg 6340c45d14 adding CommandSupport file
related changes in files
2021-03-24 13:42:25 +01:00
Tobias Lindberg 9f7265e210 adding AuthSupport file
related changes in files
2021-03-24 13:42:25 +01:00
Tobias Lindberg 97ae4f6cbb changing from commands path to command
moving function checkArrayContainsString
2021-03-24 13:42:25 +01:00
Tobias Lindberg 77a63a5ac7 adding comments
enhancement of logging
2021-03-24 13:42:25 +01:00
Tobias Lindberg c88e0fa6f8 fixing typo and some small things
adding README info of commands with documentation
2021-03-24 13:42:25 +01:00
Leland Sindt 876e06d68b proxy commands to Tesla API 2021-03-24 13:42:24 +01:00
Tobias Lindberg 92fdfc45fe bumping new version v1.3.1
updating CHANGELOG
v1.3.1
2021-03-23 11:09:00 +01:00
Tobias Lindberg 31031b1618 adding import of github.com/thanhpk/randstr to top.. 2021-03-23 09:57:38 +01:00
Tobias Lindberg 4fc5aa3c80 removed MQTT_SLEEPTIME since mqtt connection is persistent 2021-03-23 09:54:12 +01:00
Tobias Lindberg cf644cf3ce Merge branch 'bug-8' of https://github.com/tobiasehlert/teslamateapi into bug-8 2021-03-23 09:50:43 +01:00
Tobias Lindberg ffb66a714c Merge branch 'pr/21' into bug-8 2021-03-23 09:48:13 +01:00
Tobias Lindberg c857ef6e8f Merge branch 'pr/21' into bug-8
adding a little log enhancement
2021-03-23 09:43:16 +01:00
Tobias Lindberg 27c3e62e7b Merge branch 'main' into bug-8 2021-03-23 09:28:26 +01:00
Tobias Lindberg 6702797da7 Merge pull request #19 from gaussmeter/bug-18
handle Null -> Bool
2021-03-21 15:55:07 +01:00
Leland Sindt 8e68b96d54 handle Null -> Bool
https://golang.org/pkg/database/sql/#NullBool
2021-03-21 09:41:24 -05:00
Matt Brittan 18c8464769 make the map! 2021-03-19 07:21:36 +13:00
Tobias Lindberg 3fa6d9bc55 adding url to badges
adding license badge
2021-03-18 10:54:05 +01:00
Matt Brittan 3535cdc404 Refactor MQTT so it connects once to broker and caches messages 2021-03-18 16:31:32 +13:00
Tobias Lindberg 8c4bbda43b bumping new version v1.3.0
updating CHANGELOG
v1.3.0
2021-03-17 08:27:43 +01:00
Tobias Lindberg a2f3d46062 Merge pull request #17 from tobiasehlert/bug-14
adding mqtt sleep time before doing disconnect
resolves #14
2021-03-17 08:23:40 +01:00
Tobias Lindberg 48ef001406 bumping new version v1.2.3
updating CHANGELOG
v1.2.3
2021-03-16 15:36:38 +01:00
Tobias Lindberg e13f5cf0a7 bump go mod version from 1.15 to 1.16 2021-03-16 15:36:20 +01:00
Tobias Lindberg a5bda76a93 adding mqtt sleep time before doing disconnect 2021-03-16 15:19:23 +01:00
Tobias Lindberg 683c29c6f1 adding probot for stale and no-response 2021-03-16 15:05:39 +01:00
Tobias Lindberg ee4bc58a89 Merge pull request #16 from gaussmeter/mqtt
defer disconnection to prevent un-managed disconnects
2021-03-16 13:39:53 +01:00
Leland Sindt 992fd6070c defer disconnection to prevent un-managed disconnects 2021-03-16 07:16:21 -05:00
Tobias Lindberg f6cbf8630d Merge pull request #15 from gaussmeter/mqtt
add random string to mqtt clientID to prevent concurrent connections
2021-03-16 11:28:49 +01:00
Tobias Lindberg fa1cdc6592 adding github.com/thanhpk/randstr to go mod 2021-03-16 11:17:36 +01:00
Tobias Lindberg 9cbb2fa244 Merge pull request #12 from tobiasehlert/dependabot/docker/golang-1.16.2
Bump golang from 1.16.0 to 1.16.2
2021-03-16 09:42:47 +01:00
Leland Sindt 55d30a197e add random string to mqtt clientID to prevent concurrent connections 2021-03-15 21:14:59 -05:00
dependabot[bot] 3a17839b01 Bump golang from 1.16.0 to 1.16.2
Bumps golang from 1.16.0 to 1.16.2.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-15 07:09:46 +00:00
Tobias Lindberg 5273955b15 bumping new version v1.2.2
updating CHANGELOG
v1.2.2
2021-03-11 23:48:58 +01:00