Compare commits

...

321 Commits
v1.0.5 ... main

Author SHA1 Message Date
Michael Woods
f69adb279e
Merge pull request #257 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.16
Bump onstarjs from 2.3.15 to 2.3.16
2023-03-02 15:34:31 -05:00
Michael Woods
80bd465c74
Merge pull request #256 from michaelwoods/dependabot/npm_and_yarn/eslint-8.35.0
Bump eslint from 8.33.0 to 8.35.0
2023-03-02 15:34:12 -05:00
dependabot[bot]
c59295df84
Bump onstarjs from 2.3.15 to 2.3.16
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.15 to 2.3.16.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.15...v2.3.16)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 08:56:51 +00:00
dependabot[bot]
042bec5ac5
Bump eslint from 8.33.0 to 8.35.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.33.0 to 8.35.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.33.0...v8.35.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 08:56:41 +00:00
Michael Woods
5bc49c968e Version 1.5.4 2023-02-01 20:43:58 -05:00
BigThunderSR
f1c167668a Fixed bug from upstream update preventing publishing of location to MQTT 2023-02-01 20:33:30 -05:00
Michael Woods
6fb09602d7 Use lts codename. 2023-02-01 20:33:30 -05:00
Michael Woods
8b5826f345
Merge pull request #252 from michaelwoods/dependabot/github_actions/docker/build-push-action-4
Bump docker/build-push-action from 3 to 4
2023-02-01 20:25:24 -05:00
Michael Woods
44953eb1aa
Merge pull request #253 from michaelwoods/dependabot/npm_and_yarn/eslint-8.33.0
Bump eslint from 8.32.0 to 8.33.0
2023-02-01 20:25:10 -05:00
dependabot[bot]
6a73b1c9b9
Bump eslint from 8.32.0 to 8.33.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.32.0 to 8.33.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.32.0...v8.33.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 08:00:35 +00:00
dependabot[bot]
daca343fef
Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 08:00:29 +00:00
Michael Woods
6e65ee3afd Version 1.5.3 2023-01-24 23:01:15 -05:00
Michael Woods
46ffd940d7 Update OnstarJS to fix auth. 2023-01-24 22:59:56 -05:00
Michael Woods
5c7ec42b1f
Merge pull request #248 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-import-2.27.5
Bump eslint-plugin-import from 2.26.0 to 2.27.5
2023-01-24 21:46:29 -05:00
dependabot[bot]
71e537aed3
Bump eslint-plugin-import from 2.26.0 to 2.27.5
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.26.0 to 2.27.5.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.26.0...v2.27.5)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 02:31:25 +00:00
Michael Woods
038141060f
Merge pull request #246 from michaelwoods/dependabot/npm_and_yarn/eslint-8.32.0
Bump eslint from 8.31.0 to 8.32.0
2023-01-24 21:30:32 -05:00
Michael Woods
397a798121
Move to monthly dependabot updates 2023-01-24 21:30:19 -05:00
dependabot[bot]
c678cab6b4
Bump eslint from 8.31.0 to 8.32.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.31.0 to 8.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.31.0...v8.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 08:01:12 +00:00
Michael Woods
3bfbb27848
Merge pull request #240 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.14
Bump onstarjs from 2.3.13 to 2.3.14
2023-01-08 22:33:51 -05:00
Michael Woods
660465e9bf
Merge pull request #244 from michaelwoods/dependabot/npm_and_yarn/json5-1.0.2
Bump json5 from 1.0.1 to 1.0.2
2023-01-08 22:33:12 -05:00
Michael Woods
65e4373b52
Merge pull request #241 from michaelwoods/dependabot/npm_and_yarn/eslint-8.31.0
Bump eslint from 8.27.0 to 8.31.0
2023-01-08 22:33:02 -05:00
Michael Woods
c5fe4ed024
Merge pull request #237 from michaelwoods/dependabot/npm_and_yarn/mocha-10.2.0
Bump mocha from 10.1.0 to 10.2.0
2023-01-08 22:32:53 -05:00
Michael Woods
ca2b7775fc
Merge pull request #242 from tylerpieper/patch-1
Add an example automation to automatically update location
2023-01-08 22:32:37 -05:00
dependabot[bot]
5a1eab2df5
Bump json5 from 1.0.1 to 1.0.2
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 16:53:40 +00:00
tylerpieper
e791f6e13d
Add an example automation to automatically update location
The examples provided have a good start, but I suggest adding an example automation to automatically update the vehicle's location so users have everything needed to have location updates automatically. I have done this by triggering the automation when the odometer changes, that way we aren't wasting onstar calls when the vehicle is sitting still.
2023-01-03 16:16:35 -07:00
dependabot[bot]
4d754269df
Bump eslint from 8.27.0 to 8.31.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.27.0 to 8.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.27.0...v8.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 08:01:00 +00:00
dependabot[bot]
e7bf57b210
Bump onstarjs from 2.3.13 to 2.3.14
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.13 to 2.3.14.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.13...v2.3.14)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 08:00:51 +00:00
dependabot[bot]
540f345e47
Bump mocha from 10.1.0 to 10.2.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.1.0 to 10.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.1.0...v10.2.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 08:01:06 +00:00
Michael Woods
500e6e22d8 Restore defaults 2022-11-30 12:26:13 -05:00
Michael Woods
ad3f292135 Improve error logging and command response output. 2022-11-30 12:24:52 -05:00
Michael Woods
ab4e5c7f24 Version 1.5.2 2022-11-10 08:08:52 -05:00
Michael Woods
7f48f6b356
Merge pull request #226 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.20.2
Bump @babel/preset-env from 7.19.4 to 7.20.2
2022-11-10 08:07:48 -05:00
Michael Woods
eaf8ce7764
Merge pull request #220 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-promise-6.1.1
Bump eslint-plugin-promise from 6.0.1 to 6.1.1
2022-11-10 08:07:39 -05:00
dependabot[bot]
6316c479a1
Bump eslint-plugin-promise from 6.0.1 to 6.1.1
Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 6.0.1 to 6.1.1.
- [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint-community/eslint-plugin-promise/compare/v6.0.1...v6.1.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 01:05:18 +00:00
dependabot[bot]
ad5348c967
Bump @babel/preset-env from 7.19.4 to 7.20.2
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.19.4 to 7.20.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.20.2/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 01:05:00 +00:00
Michael Woods
877a16c2f7
Merge pull request #215 from michaelwoods/dependabot/github_actions/docker/setup-qemu-action-2.1.0
Bump docker/setup-qemu-action from 2.0.0 to 2.1.0
2022-11-09 20:01:43 -05:00
Michael Woods
39df6a23bf
Merge pull request #216 from michaelwoods/dependabot/npm_and_yarn/mocha-10.1.0
Bump mocha from 10.0.0 to 10.1.0
2022-11-09 20:01:27 -05:00
Michael Woods
efa60e2f23
Merge pull request #227 from michaelwoods/dependabot/npm_and_yarn/eslint-8.27.0
Bump eslint from 8.25.0 to 8.27.0
2022-11-09 20:00:52 -05:00
Michael Woods
6ba7a200e1
Merge pull request #228 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.13
Bump onstarjs from 2.3.11 to 2.3.13
2022-11-09 20:00:37 -05:00
dependabot[bot]
3713f49ed8
Bump onstarjs from 2.3.11 to 2.3.13
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.11 to 2.3.13.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.11...v2.3.13)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 08:01:22 +00:00
dependabot[bot]
348ae8c76c
Bump eslint from 8.25.0 to 8.27.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.25.0 to 8.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.25.0...v8.27.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 08:01:09 +00:00
Michael Woods
f653c8a9a7
Doc the refresh rate
Fixes #213
2022-10-17 20:58:37 -04:00
dependabot[bot]
d95357fd65
Bump mocha from 10.0.0 to 10.1.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 08:06:37 +00:00
dependabot[bot]
fb2f52a110
Bump docker/setup-qemu-action from 2.0.0 to 2.1.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 08:06:29 +00:00
Michael Woods
b3b2050bc0 Version 1.5.1 2022-10-11 20:08:37 -04:00
Michael Woods
77b41375f8 Revert "Version 1.5.1"
This reverts commit e51ea1502a0fe19a2ecf207f311b94fb1d7eba55.
2022-10-11 20:08:25 -04:00
Michael Woods
43e5b8c652
Merge pull request #212 from michaelwoods/revert-204-main
Revert "Added a definition for the API URL for users in Canada"
2022-10-11 20:05:18 -04:00
Michael Woods
652fb16288
Revert "Added a definition for the API URL for users in Canada" 2022-10-11 20:03:12 -04:00
Michael Woods
e51ea1502a Version 1.5.1 2022-10-11 19:59:59 -04:00
Michael Woods
8ee3a65bf6
Merge pull request #211 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.19.4
Bump @babel/preset-env from 7.19.1 to 7.19.4
2022-10-11 19:58:21 -04:00
dependabot[bot]
7e374a900e
Bump @babel/preset-env from 7.19.1 to 7.19.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.19.1 to 7.19.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.4/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-11 23:52:35 +00:00
Michael Woods
aec1c05e51
Merge pull request #210 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.11
Bump onstarjs from 2.3.10 to 2.3.11
2022-10-11 19:51:58 -04:00
Michael Woods
0259d7dd51
Merge pull request #209 from michaelwoods/dependabot/npm_and_yarn/eslint-8.25.0
Bump eslint from 8.24.0 to 8.25.0
2022-10-11 19:51:41 -04:00
dependabot[bot]
7ab093cd00
Bump onstarjs from 2.3.10 to 2.3.11
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.10 to 2.3.11.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.10...v2.3.11)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 08:03:51 +00:00
dependabot[bot]
13507bce50
Bump eslint from 8.24.0 to 8.25.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.24.0 to 8.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.24.0...v8.25.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 08:03:41 +00:00
Michael Woods
2e1faf0abb
Add calendar trigger automation for remote start 2022-10-06 16:30:29 -04:00
Michael Woods
8c6f58e940
Merge pull request #205 from michaelwoods/dependabot/npm_and_yarn/eslint-8.24.0
Bump eslint from 8.23.1 to 8.24.0
2022-09-30 11:28:48 -04:00
Michael Woods
643320876d
Merge pull request #204 from chakal/main
Added a definition for the API URL for users in Canada
2022-09-30 11:28:33 -04:00
dependabot[bot]
d9eb6839da
Bump eslint from 8.23.1 to 8.24.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.23.1 to 8.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.23.1...v8.24.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 08:03:55 +00:00
chakal
fbef114e61 Added a definition for the API URL for users outside the US, specifically Canada 2022-09-23 21:39:35 -04:00
Michael Woods
17a447438f
Update node to v18 in README 2022-09-17 22:37:21 -04:00
Michael Woods
c8c0979e15 Version 1.5.0 2022-09-17 10:29:57 -04:00
Michael Woods
eea3a40eae Upgrade to Node.js 18.x 2022-09-17 10:23:50 -04:00
Michael Woods
665dc4c443
Merge pull request #200 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.10
Bump onstarjs from 2.3.9 to 2.3.10
2022-09-17 10:11:22 -04:00
dependabot[bot]
51c3e1a5f8
Bump onstarjs from 2.3.9 to 2.3.10
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.9 to 2.3.10.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.9...v2.3.10)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 14:08:47 +00:00
Michael Woods
4fb94f8d56
Merge pull request #203 from michaelwoods/dependabot/npm_and_yarn/uuid-9.0.0
Bump uuid from 8.3.2 to 9.0.0
2022-09-17 10:08:24 -04:00
Michael Woods
09b0180ca9
Merge pull request #202 from michaelwoods/dependabot/npm_and_yarn/async-mqtt-2.6.3
Bump async-mqtt from 2.6.2 to 2.6.3
2022-09-17 10:08:09 -04:00
Michael Woods
90710d353b
Merge pull request #201 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.19.1
Bump @babel/eslint-parser from 7.18.9 to 7.19.1
2022-09-17 10:07:52 -04:00
dependabot[bot]
a5ce42ec8f
Bump async-mqtt from 2.6.2 to 2.6.3
Bumps [async-mqtt](https://github.com/mqttjs/async-mqtt) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/mqttjs/async-mqtt/releases)
- [Commits](https://github.com/mqttjs/async-mqtt/compare/v2.6.2...v2.6.3)

---
updated-dependencies:
- dependency-name: async-mqtt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 14:01:39 +00:00
dependabot[bot]
63ac1c0c06
Bump @babel/eslint-parser from 7.18.9 to 7.19.1
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.18.9 to 7.19.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.1/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 14:01:35 +00:00
dependabot[bot]
b4ecca4681
Bump uuid from 8.3.2 to 9.0.0
Bumps [uuid](https://github.com/uuidjs/uuid) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v8.3.2...v9.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 14:01:31 +00:00
Michael Woods
7248e59d06
Merge pull request #198 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-plugin-7.19.1
Bump @babel/eslint-plugin from 7.17.7 to 7.19.1
2022-09-17 10:00:45 -04:00
dependabot[bot]
c6d815d478
Bump @babel/eslint-plugin from 7.17.7 to 7.19.1
Bumps [@babel/eslint-plugin](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-plugin) from 7.17.7 to 7.19.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.1/eslint/babel-eslint-plugin)

---
updated-dependencies:
- dependency-name: "@babel/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 13:50:21 +00:00
Michael Woods
4887a865c0
Merge pull request #196 from michaelwoods/dependabot/npm_and_yarn/eslint-8.23.1
Bump eslint from 8.18.0 to 8.23.1
2022-09-17 09:49:27 -04:00
dependabot[bot]
e427908b15
Bump eslint from 8.18.0 to 8.23.1
Bumps [eslint](https://github.com/eslint/eslint) from 8.18.0 to 8.23.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.18.0...v8.23.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 13:49:15 +00:00
Michael Woods
20b57318bc
Merge pull request #199 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.19.1
Bump @babel/preset-env from 7.18.2 to 7.19.1
2022-09-17 09:48:22 -04:00
Michael Woods
cebef8b003
Merge pull request #195 from michaelwoods/dependabot/npm_and_yarn/winston-3.8.2
Bump winston from 3.7.2 to 3.8.2
2022-09-17 09:47:48 -04:00
Michael Woods
c84ada7738
Merge pull request #197 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-promise-6.0.1
Bump eslint-plugin-promise from 6.0.0 to 6.0.1
2022-09-17 09:47:17 -04:00
dependabot[bot]
0e684514c0
Bump @babel/preset-env from 7.18.2 to 7.19.1
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.2 to 7.19.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.1/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 13:46:19 +00:00
dependabot[bot]
59ffc992f2
Bump winston from 3.7.2 to 3.8.2
Bumps [winston](https://github.com/winstonjs/winston) from 3.7.2 to 3.8.2.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.7.2...v3.8.2)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 13:45:24 +00:00
Michael Woods
a4a9b90a3c
Merge pull request #186 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.18.9
Bump @babel/eslint-parser from 7.18.2 to 7.18.9
2022-09-17 09:44:32 -04:00
dependabot[bot]
1e903085d1
Bump eslint-plugin-promise from 6.0.0 to 6.0.1
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 13:44:26 +00:00
Michael Woods
37a776195c
Merge pull request #179 from jostrander/main
Upgrade docker image to node:alpine-18
2022-09-17 09:44:13 -04:00
Michael Woods
5b66c55e44
Merge pull request #184 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.9
Bump onstarjs from 2.3.8 to 2.3.9
2022-09-17 09:43:51 -04:00
dependabot[bot]
3958014f11
Bump @babel/eslint-parser from 7.18.2 to 7.18.9
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.18.2 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.9/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 08:04:11 +00:00
dependabot[bot]
9cf676b7d0
Bump onstarjs from 2.3.8 to 2.3.9
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.8 to 2.3.9.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.8...v2.3.9)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 08:03:31 +00:00
Jesse Ostrander
a539375ae5 Upgrade docker image to node:alpine-18 2022-07-03 12:41:57 -04:00
Michael Woods
2e5f9621f8 Version 1.4.1 2022-06-22 20:55:56 -04:00
Michael Woods
9a5daf33c7
Merge pull request #175 from BennyDaBee/patch-1
Update measurement.js
2022-06-22 20:55:34 -04:00
Michael Woods
b6812d377b
Update measurement.js 2022-06-22 20:51:20 -04:00
BennyDaBee
37e294330f
Update measurement.js 2022-06-21 21:29:31 -05:00
Michael Woods
ae56234956
Merge pull request #176 from michaelwoods/dependabot/npm_and_yarn/eslint-8.18.0
Bump eslint from 8.17.0 to 8.18.0
2022-06-21 22:25:32 -04:00
dependabot[bot]
f0574fdd1d
Bump eslint from 8.17.0 to 8.18.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.17.0 to 8.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.17.0...v8.18.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 08:04:07 +00:00
BennyDaBee
d918f946ca
Update measurement.js
Add conversion to gallons for non EV
2022-06-14 08:54:02 -05:00
Michael Woods
d3128f57e2
Update HA-MQTT.md 2022-06-07 22:53:48 -04:00
Michael Woods
a435e6cfbb
Update README.md 2022-06-07 22:45:45 -04:00
Michael Woods
af700aa3fa Version 1.4.0 2022-06-07 20:22:57 -04:00
Michael Woods
34ae1d4aa0
Merge pull request #166 from michaelwoods/dependabot/npm_and_yarn/mocha-10.0.0
Bump mocha from 9.2.2 to 10.0.0
2022-06-07 20:18:27 -04:00
Michael Woods
ff89a218b8
Merge pull request #162 from michaelwoods/dependabot/github_actions/docker/setup-buildx-action-2
Bump docker/setup-buildx-action from 1 to 2
2022-06-07 20:18:11 -04:00
Michael Woods
edb6457fcc
Merge pull request #159 from michaelwoods/dependabot/github_actions/docker/setup-qemu-action-2.0.0
Bump docker/setup-qemu-action from 1.2.0 to 2.0.0
2022-06-07 20:18:05 -04:00
Michael Woods
c57048f2d0
Merge pull request #170 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.18.2
Bump @babel/eslint-parser from 7.17.0 to 7.18.2
2022-06-07 20:17:58 -04:00
Michael Woods
ae35bf3851
Merge pull request #172 from michaelwoods/dependabot/npm_and_yarn/eslint-8.17.0
Bump eslint from 8.16.0 to 8.17.0
2022-06-07 20:17:51 -04:00
Michael Woods
cd35218512
Merge pull request #171 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.8
Bump onstarjs from 2.3.7 to 2.3.8
2022-06-07 20:17:42 -04:00
dependabot[bot]
4f7f8f8193
Bump eslint from 8.16.0 to 8.17.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.16.0 to 8.17.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.16.0...v8.17.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 08:02:11 +00:00
dependabot[bot]
3da1598623
Bump onstarjs from 2.3.7 to 2.3.8
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.7 to 2.3.8.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.7...v2.3.8)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 08:03:11 +00:00
dependabot[bot]
8e33553d38
Bump @babel/eslint-parser from 7.17.0 to 7.18.2
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.17.0 to 7.18.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.2/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 08:03:04 +00:00
Michael Woods
5718775c5c
Merge pull request #169 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.18.2
Bump @babel/preset-env from 7.16.11 to 7.18.2
2022-05-26 11:41:56 -04:00
dependabot[bot]
766b1af9f0
Bump @babel/preset-env from 7.16.11 to 7.18.2
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.11 to 7.18.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.2/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-26 03:55:46 +00:00
Michael Woods
9a59879dc4
Merge pull request #167 from michaelwoods/dependabot/npm_and_yarn/eslint-8.16.0
Bump eslint from 8.15.0 to 8.16.0
2022-05-25 23:53:58 -04:00
Michael Woods
abb9ad3e7e
Merge pull request #165 from FireBall1725/main
Add `unique_id` field to mqtt
2022-05-25 23:51:48 -04:00
FireBall1725
2f3117ecba updated the test conditions for the unique id 2022-05-24 18:44:09 -04:00
dependabot[bot]
422cdafd82
Bump eslint from 8.15.0 to 8.16.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.15.0 to 8.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.15.0...v8.16.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 08:03:21 +00:00
dependabot[bot]
26f8b5b6d5
Bump mocha from 9.2.2 to 10.0.0
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.2 to 10.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.2.2...v10.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 08:03:09 +00:00
FireBall1725
e17a45cdea fixed unique id 2022-05-20 08:51:51 -04:00
FireBall1725
9ddc22ba79 add unique id 2022-05-20 06:10:18 -04:00
dependabot[bot]
7e080756ef
Bump docker/setup-buildx-action from 1 to 2
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 15:17:15 +00:00
Michael Woods
2d9723ab03
Merge pull request #160 from michaelwoods/dependabot/npm_and_yarn/eslint-8.15.0
Bump eslint from 8.11.0 to 8.15.0
2022-05-19 11:16:43 -04:00
dependabot[bot]
e40bdb2209
Bump eslint from 8.11.0 to 8.15.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.11.0 to 8.15.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.11.0...v8.15.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 15:16:39 +00:00
Michael Woods
774aca790a
Merge pull request #158 from michaelwoods/dependabot/github_actions/docker/metadata-action-4
Bump docker/metadata-action from 3 to 4
2022-05-19 11:16:27 -04:00
Michael Woods
2f8c249259
Merge pull request #157 from michaelwoods/dependabot/github_actions/docker/login-action-2
Bump docker/login-action from 1 to 2
2022-05-19 11:16:19 -04:00
Michael Woods
e0ca450caa
Merge pull request #156 from michaelwoods/dependabot/github_actions/docker/build-push-action-3
Bump docker/build-push-action from 2 to 3
2022-05-19 11:16:12 -04:00
Michael Woods
12998cfa55
Merge pull request #154 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.7
Bump onstarjs from 2.3.5 to 2.3.7
2022-05-19 11:15:56 -04:00
Michael Woods
9e2fc60ffa
Merge pull request #153 from michaelwoods/dependabot/github_actions/github/codeql-action-2
Bump github/codeql-action from 1 to 2
2022-05-19 11:15:35 -04:00
Michael Woods
0068f34de1
Merge pull request #151 from michaelwoods/dependabot/npm_and_yarn/winston-3.7.2
Bump winston from 3.6.0 to 3.7.2
2022-05-19 11:15:16 -04:00
Michael Woods
fc49762f29
Merge pull request #149 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-import-2.26.0
Bump eslint-plugin-import from 2.25.4 to 2.26.0
2022-05-19 11:15:09 -04:00
dependabot[bot]
0a342f5b10
Bump docker/setup-qemu-action from 1.2.0 to 2.0.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.2.0...v2.0.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 08:03:08 +00:00
dependabot[bot]
562eb6ef29
Bump docker/metadata-action from 3 to 4
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 08:03:05 +00:00
dependabot[bot]
1af7ede9af
Bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 08:03:01 +00:00
dependabot[bot]
abf3ed60c6
Bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 08:02:59 +00:00
dependabot[bot]
8536834247
Bump onstarjs from 2.3.5 to 2.3.7
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.5 to 2.3.7.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.5...v2.3.7)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 08:03:07 +00:00
dependabot[bot]
2c1d365a41
Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 08:02:55 +00:00
dependabot[bot]
51e8cd09a3
Bump winston from 3.6.0 to 3.7.2
Bumps [winston](https://github.com/winstonjs/winston) from 3.6.0 to 3.7.2.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/commits)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 08:04:11 +00:00
dependabot[bot]
7c5fc999f1
Bump eslint-plugin-import from 2.25.4 to 2.26.0
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.4 to 2.26.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.4...v2.26.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 08:03:55 +00:00
Michael Woods
fca42969d0
Merge pull request #145 from michaelwoods/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-03-24 11:17:34 -04:00
dependabot[bot]
de09e357d7
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 04:06:58 +00:00
Michael Woods
a605456c36
Merge pull request #140 from michaelwoods/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2.4.0 to 3
2022-03-23 23:52:31 -04:00
Michael Woods
9c31b39366
Merge pull request #144 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-plugin-7.17.7
Bump @babel/eslint-plugin from 7.16.5 to 7.17.7
2022-03-23 23:52:22 -04:00
Michael Woods
5e5742229c
Merge pull request #143 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.5
Bump onstarjs from 2.3.4 to 2.3.5
2022-03-23 23:52:14 -04:00
Michael Woods
ef63cdfb3c
Merge pull request #142 from michaelwoods/dependabot/npm_and_yarn/eslint-8.11.0
Bump eslint from 8.9.0 to 8.11.0
2022-03-23 23:52:06 -04:00
Michael Woods
bd7b6a093a
Merge pull request #141 from michaelwoods/dependabot/npm_and_yarn/mocha-9.2.2
Bump mocha from 9.2.0 to 9.2.2
2022-03-23 23:51:57 -04:00
Michael Woods
0bc30a3251
Merge pull request #138 from michaelwoods/dependabot/github_actions/actions/setup-node-3
Bump actions/setup-node from 2.5.1 to 3
2022-03-23 23:51:46 -04:00
dependabot[bot]
c23b8abe61
Bump @babel/eslint-plugin from 7.16.5 to 7.17.7
Bumps [@babel/eslint-plugin](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-plugin) from 7.16.5 to 7.17.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.17.7/eslint/babel-eslint-plugin)

---
updated-dependencies:
- dependency-name: "@babel/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 08:03:07 +00:00
dependabot[bot]
a4299e6cbb
Bump onstarjs from 2.3.4 to 2.3.5
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 08:02:57 +00:00
dependabot[bot]
bcd16e54b6
Bump eslint from 8.9.0 to 8.11.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.9.0 to 8.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.9.0...v8.11.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 08:04:05 +00:00
dependabot[bot]
7f707151a8
Bump mocha from 9.2.0 to 9.2.2
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.0 to 9.2.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.2.0...v9.2.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 08:03:56 +00:00
dependabot[bot]
6cac211070
Bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 08:03:32 +00:00
dependabot[bot]
494cabcb43
Bump actions/setup-node from 2.5.1 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 08:03:14 +00:00
Michael Woods
4ef87b991a
Merge pull request #134 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.4
Bump onstarjs from 2.3.3 to 2.3.4
2022-02-22 11:00:54 -05:00
Michael Woods
60ea18e3aa
Merge pull request #130 from michaelwoods/dependabot/npm_and_yarn/winston-3.6.0
Bump winston from 3.4.0 to 3.6.0
2022-02-22 11:00:47 -05:00
Michael Woods
5d061e08e9
Merge pull request #129 from michaelwoods/dependabot/npm_and_yarn/eslint-8.9.0
Bump eslint from 8.7.0 to 8.9.0
2022-02-22 11:00:33 -05:00
Michael Woods
78c84ef719
Merge pull request #128 from michaelwoods/dependabot/npm_and_yarn/follow-redirects-1.14.8
Bump follow-redirects from 1.14.7 to 1.14.8
2022-02-22 11:00:26 -05:00
Michael Woods
171f1d0075
Merge pull request #127 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.17.0
Bump @babel/eslint-parser from 7.16.5 to 7.17.0
2022-02-22 11:00:19 -05:00
dependabot[bot]
6d04ee08cc
Bump onstarjs from 2.3.3 to 2.3.4
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.3...v2.3.4)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 08:02:49 +00:00
dependabot[bot]
04b90148fe
Bump winston from 3.4.0 to 3.6.0
Bumps [winston](https://github.com/winstonjs/winston) from 3.4.0 to 3.6.0.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.4.0...v3.6.0)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 08:03:07 +00:00
dependabot[bot]
8ec5dd64a7
Bump eslint from 8.7.0 to 8.9.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.7.0 to 8.9.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.7.0...v8.9.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 08:02:57 +00:00
dependabot[bot]
5da855cea9
Bump follow-redirects from 1.14.7 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 21:22:09 +00:00
dependabot[bot]
d62e2757b8
Bump @babel/eslint-parser from 7.16.5 to 7.17.0
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.16.5 to 7.17.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.17.0/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 08:03:50 +00:00
Michael Woods
bdaf8f726e Version 1.3.2 2022-01-27 11:01:54 -05:00
Michael Woods
d82fe12f63
Merge pull request #123 from michaelwoods/mocha
upgrade mocha for cve
2022-01-27 11:01:00 -05:00
Michael Woods
6ab8cf8ff0 upgrade mocha for cve 2022-01-27 11:00:29 -05:00
Michael Woods
a380412577
Merge pull request #122 from michaelwoods/onstarjs
Upgrade lockfile version. Bump onstarjs.
2022-01-27 10:52:40 -05:00
Michael Woods
5225ba2bae Upgrade lockfile version. Bump onstarjs. 2022-01-27 10:47:01 -05:00
Michael Woods
ce6b5fd305
Merge pull request #121 from michaelwoods/dependabot/npm_and_yarn/async-mqtt-2.6.2
Bump async-mqtt from 2.6.1 to 2.6.2
2022-01-27 10:43:05 -05:00
Michael Woods
56b03c50c2
Merge pull request #120 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.16.11
Bump @babel/preset-env from 7.16.8 to 7.16.11
2022-01-27 10:42:54 -05:00
dependabot[bot]
adc86f8888
Bump async-mqtt from 2.6.1 to 2.6.2
Bumps [async-mqtt](https://github.com/mqttjs/async-mqtt) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/mqttjs/async-mqtt/releases)
- [Commits](https://github.com/mqttjs/async-mqtt/compare/v2.6.1...v2.6.2)

---
updated-dependencies:
- dependency-name: async-mqtt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 08:04:24 +00:00
dependabot[bot]
cb99ee3ded
Bump @babel/preset-env from 7.16.8 to 7.16.11
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.8 to 7.16.11.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.11/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 08:04:10 +00:00
Michael Woods
a7e81be28e
Merge pull request #119 from michaelwoods/dependabot/npm_and_yarn/eslint-8.7.0
Bump eslint from 8.6.0 to 8.7.0
2022-01-18 13:12:20 -05:00
dependabot[bot]
4a44bc1a56
Bump eslint from 8.6.0 to 8.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.6.0 to 8.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.6.0...v8.7.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-18 16:10:45 +00:00
Michael Woods
09f9aa5d08
Merge pull request #116 from michaelwoods/dependabot/npm_and_yarn/winston-3.4.0
Bump winston from 3.3.4 to 3.4.0
2022-01-18 11:09:34 -05:00
dependabot[bot]
d0df33e21c
Bump winston from 3.3.4 to 3.4.0
Bumps [winston](https://github.com/winstonjs/winston) from 3.3.4 to 3.4.0.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.3.4...v3.4.0)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 15:03:15 +00:00
Michael Woods
b3b79bf497
Merge pull request #115 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.2
Bump onstarjs from 2.3.1 to 2.3.2
2022-01-17 10:02:04 -05:00
Michael Woods
397edea6d2
Merge pull request #118 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.16.8
Bump @babel/preset-env from 7.16.7 to 7.16.8
2022-01-17 10:01:56 -05:00
Michael Woods
53d8d9da5b
Merge pull request #117 from michaelwoods/dependabot/npm_and_yarn/mocha-9.1.4
Bump mocha from 9.1.3 to 9.1.4
2022-01-17 10:01:45 -05:00
Michael Woods
f1272af2fa
Merge pull request #114 from michaelwoods/dependabot/npm_and_yarn/follow-redirects-1.14.7
Bump follow-redirects from 1.14.6 to 1.14.7
2022-01-17 10:01:31 -05:00
dependabot[bot]
3fdb33d7e2
Bump @babel/preset-env from 7.16.7 to 7.16.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.7 to 7.16.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.8/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 08:04:37 +00:00
dependabot[bot]
aa78810968
Bump mocha from 9.1.3 to 9.1.4
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.3 to 9.1.4.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.3...v9.1.4)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 08:04:20 +00:00
dependabot[bot]
8393da2c0e
Bump onstarjs from 2.3.1 to 2.3.2
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.1...v2.3.2)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 08:03:51 +00:00
dependabot[bot]
00f321066e
Bump follow-redirects from 1.14.6 to 1.14.7
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 02:55:52 +00:00
Michael Woods
3f7d23916d
Merge pull request #112 from michaelwoods/dependabot/npm_and_yarn/eslint-8.6.0
Bump eslint from 7.32.0 to 8.6.0
2022-01-11 13:25:55 -05:00
Michael Woods
19e475e91f
Merge pull request #111 from michaelwoods/dependabot/npm_and_yarn/winston-3.3.4
Bump winston from 3.3.3 to 3.3.4
2022-01-11 13:25:28 -05:00
Michael Woods
cba0bfea7d
Merge pull request #113 from jostrander/main
Add coolant temperature for ICE vehicles and fix PSI tire placards
2022-01-11 13:25:20 -05:00
Jesse Ostrander
dede5b833b Fix Tire Pressure PSI Placard. Closes #85 2022-01-10 12:15:35 -05:00
Jesse Ostrander
22e24f867a Add Coolant Temperature for ICE vehicles 2022-01-10 12:00:11 -05:00
dependabot[bot]
0f3f52c600
Bump eslint from 7.32.0 to 8.6.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.6.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 08:03:44 +00:00
dependabot[bot]
d983f04f7d
Bump winston from 3.3.3 to 3.3.4
Bumps [winston](https://github.com/winstonjs/winston) from 3.3.3 to 3.3.4.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.3.3...3.3.4)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 08:03:29 +00:00
Michael Woods
c085b3de4a
Merge pull request #101 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-plugin-7.16.5
Bump @babel/eslint-plugin from 7.14.5 to 7.16.5
2022-01-09 23:44:21 -05:00
dependabot[bot]
98a915fbed
Bump @babel/eslint-plugin from 7.14.5 to 7.16.5
Bumps [@babel/eslint-plugin](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-plugin) from 7.14.5 to 7.16.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.5/eslint/babel-eslint-plugin)

---
updated-dependencies:
- dependency-name: "@babel/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 04:29:38 +00:00
Michael Woods
8e5b78fc23
Merge pull request #108 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.16.7
Bump @babel/preset-env from 7.16.4 to 7.16.7
2022-01-09 23:24:33 -05:00
Michael Woods
c690f891e9
Merge pull request #107 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-import-2.25.4
Bump eslint-plugin-import from 2.25.3 to 2.25.4
2022-01-09 23:24:26 -05:00
Michael Woods
b1ae86a7c1
Merge pull request #106 from michaelwoods/dependabot/github_actions/actions/setup-node-2.5.1
Bump actions/setup-node from 2.5.0 to 2.5.1
2022-01-09 23:24:20 -05:00
Michael Woods
d61a992f7b
Merge pull request #102 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-promise-6.0.0
Bump eslint-plugin-promise from 5.2.0 to 6.0.0
2022-01-09 23:24:14 -05:00
Michael Woods
ef1bdad60e
Merge pull request #99 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.16.5
Bump @babel/eslint-parser from 7.16.3 to 7.16.5
2022-01-09 23:24:01 -05:00
Michael Woods
4fe7b7978c
Merge pull request #110 from jostrander/main
Fix multiple vehicles in account, add namePrefix for MQTT sensors
2022-01-09 23:23:51 -05:00
Michael Woods
a13a5ee33f
Merge pull request #105 from shoejosh/arm-32-bit
Include docker support for 32-bit ARM platform
2022-01-09 23:14:41 -05:00
Jesse Ostrander
523a4f3a8f Fix multiple vehicles in account, add namePrefix for MQTT sensors 2022-01-08 20:17:35 -05:00
dependabot[bot]
e9e2e06826
Bump @babel/preset-env from 7.16.4 to 7.16.7
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.4 to 7.16.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 08:04:09 +00:00
dependabot[bot]
92fbd9ff53
Bump eslint-plugin-import from 2.25.3 to 2.25.4
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.3 to 2.25.4.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.3...v2.25.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 08:03:53 +00:00
dependabot[bot]
ed7d14c7b0
Bump actions/setup-node from 2.5.0 to 2.5.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 08:03:18 +00:00
Josh Shoemaker
2f3a9e4d2e Update docker build to include support for 32-bit ARM platform 2022-01-01 20:54:25 -05:00
dependabot[bot]
5272a51cf7
Bump eslint-plugin-promise from 5.2.0 to 6.0.0
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 5.2.0 to 6.0.0.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 08:04:27 +00:00
dependabot[bot]
da059510d2
Bump @babel/eslint-parser from 7.16.3 to 7.16.5
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.16.3 to 7.16.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.5/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 08:03:40 +00:00
Michael Woods
973988b984 Version 1.3.1 2021-12-13 15:24:19 -05:00
Michael Woods
7ec4bcd412
Merge pull request #97 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.3.1
Bump onstarjs from 2.3.0 to 2.3.1
2021-12-13 15:22:17 -05:00
dependabot[bot]
3b4d270ab2
Bump onstarjs from 2.3.0 to 2.3.1
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 08:03:57 +00:00
Michael Woods
aa956ec1e6
Merge pull request #96 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-promise-5.2.0
Bump eslint-plugin-promise from 5.1.1 to 5.2.0
2021-12-10 11:43:11 -05:00
Michael Woods
28aca3f922
Merge pull request #94 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.16.4
Bump @babel/preset-env from 7.16.0 to 7.16.4
2021-12-10 11:43:04 -05:00
Michael Woods
56630531d4
Merge pull request #95 from michaelwoods/dependabot/github_actions/actions/setup-node-2.5.0
Bump actions/setup-node from 2.4.1 to 2.5.0
2021-12-10 11:42:54 -05:00
dependabot[bot]
914c4153de
Bump eslint-plugin-promise from 5.1.1 to 5.2.0
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 08:02:32 +00:00
dependabot[bot]
372177638d
Bump actions/setup-node from 2.4.1 to 2.5.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 08:02:04 +00:00
dependabot[bot]
ccbcc8ced3
Bump @babel/preset-env from 7.16.0 to 7.16.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.0 to 7.16.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.4/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 08:03:22 +00:00
Michael Woods
3f9a07cafb
Merge pull request #92 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.16.3
Bump @babel/eslint-parser from 7.15.8 to 7.16.3
2021-11-16 12:42:28 -05:00
Michael Woods
afd5d71236
Merge pull request #91 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-import-2.25.3
Bump eslint-plugin-import from 2.25.2 to 2.25.3
2021-11-16 12:42:14 -05:00
Michael Woods
0b1dfa5cb0
Merge pull request #90 from michaelwoods/dependabot/github_actions/actions/checkout-2.4.0
Bump actions/checkout from 2.3.5 to 2.4.0
2021-11-16 12:41:59 -05:00
Michael Woods
3c651403c4
Merge pull request #88 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.16.0
Bump @babel/preset-env from 7.15.8 to 7.16.0
2021-11-16 12:41:47 -05:00
Michael Woods
31d89df75b
Merge pull request #86 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-promise-5.1.1
Bump eslint-plugin-promise from 5.1.0 to 5.1.1
2021-11-16 12:41:35 -05:00
Michael Woods
1d115db049 Version 1.3.0 2021-11-16 12:10:18 -05:00
Michael Woods
f36e2b0dbc Add location support. Fixes #87 2021-11-16 12:01:29 -05:00
Michael Woods
033bc93a80 npm upgrade 2021-11-16 10:49:07 -05:00
Michael Woods
ff3e422e2f add .nvmrc 2021-11-16 10:45:38 -05:00
dependabot[bot]
11e39fb125
Bump @babel/eslint-parser from 7.15.8 to 7.16.3
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.15.8 to 7.16.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.3/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 08:03:56 +00:00
dependabot[bot]
0ffca9f1ea
Bump eslint-plugin-import from 2.25.2 to 2.25.3
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.2 to 2.25.3.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.2...v2.25.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 08:03:41 +00:00
dependabot[bot]
b536aa7d3b
Bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 08:02:51 +00:00
dependabot[bot]
4e0d016a7c
Bump @babel/preset-env from 7.15.8 to 7.16.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.8 to 7.16.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.0/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 08:03:22 +00:00
dependabot[bot]
f475c3b094
Bump eslint-plugin-promise from 5.1.0 to 5.1.1
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 08:03:08 +00:00
Michael Woods
7ff866db0d
Merge pull request #84 from michaelwoods/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-10-18 23:05:17 -04:00
Michael Woods
e4dc5cf9ec
Merge pull request #82 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-import-2.25.2
Bump eslint-plugin-import from 2.24.2 to 2.25.2
2021-10-18 23:05:08 -04:00
dependabot[bot]
dab254836d
Bump eslint-plugin-import from 2.24.2 to 2.25.2
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.24.2 to 2.25.2.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.24.2...v2.25.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-19 00:32:18 +00:00
dependabot[bot]
2415665979
Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-19 00:30:17 +00:00
Michael Woods
0815094051 Updating onstarjs to 2.3.x 2021-10-18 20:18:27 -04:00
Michael Woods
8930d60adc
Merge pull request #81 from michaelwoods/dependabot/npm_and_yarn/mocha-9.1.3
Bump mocha from 9.1.2 to 9.1.3
2021-10-18 20:09:39 -04:00
Michael Woods
38b8bf6dfe
Merge pull request #79 from michaelwoods/dependabot/github_actions/actions/checkout-2.3.5
Bump actions/checkout from 2.3.4 to 2.3.5
2021-10-18 20:09:28 -04:00
Michael Woods
0e9f3a7b1d
Merge pull request #76 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.15.8
Bump @babel/eslint-parser from 7.15.7 to 7.15.8
2021-10-18 20:09:06 -04:00
Michael Woods
359d5056d6
Merge pull request #75 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.15.8
Bump @babel/preset-env from 7.15.6 to 7.15.8
2021-10-18 20:09:00 -04:00
dependabot[bot]
ec6f610efb
Bump mocha from 9.1.2 to 9.1.3
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.2 to 9.1.3.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.2...v9.1.3)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 08:02:53 +00:00
dependabot[bot]
94cbefd702
Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 08:02:32 +00:00
dependabot[bot]
067a59e575
Bump @babel/eslint-parser from 7.15.7 to 7.15.8
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.15.7 to 7.15.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.8/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 08:03:04 +00:00
dependabot[bot]
66bd4621fe
Bump @babel/preset-env from 7.15.6 to 7.15.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.6 to 7.15.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.8/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 08:02:52 +00:00
Michael Woods
157963624c
Merge pull request #74 from michaelwoods/dependabot/github_actions/actions/setup-node-2.4.1
Bump actions/setup-node from 2.4.0 to 2.4.1
2021-10-05 15:11:15 -04:00
Michael Woods
2b44d14143
Merge pull request #73 from michaelwoods/dependabot/npm_and_yarn/mocha-9.1.2
Bump mocha from 9.1.1 to 9.1.2
2021-10-05 15:11:03 -04:00
dependabot[bot]
4a1b3c5e40
Bump actions/setup-node from 2.4.0 to 2.4.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 08:03:23 +00:00
dependabot[bot]
c27c07edae
Bump mocha from 9.1.1 to 9.1.2
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.1...v9.1.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 08:02:46 +00:00
Michael Woods
dddde22aca
Merge pull request #72 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.15.7
Bump @babel/eslint-parser from 7.15.4 to 7.15.7
2021-09-22 15:01:15 -04:00
dependabot[bot]
febe22724f
Bump @babel/eslint-parser from 7.15.4 to 7.15.7
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.15.4 to 7.15.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.7/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 08:02:43 +00:00
Michael Woods
584dad23df
Create codeql-analysis.yml 2021-09-14 22:30:38 -04:00
Michael Woods
9b427bb9f5
Merge pull request #71 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.15.6
Bump @babel/preset-env from 7.15.4 to 7.15.6
2021-09-13 23:31:04 -04:00
Michael Woods
4fb90624f9
Merge pull request #70 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.2.4
Bump onstarjs from 2.2.2 to 2.2.4
2021-09-13 23:30:52 -04:00
dependabot[bot]
9d21124fb0
Bump @babel/preset-env from 7.15.4 to 7.15.6
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.4 to 7.15.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.6/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 08:02:32 +00:00
dependabot[bot]
5e9a8eae09
Bump onstarjs from 2.2.2 to 2.2.4
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.2.2...v2.2.4)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 08:02:18 +00:00
Michael Woods
1cc771b669
Merge pull request #68 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.15.4
Bump @babel/preset-env from 7.14.7 to 7.15.4
2021-09-07 15:59:33 -04:00
Michael Woods
df9547306c
Merge pull request #67 from michaelwoods/dependabot/npm_and_yarn/eslint-plugin-import-2.24.2
Bump eslint-plugin-import from 2.23.4 to 2.24.2
2021-09-07 15:59:18 -04:00
dependabot[bot]
188da5f314
Bump @babel/preset-env from 7.14.7 to 7.15.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.7 to 7.15.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.4/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 04:55:23 +00:00
Michael Woods
fa437a506d
Merge pull request #69 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.15.4
Bump @babel/eslint-parser from 7.14.7 to 7.15.4
2021-09-07 00:54:36 -04:00
dependabot[bot]
4e3d13a7e9
Bump eslint-plugin-import from 2.23.4 to 2.24.2
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.23.4 to 2.24.2.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 04:54:00 +00:00
Michael Woods
1aeaed09e4
Merge pull request #66 from michaelwoods/dependabot/npm_and_yarn/mocha-9.1.1
Bump mocha from 9.0.2 to 9.1.1
2021-09-07 00:53:36 -04:00
Michael Woods
ca344ee641
Merge pull request #59 from michaelwoods/dependabot/github_actions/actions/setup-node-2.4.0
Bump actions/setup-node from 2.2.0 to 2.4.0
2021-09-07 00:53:24 -04:00
Michael Woods
adb1129d7a
Merge pull request #57 from michaelwoods/dependabot/npm_and_yarn/eslint-7.32.0
Bump eslint from 7.30.0 to 7.32.0
2021-09-07 00:53:09 -04:00
dependabot[bot]
2f03d98a44
Bump @babel/eslint-parser from 7.14.7 to 7.15.4
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.14.7 to 7.15.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.4/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 08:03:09 +00:00
dependabot[bot]
0ff6f29c74
Bump mocha from 9.0.2 to 9.1.1
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.2 to 9.1.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.2...v9.1.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 08:01:44 +00:00
dependabot[bot]
3a6a47fb85
Bump actions/setup-node from 2.2.0 to 2.4.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.2.0...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 08:02:36 +00:00
dependabot[bot]
2dff9d9264 Bump eslint from 7.30.0 to 7.32.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.30.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.30.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 08:02:38 +00:00
Michael Woods
1fc9810b71
Merge pull request #49 from michaelwoods/dependabot/npm_and_yarn/eslint-7.30.0
Bump eslint from 7.28.0 to 7.30.0
2021-07-06 12:03:00 -04:00
dependabot[bot]
3e0b831d12
Bump eslint from 7.28.0 to 7.30.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.28.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.28.0...v7.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-06 15:57:44 +00:00
Michael Woods
da65528cc2
Merge pull request #50 from michaelwoods/dependabot/npm_and_yarn/mocha-9.0.2
Bump mocha from 9.0.0 to 9.0.2
2021-07-06 11:57:23 -04:00
Michael Woods
e0942cff5e
Merge pull request #48 from michaelwoods/dependabot/github_actions/actions/setup-node-2.2.0
Bump actions/setup-node from 2.1.5 to 2.2.0
2021-07-06 11:57:05 -04:00
Michael Woods
0d98b12c3e
Merge pull request #47 from michaelwoods/dependabot/npm_and_yarn/babel/eslint-parser-7.14.7
Bump @babel/eslint-parser from 7.14.5 to 7.14.7
2021-07-06 11:56:57 -04:00
Michael Woods
b393af780e
Merge pull request #46 from michaelwoods/dependabot/npm_and_yarn/babel/preset-env-7.14.7
Bump @babel/preset-env from 7.14.5 to 7.14.7
2021-07-06 11:56:48 -04:00
dependabot[bot]
3a783f4d03
Bump mocha from 9.0.0 to 9.0.2
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.0 to 9.0.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.0...v9.0.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 08:02:28 +00:00
dependabot[bot]
b6cc4d8d3e
Bump actions/setup-node from 2.1.5 to 2.2.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 08:02:09 +00:00
dependabot[bot]
b28f9384ee
Bump @babel/eslint-parser from 7.14.5 to 7.14.7
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.14.5 to 7.14.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.7/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 08:03:08 +00:00
dependabot[bot]
dd6c47f4e6
Bump @babel/preset-env from 7.14.5 to 7.14.7
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.5 to 7.14.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 08:02:57 +00:00
Michael Woods
49b5a3efe6
Merge pull request #42 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.2.2
Bump onstarjs from 2.2.1 to 2.2.2
2021-06-23 10:21:28 -04:00
dependabot[bot]
440ba88993
Bump onstarjs from 2.2.1 to 2.2.2
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: onstarjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 08:02:46 +00:00
Michael Woods
1db1a624c3 Version 1.2.3 2021-06-11 13:12:38 -04:00
Michael Woods
5aa3198799 Round converted values. 2021-06-11 12:59:51 -04:00
Michael Woods
c9adc92031 Version 1.2.2 2021-06-11 10:57:40 -04:00
Michael Woods
42f7875f26 Fix availability bug. 2021-06-11 10:57:34 -04:00
Michael Woods
26aae86af8 Version 1.2.1 2021-06-11 10:41:20 -04:00
Michael Woods
e161d1456d Fix latest tagging 2021-06-11 10:35:58 -04:00
Michael Woods
96566ebaf4 Remove sha docker tagging 2021-06-11 10:29:25 -04:00
Michael Woods
891743e4ca Fix docker tagging 2021-06-11 10:28:53 -04:00
Michael Woods
fd1e7c2b63 Version 1.2.0 2021-06-11 10:15:41 -04:00
Michael Woods
bd331a477c Support conversions to imperial. 2021-06-11 10:15:14 -04:00
Michael Woods
8c9747d711 Move to weekly dependabot updates 2021-06-10 23:47:22 -04:00
Michael Woods
6abe18eb21 Version 1.1.2 2021-06-10 23:45:08 -04:00
Michael Woods
ec1cacd253 Add linting support 2021-06-10 23:44:31 -04:00
Michael Woods
53d1654387 Version 1.1.1 2021-06-10 23:15:46 -04:00
Michael Woods
d48ecbdd9e Fixed #1 2021-06-10 23:15:27 -04:00
Michael Woods
ab0011c08d Add logging 2021-06-10 23:14:00 -04:00
Michael Woods
df45a32113 update ci actions 2021-06-10 20:23:02 -04:00
Michael Woods
51237e2d95 update docs with latest dashboard 2021-06-10 13:49:39 -04:00
Michael Woods
4dac35d898 Version 1.1.0 2021-06-10 13:34:32 -04:00
Michael Woods
c4bb3a1e17 doc updates 2021-06-10 13:34:24 -04:00
Michael Woods
f5dd435feb Added support for commands published to prefix/VIN/command topic. 2021-06-10 13:29:46 -04:00
Michael Woods
28698b7f59
Merge pull request #41 from michaelwoods/dependabot/npm_and_yarn/mocha-9.0.0
Bump mocha from 8.4.0 to 9.0.0
2021-06-08 15:28:43 -04:00
Michael Woods
efead04fd6
Merge pull request #40 from michaelwoods/dependabot/github_actions/docker/setup-qemu-action-1.2.0
Bump docker/setup-qemu-action from 1.1.0 to 1.2.0
2021-06-08 15:27:46 -04:00
Michael Woods
fa3b27117f
Merge pull request #39 from michaelwoods/dependabot/github_actions/docker/build-push-action-2.5.0
Bump docker/build-push-action from 2.4.0 to 2.5.0
2021-06-08 15:27:40 -04:00
dependabot[bot]
c775580ee2
Bump mocha from 8.4.0 to 9.0.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 05:49:04 +00:00
dependabot[bot]
a913508458
Bump docker/setup-qemu-action from 1.1.0 to 1.2.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 06:45:33 +00:00
dependabot[bot]
d50eae0645
Bump docker/build-push-action from 2.4.0 to 2.5.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 06:45:30 +00:00
Michael Woods
d2c22d6faa
Merge pull request #38 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.2.1
Bump onstarjs from 2.1.1 to 2.2.1
2021-06-04 20:25:07 -04:00
Michael Woods
2d74c84d30
Merge pull request #37 from michaelwoods/dependabot/npm_and_yarn/ws-7.4.6
Bump ws from 7.4.0 to 7.4.6
2021-06-04 20:24:53 -04:00
Michael Woods
7602c0751f
Merge pull request #36 from michaelwoods/dependabot/github_actions/crazy-max/ghaction-docker-meta-3.3.0
Bump crazy-max/ghaction-docker-meta from 2.5.0 to 3.3.0
2021-06-04 15:16:43 -04:00
Michael Woods
0250dbac5a
Merge pull request #33 from michaelwoods/dependabot/github_actions/docker/build-push-action-2.4.0
Bump docker/build-push-action from 2 to 2.4.0
2021-06-04 15:15:56 -04:00
Michael Woods
871b569ca2
Merge pull request #32 from michaelwoods/dependabot/github_actions/docker/login-action-1.9.0
Bump docker/login-action from 1 to 1.9.0
2021-06-04 15:15:44 -04:00
Michael Woods
87b0e14080
Merge pull request #31 from michaelwoods/dependabot/github_actions/actions/checkout-2.3.4
Bump actions/checkout from 2 to 2.3.4
2021-06-04 15:15:36 -04:00
Michael Woods
8cfa54f721
Merge pull request #30 from michaelwoods/dependabot/github_actions/docker/setup-qemu-action-1.1.0
Bump docker/setup-qemu-action from 1 to 1.1.0
2021-06-04 15:15:27 -04:00
dependabot[bot]
c6a492330e
Bump onstarjs from 2.1.1 to 2.2.1
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.1.1 to 2.2.1.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.1.1...v2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 06:46:11 +00:00
dependabot[bot]
e180e1fc74
Bump ws from 7.4.0 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.4.0 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.0...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 23:45:34 +00:00
dependabot[bot]
01e1431472
Bump crazy-max/ghaction-docker-meta from 2.5.0 to 3.3.0
Bumps [crazy-max/ghaction-docker-meta](https://github.com/crazy-max/ghaction-docker-meta) from 2.5.0 to 3.3.0.
- [Release notes](https://github.com/crazy-max/ghaction-docker-meta/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/crazy-max/ghaction-docker-meta/compare/v2.5.0...v3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 05:34:08 +00:00
dependabot[bot]
5e1c44db44
Bump docker/build-push-action from 2 to 2.4.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 2.4.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:31:43 +00:00
dependabot[bot]
2da146f2ec
Bump docker/login-action from 1 to 1.9.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 1.9.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v1.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:31:40 +00:00
dependabot[bot]
166c614769
Bump actions/checkout from 2 to 2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:31:36 +00:00
dependabot[bot]
06e0296e4c
Bump docker/setup-qemu-action from 1 to 1.1.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 1.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:31:34 +00:00
Michael Woods
56c4489db6
Merge pull request #28 from michaelwoods/dependabot/npm_and_yarn/mocha-8.4.0
Bump mocha from 8.3.2 to 8.4.0
2021-05-10 10:16:14 -04:00
Michael Woods
e5b8a23f4c
Merge pull request #27 from michaelwoods/dependabot/github_actions/crazy-max/ghaction-docker-meta-v2.5.0
Bump crazy-max/ghaction-docker-meta from v2.4.0 to v2.5.0
2021-05-10 10:15:26 -04:00
dependabot[bot]
5e897a3b65
Bump mocha from 8.3.2 to 8.4.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.2 to 8.4.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.3.2...v8.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 08:11:39 +00:00
dependabot[bot]
c71c94d10d
Bump crazy-max/ghaction-docker-meta from v2.4.0 to v2.5.0
Bumps [crazy-max/ghaction-docker-meta](https://github.com/crazy-max/ghaction-docker-meta) from v2.4.0 to v2.5.0.
- [Release notes](https://github.com/crazy-max/ghaction-docker-meta/releases)
- [Changelog](https://github.com/crazy-max/ghaction-docker-meta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-docker-meta/compare/v2.4.0...f02d9f4f9bdea946298d7cf0a0567c289af7bbda)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 08:08:01 +00:00
Michael Woods
ef75e9cb72
Merge pull request #26 from michaelwoods/dependabot/npm_and_yarn/onstarjs-2.1.1
Bump onstarjs from 2.0.14 to 2.1.1
2021-05-08 14:54:04 -04:00
Michael Woods
16b7906df2
Merge pull request #25 from michaelwoods/dependabot/github_actions/crazy-max/ghaction-docker-meta-v2.4.0
Bump crazy-max/ghaction-docker-meta from v2.3.0 to v2.4.0
2021-05-08 14:53:50 -04:00
dependabot[bot]
e76f5196be
Bump onstarjs from 2.0.14 to 2.1.1
Bumps [onstarjs](https://github.com/samrum/OnStarJS) from 2.0.14 to 2.1.1.
- [Release notes](https://github.com/samrum/OnStarJS/releases)
- [Changelog](https://github.com/samrum/OnStarJS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/samrum/OnStarJS/compare/v2.0.14...v2.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 07:51:45 +00:00
dependabot[bot]
eea804cf08
Bump crazy-max/ghaction-docker-meta from v2.3.0 to v2.4.0
Bumps [crazy-max/ghaction-docker-meta](https://github.com/crazy-max/ghaction-docker-meta) from v2.3.0 to v2.4.0.
- [Release notes](https://github.com/crazy-max/ghaction-docker-meta/releases)
- [Changelog](https://github.com/crazy-max/ghaction-docker-meta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-docker-meta/compare/v2.3.0...e09df4df3ce0f1198fcfa91b72743b2cb7969430)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 06:19:31 +00:00
22 changed files with 10204 additions and 861 deletions

6
.babelrc Normal file
View File

@ -0,0 +1,6 @@
{
"presets": ["@babel/env"],
"plugins": [
"@babel/plugin-syntax-class-properties"
]
}

16
.eslintrc.yml Normal file
View File

@ -0,0 +1,16 @@
env:
node: true
browser: false
commonjs: true
es6: true
mocha: true
extends:
- eslint:recommended
parser: "@babel/eslint-parser"
parserOptions:
babelOptions:
configFile: './.babelrc'
ecmaVersion: 2018
plugins:
- "@babel"
rules: {}

View File

@ -4,8 +4,8 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "monthly"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "monthly"

View File

@ -16,42 +16,46 @@ jobs:
strategy:
matrix:
node-version: [12.x]
node-version: [18.x]
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v2.3.0
uses: docker/metadata-action@v4
with:
images: michaelwoods/onstar2mqtt
tag-sha: true
tag-schedule: weekly
flavor: |
latest=true
tags: |
type=ref,event=branch
type=schedule,pattern=weekly
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.5
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run lint
- run: npm test
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2.1.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push to DockerHub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
labels: ${{ steps.docker_meta.outputs.labels }}

71
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '28 1 * * 0'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

View File

@ -9,28 +9,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v2.3.0
uses: docker/metadata-action@v4
with:
images: michaelwoods/onstar2mqtt
tag-sha: true
flavor: |
latest=true
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2.1.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push to DockerHub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
labels: ${{ steps.docker_meta.outputs.labels }}

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
.nyc_output/
node_modules/
onstar2mqtt.env

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
lts/hydrogen

View File

@ -1,11 +1,11 @@
FROM node:12
FROM node:18-alpine
RUN mkdir /app
WORKDIR /app
COPY ["package.json", "/app/"]
COPY ["package-lock.json", "/app/"]
RUN npm install --no-fund
RUN npm ci --omit=dev --no-fund
COPY ["src", "/app/src"]

View File

@ -1,11 +1,100 @@
Sample configs for MQTT Home Assistant integration.
### Commands
#### example script yaml:
```yaml
alias: Car - Start Vehicle
sequence:
- service: mqtt.publish
data:
topic: homeassistant/YOUR_CAR_VIN/command
payload: '{"command": "startVehicle"}'
mode: single
icon: 'mdi:car-electric'
```
#### Triger precondition via calendar
````yaml
alias: Car Precondition
description: Precondition if group.family is home (ie, at least one person).
trigger:
- platform: state
entity_id: calendar.YOUR_CAL_NAME
from: 'off'
to: 'on'
condition:
- condition: state
entity_id: group.family
state: home
- condition: state
entity_id: calendar.YOUR_CAL_NAME
state: Bolt Start
attribute: message
action:
- service: script.car_start_vehicle
data: {}
mode: single
````
### Location
Unfortunately, the MQTT Device tracker uses a home/not_home state and the MQTT Json device tracker does not support
the discovery schema so a manual entity configuration is required.
device tracker yaml:
```yaml
device_tracker:
- platform: mqtt_json
devices:
your_car_name: homeassistant/device_tracker/YOUR_CAR_VIN/getlocation/state
```
#### script yaml:
```yaml
alias: Car - Location
sequence:
- service: mqtt.publish
data:
topic: homeassistant/YOUR_CAR_VIN/command
payload: '{"command": "getLocation"}'
mode: single
icon: 'mdi:map-marker'
```
### Automation:
Create an automation to update the location whenever the odometer changes, instead of on a time interval.
```alias: Update EV Location
description: ""
trigger:
- platform: state
entity_id:
- sensor.odometer_mi
condition: []
action:
- service: script.locate_bolt_ev
data: {}
mode: single
```
#### Commands:
[OnStarJS Command Docs](https://github.com/samrum/OnStarJS#commands)
1. `getAccountVehicles`
2. `startVehicle`
3. `cancelStartVehicle`
4. `alert`
5. `cancelAlert`
6. `lockDoor`
7. `unlockDoor`
8. `chargeOverride`
9. `cancelChargeOverride`
10. `getLocation`
### Lovelace Dashboard
Create a new dashboard, or use the cards in your own view. The `mdi:car-electric` icon works well here.
![lovelace screenshot](images/lovelace.png)
yaml:
#### dashboard yaml:
```yaml
views:
- badges: []
@ -44,22 +133,54 @@ views:
icon: 'mdi:car-tire-alert'
columns: 2
title: Tires
- type: glance
entities:
- entity: sensor.last_trip_total_distance
name: Distance
- entity: sensor.last_trip_electric_econ
name: Economy
title: Last Trip
- type: entities
title: Mileage
entities:
- entity: sensor.odometer
- entity: sensor.lifetime_energy_used
- entity: sensor.lifetime_mpge
- entity: sensor.lifetime_efficiency
- entity: sensor.electric_economy
- type: glance
state_color: true
footer:
type: 'custom:mini-graph-card'
entities:
- entity: sensor.odometer
- entity: sensor.lifetime_energy_used
y_axis: secondary
show_state: true
hours_to_show: 672
group_by: date
decimals: 0
show:
graph: bar
name: false
icon: false
- type: entities
entities:
- entity: binary_sensor.ev_plug_state
secondary_info: last-changed
- entity: binary_sensor.ev_charge_state
secondary_info: last-changed
- entity: binary_sensor.priority_charge_indicator
- entity: binary_sensor.priority_charge_status
- entity: sensor.ev_plug_voltage
- entity: sensor.interm_volt_batt_volt
- entity: sensor.charger_power_level
title: Charging
state_color: true
- type: 'custom:mini-graph-card'
entities:
- entity: sensor.last_trip_total_distance
- entity: sensor.last_trip_electric_econ
y_axis: secondary
show_state: true
name: Last Trip
hours_to_show: 672
group_by: date
agreggate_func: null
show:
graph: bar
icon: false
- type: 'custom:mini-graph-card'
entities:
- entity: sensor.ambient_air_temperature
name: Ambient
@ -67,20 +188,39 @@ views:
name: Battery
- entity: sensor.kewr_daynight_temperature
name: Outdoor
title: Temperature
- type: entities
entities:
- entity: binary_sensor.ev_plug_state
- entity: binary_sensor.ev_charge_state
- entity: binary_sensor.priority_charge_indicator
- entity: binary_sensor.priority_charge_status
- entity: sensor.ev_plug_voltage
- entity: sensor.interm_volt_batt_volt
- entity: sensor.charger_power_level
title: Charging
name: Temperature
hours_to_show: 24
points_per_hour: 1
line_width: 2
- type: grid
cards:
- type: button
tap_action:
action: toggle
entity: script.car_start_vehicle
name: Start
show_state: false
- type: button
tap_action:
action: toggle
entity: script.car_cancel_start_vehicle
name: Cancel Start
show_state: false
icon: 'mdi:car-off'
- type: button
tap_action:
action: toggle
entity: script.car_lock_doors
name: Lock
show_state: false
icon: 'mdi:car-door-lock'
- type: button
tap_action:
action: toggle
entity: script.car_unlock_doors
name: Unlock
show_state: false
icon: 'mdi:car-door'
columns: 2
title: Bolt EV
```
TODO
- Utility meter that resets for monthly LIFETIME ENERGY USED. This seems to only be updated after a full charge, along with other data points.

View File

@ -13,7 +13,7 @@ Collect the following information:
1. MQTT server information: hostname, username, password
1. If using TLS, define `MQTT_PORT` and `MQTT_TLS=true`
Supply these values to the ENV vars below.
Supply these values to the ENV vars below. The default data refresh interval is 30 minutes and can be overridden with ONSTAR_REFRESH with values in milliseconds.
### [Docker](https://hub.docker.com/r/michaelwoods/onstar2mqtt)
```shell
@ -51,7 +51,7 @@ MQTT_PASSWORD=
```
### Node.js
It's a typical node.js application, define the same environment values as described in the docker sections and run with:
`npm run start`. Currently, this is only tested with Node.js 12.x.
`npm run start`. Currently, this is only tested with Node.js 18.x.
### Home Assistant configuration templates
MQTT auto discovery is enabled. For further integrations and screenshots see [HA-MQTT.md](HA-MQTT.md).
@ -62,13 +62,8 @@ MQTT auto discovery is enabled. For further integrations and screenshots see [HA
### Testing
`npm run test`
### Coverage
`rpm run coverage`
`npm run coverage`
### Releases
`npm version [major|minor|patch] -m "Version %s" && git push --follow-tags`
Publish the release on GitHub to trigger a release build (ie, update 'latest' docker tag).
## TODO
1. Logging library
1. Figure out metric->imperial unit handling
1. Enable write actions to lock doors, flash lights, remote start, etc.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 166 KiB

10178
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,11 @@
{
"name": "onstar2mqtt",
"version": "1.0.5",
"version": "1.5.4",
"description": "OnStarJS wrapper for MQTT",
"main": "src/index.js",
"scripts": {
"coverage": "nyc npm test",
"lint": "npx eslint src test",
"start": "node src/index.js",
"test": "mocha"
},
@ -28,14 +29,23 @@
},
"homepage": "https://github.com/michaelwoods/onstar2mqtt#readme",
"dependencies": {
"async-mqtt": "^2.6.1",
"async-mqtt": "^2.6.3",
"convert-units": "^2.3.4",
"lodash": "^4.17.21",
"onstarjs": "^2.0.14",
"uuid": "^8.3.2"
"onstarjs": "^2.3.16",
"uuid": "^9.0.0",
"winston": "^3.8.2"
},
"devDependencies": {
"mocha": "^8.3.2",
"@babel/eslint-parser": "^7.19.1",
"@babel/eslint-plugin": "^7.19.1",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/preset-env": "^7.20.2",
"eslint": "^8.35.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0"
}
}

126
src/commands.js Normal file
View File

@ -0,0 +1,126 @@
class Commands {
static CONSTANTS = {
ALERT_ACTION: {
FLASH: 'Flash',
HONK: 'Honk',
},
ALERT_OVERRIDE: {
DOOR_OPEN: 'DoorOpen',
IGNITION_ON: 'IgnitionOn'
},
CHARGE_OVERRIDE: {
CHARGE_NOW: 'CHARGE_NOW',
CANCEL_OVERRIDE: 'CANCEL_OVERRIDE'
},
CHARGING_PROFILE_MODE: {
DEFAULT_IMMEDIATE: 'DEFAULT_IMMEDIATE',
IMMEDIATE: 'IMMEDIATE',
DEPARTURE_BASED: 'DEPARTURE_BASED',
RATE_BASED: 'RATE_BASED',
PHEV_AFTER_MIDNIGHT: 'PHEV_AFTER_MIDNIGHT'
},
CHARGING_PROFILE_RATE: {
OFFPEAK: 'OFFPEAK',
MIDPEAK: 'MIDPEAK',
PEAK: 'PEAK'
},
DIAGNOSTICS: {
ENGINE_COOLANT_TEMP: 'ENGINE COOLANT TEMP',
ENGINE_RPM: 'ENGINE RPM',
LAST_TRIP_FUEL_ECONOMY: 'LAST TRIP FUEL ECONOMY',
EV_ESTIMATED_CHARGE_END: 'EV ESTIMATED CHARGE END',
EV_BATTERY_LEVEL: 'EV BATTERY LEVEL',
OIL_LIFE: 'OIL LIFE',
EV_PLUG_VOLTAGE: 'EV PLUG VOLTAGE',
LIFETIME_FUEL_ECON: 'LIFETIME FUEL ECON',
HOTSPOT_CONFIG: 'HOTSPOT CONFIG',
LIFETIME_FUEL_USED: 'LIFETIME FUEL USED',
ODOMETER: 'ODOMETER',
HOTSPOT_STATUS: 'HOTSPOT STATUS',
LIFETIME_EV_ODOMETER: 'LIFETIME EV ODOMETER',
EV_PLUG_STATE: 'EV PLUG STATE',
EV_CHARGE_STATE: 'EV CHARGE STATE',
TIRE_PRESSURE: 'TIRE PRESSURE',
AMBIENT_AIR_TEMPERATURE: 'AMBIENT AIR TEMPERATURE',
LAST_TRIP_DISTANCE: 'LAST TRIP DISTANCE',
INTERM_VOLT_BATT_VOLT: 'INTERM VOLT BATT VOLT',
GET_COMMUTE_SCHEDULE: 'GET COMMUTE SCHEDULE',
GET_CHARGE_MODE: 'GET CHARGE MODE',
EV_SCHEDULED_CHARGE_START: 'EV SCHEDULED CHARGE START',
FUEL_TANK_INFO: 'FUEL TANK INFO',
HANDS_FREE_CALLING: 'HANDS FREE CALLING',
ENERGY_EFFICIENCY: 'ENERGY EFFICIENCY',
VEHICLE_RANGE: 'VEHICLE RANGE',
}
}
constructor(onstar) {
this.onstar = onstar;
}
async getAccountVehicles() {
return this.onstar.getAccountVehicles();
}
async startVehicle() {
return this.onstar.start();
}
async cancelStartVehicle() {
return this.onstar.cancelStart();
}
async alert({action = [Commands.CONSTANTS.ALERT_ACTION.FLASH],
delay = 0, duration = 1, override = []}) {
return this.onstar.alert({
action,
delay,
duration,
override
});
}
async cancelAlert() {
return this.onstar.cancelAlert();
}
async lockDoor({delay = 0}) {
return this.onstar.lockDoor({delay});
}
async unlockDoor({delay = 0}) {
return this.onstar.unlockDoor({delay});
}
async chargeOverride({mode = Commands.CONSTANTS.CHARGE_OVERRIDE.CHARGE_NOW}) {
return this.onstar.chargeOverride({mode});
}
async cancelChargeOverride({mode = Commands.CONSTANTS.CHARGE_OVERRIDE.CANCEL_OVERRIDE}) {
return this.onstar.chargeOverride({mode});
}
async getChargingProfile() {
return this.onstar.getChargingProfile();
}
async setChargingProfile() {
return this.onstar.setChargingProfile();
}
async getLocation() {
return this.onstar.location();
}
async diagnostics({diagnosticItem = [
Commands.CONSTANTS.DIAGNOSTICS.ODOMETER,
Commands.CONSTANTS.DIAGNOSTICS.TIRE_PRESSURE,
Commands.CONSTANTS.DIAGNOSTICS.AMBIENT_AIR_TEMPERATURE,
Commands.CONSTANTS.DIAGNOSTICS.LAST_TRIP_DISTANCE
]}) {
return this.onstar.diagnostics({diagnosticItem});
}
}
module.exports = Commands;

View File

@ -10,6 +10,9 @@ class Diagnostic {
d => _.has(d, 'value') && _.has(d, 'unit')
);
this.diagnosticElements = _.map(validEle, e => new DiagnosticElement(e));
const converted = _.map(_.filter(this.diagnosticElements, e => e.isConvertible),
e => DiagnosticElement.convert(e));
this.diagnosticElements.push(... converted);
}
hasElements() {
@ -24,6 +27,29 @@ class Diagnostic {
}
class DiagnosticElement {
/**
*
* @param {DiagnosticElement} element
*/
static convert(element) {
const {name, unit, value} = element;
const convertedUnit = Measurement.convertUnit(unit);
return new DiagnosticElement({
name: DiagnosticElement.convertName(name, convertedUnit),
unit: convertedUnit,
value: Measurement.convertValue(value, unit)
})
}
static convertName(name, unit) {
return `${name} ${_.replace(_.toUpper(unit), /\W/g, '')}`;
}
/**
* @param {string} ele.name
* @param {string|number} ele.value
* @param {string} ele.unit
*/
constructor(ele) {
this._name = ele.name;
this.measurement = new Measurement(ele.value, ele.unit);
@ -41,6 +67,10 @@ class DiagnosticElement {
return this.measurement.unit;
}
get isConvertible() {
return this.measurement.isConvertible;
}
toString() {
return `${this.name}: ${this.measurement.toString()}`;
}

View File

@ -5,6 +5,9 @@ const _ = require('lodash');
const Vehicle = require('./vehicle');
const {Diagnostic} = require('./diagnostic');
const MQTT = require('./mqtt');
const Commands = require('./commands');
const logger = require('./logger');
const onstarConfig = {
deviceId: process.env.ONSTAR_DEVICEID || uuidv4(),
@ -12,9 +15,13 @@ const onstarConfig = {
username: process.env.ONSTAR_USERNAME,
password: process.env.ONSTAR_PASSWORD,
onStarPin: process.env.ONSTAR_PIN,
checkRequestStatus: process.env.ONSTAR_SYNC === "true" || true,
refreshInterval: parseInt(process.env.ONSTAR_REFRESH) || (30 * 60 * 1000) // 30 min
checkRequestStatus: _.get(process.env, 'ONSTAR_SYNC', 'true') === 'true',
refreshInterval: parseInt(process.env.ONSTAR_REFRESH) || (30 * 60 * 1000), // 30 min
requestPollingIntervalSeconds: parseInt(process.env.ONSTAR_POLL_INTERVAL) || 6, // 6 sec default
requestPollingTimeoutSeconds: parseInt(process.env.ONSTAR_POLL_TIMEOUT) || 60, // 60 sec default
allowCommands: _.get(process.env, 'ONSTAR_ALLOW_COMMANDS', 'true') === 'true'
};
logger.info('OnStar Config', {onstarConfig});
const mqttConfig = {
host: process.env.MQTT_HOST || 'localhost',
@ -23,48 +30,109 @@ const mqttConfig = {
port: parseInt(process.env.MQTT_PORT) || 1883,
tls: process.env.MQTT_TLS || false,
prefix: process.env.MQTT_PREFIX || 'homeassistant',
namePrefix: process.env.MQTT_NAME_PREFIX || '',
};
logger.info('MQTT Config', {mqttConfig});
const init = () => new Commands(OnStar.create(onstarConfig));
const getVehicles = async commands => {
logger.info('Requesting vehicles');
const vehiclesRes = await commands.getAccountVehicles();
logger.info('Vehicle request status', {status: _.get(vehiclesRes, 'status')});
const vehicles = _.map(
_.get(vehiclesRes, 'response.data.vehicles.vehicle'),
v => new Vehicle(v)
);
logger.debug('Vehicle request response', {vehicles: _.map(vehicles, v => v.toString())});
return vehicles;
}
const getCurrentVehicle = async commands => {
const vehicles = await getVehicles(commands);
const currentVeh = _.find(vehicles, v => v.vin.toLowerCase() === onstarConfig.vin.toLowerCase());
if (!currentVeh) {
throw new Error(`Configured vehicle VIN ${onstarConfig.vin} not available in account vehicles`);
}
return currentVeh;
}
const connectMQTT = async availabilityTopic => {
const url = `${mqttConfig.tls ? 'mqtts' : 'mqtt'}://${mqttConfig.host}:${mqttConfig.port}`;
const config = {
username: mqttConfig.username,
password: mqttConfig.password,
will: {topic: availabilityTopic, payload: 'false', retain: true}
};
logger.info('Connecting to MQTT', {url, config: _.omit(config, 'password')});
const client = await mqtt.connectAsync(url, config);
logger.info('Connected to MQTT');
return client;
}
const configureMQTT = async (commands, client, mqttHA) => {
if (!onstarConfig.allowCommands)
return;
client.on('message', (topic, message) => {
logger.debug('Subscription message', {topic, message});
const {command, options} = JSON.parse(message);
const cmd = commands[command];
if (!cmd) {
logger.error('Command not found', {command});
return;
}
const commandFn = cmd.bind(commands);
logger.info('Command sent', { command });
commandFn(options || {})
.then(data => {
// TODO refactor the response handling for commands
logger.info('Command completed', { command });
const responseData = _.get(data, 'response.data');
if (responseData) {
logger.info('Command response data', { responseData });
const location = _.get(data, 'response.data.commandResponse.body.location');
if (location) {
const topic = mqttHA.getStateTopic({ name: command });
// TODO create device_tracker entity. MQTT device tracker doesn't support lat/lon and mqtt_json
// doesn't have discovery
client.publish(topic,
JSON.stringify({ latitude: location.lat, longitude: location.long }), { retain: true })
.then(() => logger.info('Published location to topic.', { topic }));
}
}
})
.catch(err=> logger.error('Command error', {command, err}));
});
const topic = mqttHA.getCommandTopic();
logger.info('Subscribed to command topic', {topic});
await client.subscribe(topic);
};
let loop;
(async () => {
try {
const onStar = OnStar.create(onstarConfig);
console.log('Requesting vehicles.');
const vehiclesRes = await onStar.getAccountVehicles();
console.log(_.get(vehiclesRes, 'status'));
const vehicles = _.map(
_.get(vehiclesRes, 'response.data.vehicles.vehicle'),
v => new Vehicle(v)
);
console.log('Vehicles returned:');
for (const v of vehicles) {
console.log(v.toString());
}
const commands = init();
const vehicle = await getCurrentVehicle(commands);
const mqttHA = new MQTT(vehicles[0], 'homeassistant');
const mqttHA = new MQTT(vehicle, mqttConfig.prefix, mqttConfig.namePrefix);
const availTopic = mqttHA.getAvailabilityTopic();
const client = await mqtt.connectAsync(`${mqttConfig.tls
? 'mqtts' : 'mqtt'}://${mqttConfig.host}:${mqttConfig.port}`, {
username: mqttConfig.username,
password: mqttConfig.password,
will: {topic: availTopic, payload: 'false', retain: true}
});
await client.publish(availTopic, 'true', {retain: true});
const client = await connectMQTT(availTopic);
client.publish(availTopic, 'true', {retain: true})
.then(() => logger.debug('Published availability'));
await configureMQTT(commands, client, mqttHA);
const configurations = new Map();
const run = async () => {
const states = new Map();
const v = vehicles[0];
console.log('Requesting diagnostics:')
const statsRes = await onStar.diagnostics({
diagnosticItem: v.getSupported()
});
console.log(_.get(statsRes, 'status'));
const v = vehicle;
logger.info('Requesting diagnostics');
const statsRes = await commands.diagnostics({diagnosticItem: v.getSupported()});
logger.info('Diagnostic request status', {status: _.get(statsRes, 'status')});
const stats = _.map(
_.get(statsRes, 'response.data.commandResponse.body.diagnosticResponse'),
d => new Diagnostic(d)
);
logger.debug('Diagnostic request response', {stats: _.map(stats, s => s.toString())});
for (const s of stats) {
if (!s.hasElements()) {
@ -81,30 +149,46 @@ let loop;
const payload = mqttHA.getStatePayload(s);
states.set(topic, payload);
}
// publish configs
const publishes = [];
// publish sensor configs
for (let [topic, config] of configurations) {
// configure once
if (!config.configured) {
config.configured = true;
const {payload} = config;
console.log(`${topic} ${JSON.stringify(payload)}`);
await client.publish(topic, JSON.stringify(payload), {retain: true});
logger.info('Publishing message', {topic, payload});
publishes.push(
client.publish(topic, JSON.stringify(payload), {retain: true})
);
}
}
// update states
// update sensor states
for (let [topic, state] of states) {
console.log(`${topic} ${JSON.stringify(state)}`);
await client.publish(topic, JSON.stringify(state), {retain: true});
logger.info('Publishing message', {topic, state});
publishes.push(
client.publish(topic, JSON.stringify(state), {retain: true})
);
}
await Promise.all(publishes);
};
const main = () => run()
.then(() => console.log('Done, sleeping.'))
.catch(e => console.error(e))
const main = async () => run()
.then(() => logger.info('Updates complete, sleeping.'))
.catch(e => {
if (e instanceof Error) {
logger.error('Error', {error: _.pick(e, [
'message', 'stack',
'response.status', 'response.statusText', 'response.headers', 'response.data',
'request.method', 'request.body', 'request.contentType', 'request.headers', 'request.url'
])});
} else {
logger.error('Error', {error: e});
}
});
await main();
loop = setInterval(main, onstarConfig.refreshInterval);
setInterval(main, onstarConfig.refreshInterval);
} catch (e) {
console.error(e);
logger.error('Main function error.', {error: e});
}
})();
})();

12
src/logger.js Normal file
View File

@ -0,0 +1,12 @@
const winston = require('winston');
const _ = require('lodash');
const logger = winston.createLogger({
level: _.get(process, 'env.LOG_LEVEL', 'info'),
format: winston.format.simple(),
// format: winston.format.json(),
transports: [new winston.transports.Console({stderrLevels: ['error']})]
})
module.exports = logger;

View File

@ -1,9 +1,20 @@
// const convert = require('convert-units');
const _ = require('lodash');
const convert = require('convert-units');
class Measurement {
static CONVERTABLE_UNITS = [
'°C',
'km',
'kPa',
'km/l(e)',
// Helps with conversion to Gallons.
'lit'
];
constructor(value, unit) {
this.value = value;
this.unit = Measurement.correctUnitName(unit);
this.isConvertible = _.includes(Measurement.CONVERTABLE_UNITS, this.unit);
}
/**
@ -22,10 +33,12 @@ class Measurement {
case 'KPa':
return 'kPa';
case 'kmple':
return 'km/l(e)'; // TODO check on this
return 'km/l(e)';
case 'volts':
case 'Volts':
return 'V';
case 'l':
return 'lit';
// these are states
case 'Stat':
case 'N/A':
@ -36,20 +49,59 @@ class Measurement {
}
}
// TODO this may not be required. Check consuming application.
/*static convertToImperial(value, unit) {
switch(unit) {
case 'Cel':
const val = convert(value).from('C').to('F');
return new Measurement(val, 'F');
default:
return new Measurement(value, unit);
/**
*
* @param {string|number} value
* @param {string} unit
* @returns {string|number}
*/
static convertValue(value, unit) {
switch (unit) {
case '°C':
value = _.round(convert(value).from('C').to('F'));
break;
case 'km':
value = _.round(convert(value).from('km').to('mi'), 1);
break;
case 'kPa':
value = _.round(convert(value).from('kPa').to('psi'), 1);
break;
case 'km/l(e)':
// km/L = (1.609344 / 3.785411784) * MPG
value = _.round(value / (1.609344 / 3.785411784), 1);
break;
case 'lit':
value = _.round(value / 3.785411784, 1);
break;
}
}*/
return value;
}
/**
*
* @param {string} unit
* @returns {string}
*/
static convertUnit(unit) {
switch (unit) {
case '°C':
return '°F';
case 'km':
return 'mi';
case 'kPa':
return 'psi';
case 'km/l(e)':
return 'mpg(e)';
case 'lit':
return 'gal';
default:
return unit;
}
}
toString() {
return `${this.value}${this.unit}`;
}
}
module.exports = Measurement;
module.exports = Measurement;

View File

@ -36,10 +36,11 @@ const _ = require('lodash');
* }
*/
class MQTT {
constructor(vehicle, prefix = 'homeassistant') {
constructor(vehicle, prefix = 'homeassistant', namePrefix) {
this.prefix = prefix;
this.vehicle = vehicle;
this.instance = vehicle.vin;
this.namePrefix = namePrefix
}
static convertName(name) {
@ -57,13 +58,24 @@ class MQTT {
case 'PRIORITY CHARGE INDICATOR':
case 'PRIORITY CHARGE STATUS':
return 'binary_sensor';
case 'getLocation':
return 'device_tracker';
default:
return 'sensor';
}
}
/**
* @param {'sensor'|'binary_sensor'} type
* @param {string} name
* @returns {string}
*/
addNamePrefix(name) {
if (!this.namePrefix) return name
return `${this.namePrefix} ${name}`
}
/**
* @param {'sensor'|'binary_sensor'|'device_tracker'} type
* @returns {string}
*/
getBaseTopic(type = 'sensor') {
@ -74,6 +86,10 @@ class MQTT {
return `${this.prefix}/${this.instance}/available`;
}
getCommandTopic() {
return `${this.prefix}/${this.instance}/command`;
}
/**
*
* @param {DiagnosticElement} diag
@ -125,6 +141,7 @@ class MQTT {
break;
default:
// coerce to number if possible, API uses strings :eyeroll:
// eslint-disable-next-line no-case-declarations
const num = _.toNumber(e.value);
value = _.isNaN(num) ? e.value : num;
break;
@ -136,6 +153,10 @@ class MQTT {
mapBaseConfigPayload(diag, diagEl, device_class, name, attr) {
name = name || MQTT.convertFriendlyName(diagEl.name);
name = this.addNamePrefix(name);
// Generate the unique id from the vin and name
let unique_id = `${this.vehicle.vin}-${diagEl.name}`
unique_id = unique_id.replace(/\s+/g, '-').toLowerCase();
return {
device_class,
name,
@ -151,7 +172,8 @@ class MQTT {
state_topic: this.getStateTopic(diag),
value_template: `{{ value_json.${MQTT.convertName(diagEl.name)} }}`,
json_attributes_topic: _.isUndefined(attr) ? undefined : this.getStateTopic(diag),
json_attributes_template: attr
json_attributes_template: attr,
unique_id: unique_id
};
}
@ -186,17 +208,28 @@ class MQTT {
return this.mapSensorConfigPayload(diag, diagEl, 'voltage');
case 'HYBRID BATTERY MINIMUM TEMPERATURE':
case 'AMBIENT AIR TEMPERATURE':
case 'AMBIENT AIR TEMPERATURE F':
case 'ENGINE COOLANT TEMP':
case 'ENGINE COOLANT TEMP F':
return this.mapSensorConfigPayload(diag, diagEl, 'temperature');
case 'EV BATTERY LEVEL':
return this.mapSensorConfigPayload(diag, diagEl, 'battery');
case 'TIRE PRESSURE LF':
return this.mapSensorConfigPayload(diag, diagEl, 'pressure', 'Tire Pressure: Left Front', `{{ {'recommendation': value_json.${MQTT.convertName('TIRE_PRESSURE_PLACARD_FRONT')}} | tojson }}`);
case 'TIRE PRESSURE LF PSI':
return this.mapSensorConfigPayload(diag, diagEl, 'pressure', 'Tire Pressure: Left Front PSI', `{{ {'recommendation': value_json.${MQTT.convertName('TIRE_PRESSURE_PLACARD_FRONT_PSI')}} | tojson }}`);
case 'TIRE PRESSURE LR':
return this.mapSensorConfigPayload(diag, diagEl, 'pressure', 'Tire Pressure: Left Rear', `{{ {'recommendation': value_json.${MQTT.convertName('TIRE_PRESSURE_PLACARD_REAR')}} | tojson }}`);
case 'TIRE PRESSURE LR PSI':
return this.mapSensorConfigPayload(diag, diagEl, 'pressure', 'Tire Pressure: Left Rear PSI', `{{ {'recommendation': value_json.${MQTT.convertName('TIRE_PRESSURE_PLACARD_REAR_PSI')}} | tojson }}`);
case 'TIRE PRESSURE RF':
return this.mapSensorConfigPayload(diag, diagEl, 'pressure', 'Tire Pressure: Right Front', `{{ {'recommendation': value_json.${MQTT.convertName('TIRE_PRESSURE_PLACARD_FRONT')}} | tojson }}`);
case 'TIRE PRESSURE RF PSI':
return this.mapSensorConfigPayload(diag, diagEl, 'pressure', 'Tire Pressure: Right Front PSI', `{{ {'recommendation': value_json.${MQTT.convertName('TIRE_PRESSURE_PLACARD_FRONT_PSI')}} | tojson }}`);
case 'TIRE PRESSURE RR':
return this.mapSensorConfigPayload(diag, diagEl, 'pressure', 'Tire Pressure: Right Rear', `{{ {'recommendation': value_json.${MQTT.convertName('TIRE_PRESSURE_PLACARD_REAR')}} | tojson }}`);
case 'TIRE PRESSURE RR PSI':
return this.mapSensorConfigPayload(diag, diagEl, 'pressure', 'Tire Pressure: Right Rear PSI', `{{ {'recommendation': value_json.${MQTT.convertName('TIRE_PRESSURE_PLACARD_REAR_PSI')}} | tojson }}`);
// binary sensor
case 'EV PLUG STATE': // unplugged/plugged
return this.mapBinarySensorConfigPayload(diag, diagEl, 'plug');

View File

@ -1,7 +1,7 @@
const assert = require('assert');
const _ = require('lodash');
const { Diagnostic } = require('../src/diagnostic');
const { Diagnostic, DiagnosticElement } = require('../src/diagnostic');
const apiResponse = require('./diagnostic.sample.json');
describe('Diagnostics', () => {
@ -12,13 +12,13 @@ describe('Diagnostics', () => {
it('should parse a diagnostic response', () => {
assert.strictEqual(d.name, 'AMBIENT AIR TEMPERATURE');
assert.strictEqual(d.diagnosticElements.length, 1);
assert.strictEqual(d.diagnosticElements.length, 2);
});
it('should toString() correctly', () => {
const output = d.toString().trimEnd();
const lines = output.split(/\r\n|\r|\n/);
assert.strictEqual(lines.length, 2);
assert.strictEqual(lines.length, 3);
assert.strictEqual(lines[0], 'AMBIENT AIR TEMPERATURE:');
});
});
@ -28,15 +28,19 @@ describe('Diagnostics', () => {
it('should parse a diagnostic element', () => {
assert.strictEqual(d.name, 'TIRE PRESSURE');
assert.ok(_.isArray(d.diagnosticElements));
assert.strictEqual(d.diagnosticElements.length, 6);
assert.strictEqual(d.diagnosticElements.length, 12);
});
it('should toString() correctly', () => {
const output = d.toString().trimEnd();
const lines = output.split(/\r\n|\r|\n/);
assert.strictEqual(lines.length, 7);
assert.strictEqual(lines.length, 13);
assert.strictEqual(lines[0], 'TIRE PRESSURE:');
assert.strictEqual(lines[1], ' TIRE PRESSURE LF: 240.0kPa');
});
it('should strip non-alpha chars', () => {
assert.strictEqual(DiagnosticElement.convertName('TEMP', '°F'), 'TEMP F');
});
});
});

View File

@ -28,8 +28,27 @@ describe('MQTT', () => {
assert.strictEqual(MQTT.convertFriendlyName('FOO BAR'), 'Foo Bar');
});
it('should determine sensor types', () => {
assert.strictEqual(MQTT.determineSensorType('EV CHARGE STATE'), 'binary_sensor');
assert.strictEqual(MQTT.determineSensorType('EV PLUG STATE'), 'binary_sensor');
assert.strictEqual(MQTT.determineSensorType('PRIORITY CHARGE INDICATOR'), 'binary_sensor');
assert.strictEqual(MQTT.determineSensorType('PRIORITY CHARGE STATUS'), 'binary_sensor');
assert.strictEqual(MQTT.determineSensorType('getLocation'), 'device_tracker');
assert.strictEqual(MQTT.determineSensorType('foo'), 'sensor');
assert.strictEqual(MQTT.determineSensorType(''), 'sensor');
});
describe('topics', () => {
let d;
it('should generate availability topic', () => {
assert.strictEqual(mqtt.getAvailabilityTopic(), 'homeassistant/XXX/available');
});
it('should generate command topic', () => {
assert.strictEqual(mqtt.getCommandTopic(), 'homeassistant/XXX/command');
});
describe('sensor', () => {
beforeEach(() => d = new Diagnostic(_.get(apiResponse, 'commandResponse.body.diagnosticResponse[0]')));
@ -73,14 +92,37 @@ describe('MQTT', () => {
payload_available: 'true',
payload_not_available: 'false',
state_topic: 'homeassistant/sensor/XXX/ambient_air_temperature/state',
unique_id: 'xxx-ambient-air-temperature',
json_attributes_topic: undefined,
unit_of_measurement: '°C',
value_template: '{{ value_json.ambient_air_temperature }}'
});
assert.deepStrictEqual(mqtt.getConfigPayload(d, d.diagnosticElements[1]), {
availability_topic: 'homeassistant/XXX/available',
device: {
identifiers: [
'XXX'
],
manufacturer: 'foo',
model: 2020,
name: '2020 foo bar'
},
device_class: 'temperature',
json_attributes_template: undefined,
name: 'Ambient Air Temperature F',
payload_available: 'true',
payload_not_available: 'false',
state_topic: 'homeassistant/sensor/XXX/ambient_air_temperature/state',
unique_id: 'xxx-ambient-air-temperature-f',
json_attributes_topic: undefined,
unit_of_measurement: '°F',
value_template: '{{ value_json.ambient_air_temperature_f }}'
});
});
it('should generate state payloads', () => {
assert.deepStrictEqual(mqtt.getStatePayload(d), {
ambient_air_temperature: 15
ambient_air_temperature: 15,
ambient_air_temperature_f: 59
});
});
});
@ -106,6 +148,7 @@ describe('MQTT', () => {
payload_off: false,
payload_on: true,
state_topic: 'homeassistant/binary_sensor/XXX/ev_charge_state/state',
unique_id: 'xxx-priority-charge-indicator',
json_attributes_topic: undefined,
value_template: '{{ value_json.priority_charge_indicator }}'
});
@ -138,6 +181,7 @@ describe('MQTT', () => {
payload_available: 'true',
payload_not_available: 'false',
state_topic: 'homeassistant/sensor/XXX/tire_pressure/state',
unique_id: 'xxx-tire-pressure-lf',
json_attributes_topic: 'homeassistant/sensor/XXX/tire_pressure/state',
unit_of_measurement: 'kPa',
value_template: '{{ value_json.tire_pressure_lf }}'