Jérôme Benoit [Sun, 26 Nov 2023 22:49:48 +0000 (23:49 +0100)]
fix: fix recursion loop getTemplateFromFile -> logPrefix -> getTemplateFromFile
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Nov 2023 12:18:54 +0000 (13:18 +0100)]
build(deps): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Nov 2023 09:53:59 +0000 (10:53 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Nov 2023 08:53:55 +0000 (09:53 +0100)]
Merge pull request #858 from SAP/combined-prs-branch
Combined PRs
Jérôme Benoit [Fri, 24 Nov 2023 08:50:26 +0000 (09:50 +0100)]
refactor(ui): add firmware status to UI types
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Nov 2023 08:32:52 +0000 (09:32 +0100)]
chore: version 1.2.26
Jérôme Benoit [Fri, 24 Nov 2023 02:10:17 +0000 (03:10 +0100)]
Merge dependabot/github_actions/github/combine-prs-5.0.0 into combined-prs-branch
Jérôme Benoit [Fri, 24 Nov 2023 02:10:16 +0000 (03:10 +0100)]
Merge dependabot/npm_and_yarn/tsx-4.4.0 into combined-prs-branch
Jérôme Benoit [Fri, 24 Nov 2023 00:11:41 +0000 (01:11 +0100)]
refactor: remove unneeded registration status getter
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Nov 2023 00:00:45 +0000 (01:00 +0100)]
feat: add message buffer flush interval
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 21:31:41 +0000 (22:31 +0100)]
fix: ensure configuration keys are saved with the right data structure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 21:26:18 +0000 (22:26 +0100)]
refactor: remove unneeded max power getter
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 20:46:09 +0000 (21:46 +0100)]
refactor: cleanup persistent stationInfo tunable handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 20:25:48 +0000 (21:25 +0100)]
fix: fix configuration loading from file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 19:40:10 +0000 (20:40 +0100)]
fix: make stationInfo attributes writable again
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Nov 2023 18:08:41 +0000 (19:08 +0100)]
fix: add getter/setter on some station info attributes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Thu, 23 Nov 2023 16:59:51 +0000 (16:59 +0000)]
build(deps-dev): Bump tsx from 4.3.0 to 4.4.0
Bumps [tsx](https://github.com/privatenumber/tsx) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/develop/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.3.0...v4.4.0)
---
updated-dependencies:
- dependency-name: tsx
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 23 Nov 2023 16:28:08 +0000 (16:28 +0000)]
build(deps): Bump github/combine-prs from 4.1.0 to 5.0.0
Bumps [github/combine-prs](https://github.com/github/combine-prs) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/github/combine-prs/releases)
- [Commits](https://github.com/github/combine-prs/compare/v4.1.0...v5.0.0)
---
updated-dependencies:
- dependency-name: github/combine-prs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Wed, 22 Nov 2023 20:59:35 +0000 (21:59 +0100)]
fix: ensure updated CS event is emitted on all possible changes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Nov 2023 19:37:23 +0000 (20:37 +0100)]
build: remove now uneeded ESM workaround for esbuil
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Nov 2023 19:08:56 +0000 (20:08 +0100)]
build: bump volta node version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Nov 2023 17:39:34 +0000 (18:39 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 22 Nov 2023 09:15:02 +0000 (10:15 +0100)]
refactor: add error name in worker set worker startup error reporting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Nov 2023 18:27:12 +0000 (19:27 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Nov 2023 09:05:32 +0000 (10:05 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 22:15:40 +0000 (23:15 +0100)]
fix: ensure the message buffer is flushed once accepted state is reached
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 21:58:29 +0000 (22:58 +0100)]
refactor: refine OCPP stack log message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 21:43:12 +0000 (22:43 +0100)]
refactor: explicit condition check in OCPP stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 21:27:55 +0000 (22:27 +0100)]
fix(simulator): buffer OCPP payload at sending error
Closes #156
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 20:51:45 +0000 (21:51 +0100)]
refactor: refine type casting in OCPP stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 20:46:30 +0000 (21:46 +0100)]
refactor: cleanup types signature namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 20:23:41 +0000 (21:23 +0100)]
refactor: improve OCPP error defaults and usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 20:00:14 +0000 (21:00 +0100)]
perf(ui): only build WS payload if connection is opened
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 16:38:35 +0000 (17:38 +0100)]
refactor: more stricter type checking in condition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 16:05:31 +0000 (17:05 +0100)]
refactor: stricter type checking in conditions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 14:50:12 +0000 (15:50 +0100)]
fix: do not log twice OCPP request sending error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 10:41:40 +0000 (11:41 +0100)]
refactor: remove unneeded encapsulation in arrow function
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Nov 2023 10:26:55 +0000 (11:26 +0100)]
chore: version 1.2.25
Jérôme Benoit [Mon, 20 Nov 2023 10:19:58 +0000 (11:19 +0100)]
refactor: strong type data sent to worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 16:11:25 +0000 (17:11 +0100)]
refactor: factor out WS error handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 15:51:11 +0000 (16:51 +0100)]
refactor: cleanup control flow in OCPP stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 15:45:41 +0000 (16:45 +0100)]
fix: ensure error at WS message sending is handled
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 14:22:01 +0000 (15:22 +0100)]
fix: fix OCPP message sending promise leak
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 11:52:20 +0000 (12:52 +0100)]
refactor: rename constant to a more sensible name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 11:32:27 +0000 (12:32 +0100)]
fix: remove incorrect promise race usage at stopping charging stations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 10:14:34 +0000 (11:14 +0100)]
refactor: remove unneeded nullish coalescing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 10:10:50 +0000 (11:10 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Nov 2023 09:51:04 +0000 (10:51 +0100)]
perf: cache request promise after sending it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Nov 2023 23:30:31 +0000 (00:30 +0100)]
fix: improve websocket usage error handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Nov 2023 22:06:52 +0000 (23:06 +0100)]
fix: ensure OCPP request timeouting cancel it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Nov 2023 10:20:32 +0000 (11:20 +0100)]
refactor: sensible default at meterValues custom value handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Nov 2023 09:20:23 +0000 (10:20 +0100)]
build(deps-dev): apply udpates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 17 Nov 2023 17:12:45 +0000 (18:12 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 19:43:32 +0000 (20:43 +0100)]
fix: ensure built sample meterValues value can't be overriden
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 19:21:51 +0000 (20:21 +0100)]
fix: ensure per phase meterValues can't fail with custom value
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 17:30:53 +0000 (18:30 +0100)]
build: refine .cfignore
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 17:08:58 +0000 (18:08 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 16:50:24 +0000 (17:50 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 15:37:31 +0000 (16:37 +0100)]
docs: remove wrong comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Nov 2023 11:35:04 +0000 (12:35 +0100)]
feat: ensure measurand min value are taken into account
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Nov 2023 23:12:45 +0000 (00:12 +0100)]
fix: fallback to minimum measurand value at meterValues generation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Nov 2023 20:12:53 +0000 (21:12 +0100)]
refactor: factor out JSON schema validation function getter
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Nov 2023 17:16:05 +0000 (18:16 +0100)]
build(ci): fix linter errors
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 14 Nov 2023 16:24:13 +0000 (17:24 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 12:09:01 +0000 (13:09 +0100)]
refactor: move charging station events enum to its own file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 10:15:21 +0000 (11:15 +0100)]
refactor: factor out voltage phase line to line computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 09:30:13 +0000 (10:30 +0100)]
chore: version 1.2.24
Jérôme Benoit [Mon, 13 Nov 2023 09:29:12 +0000 (10:29 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 09:15:02 +0000 (10:15 +0100)]
fix: ensure custom meterValues values are taken
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 09:05:20 +0000 (10:05 +0100)]
refactor: remove unneeded intermediate variable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 13 Nov 2023 08:20:31 +0000 (09:20 +0100)]
fix: do not test for connector status in ATG
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Nov 2023 22:47:35 +0000 (23:47 +0100)]
fix: avoid NaN at meterValues generation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Nov 2023 21:38:28 +0000 (22:38 +0100)]
refactor(simulator): remove unneeded intermediate variable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Nov 2023 21:25:09 +0000 (22:25 +0100)]
build: bump volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Nov 2023 21:12:07 +0000 (22:12 +0100)]
fix: ensure voltage is defined in stationInfo
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Nov 2023 13:29:00 +0000 (14:29 +0100)]
build(simulator): enforce minimum node version 18.18.x
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 12 Nov 2023 09:57:53 +0000 (10:57 +0100)]
refactor: make ATG wait busy loop test first
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 11 Nov 2023 20:40:51 +0000 (21:40 +0100)]
build(ci): only audit for production dependencies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 11 Nov 2023 20:28:29 +0000 (21:28 +0100)]
build(ci): add dependencies audit step
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 11 Nov 2023 19:05:06 +0000 (20:05 +0100)]
fix: make ATG wait for CS/connector availability
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 11 Nov 2023 16:53:18 +0000 (17:53 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 11 Nov 2023 10:02:54 +0000 (11:02 +0100)]
fix: strict condition on boolean
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 11 Nov 2023 09:48:20 +0000 (10:48 +0100)]
fix: refine CS registration error message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 22:33:29 +0000 (23:33 +0100)]
fix: fix connector 0 handling in ConnectorPhaseRotation OCPP
configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 22:11:25 +0000 (23:11 +0100)]
fix: fix stationInfo default values
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 20:35:29 +0000 (21:35 +0100)]
fix: fix types in stationInfo properties refactoring
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 20:17:40 +0000 (21:17 +0100)]
refactor: remove getter on stationInfo properties
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 18:23:47 +0000 (19:23 +0100)]
feat: add template tunable to stop transaction at CS stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 14:50:30 +0000 (15:50 +0100)]
fix(simulator): properly handle template change at ATG initialization
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 13:00:40 +0000 (14:00 +0100)]
feat: reenable configuration files change watchers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 12:39:41 +0000 (13:39 +0100)]
feat: add events for charging station status change
closes #458
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 11:39:37 +0000 (12:39 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Nov 2023 11:36:58 +0000 (12:36 +0100)]
fix: ensure running transactions are stopped at CS stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 9 Nov 2023 20:11:03 +0000 (21:11 +0100)]
fix: ensure connectors status are saved is configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 9 Nov 2023 20:00:15 +0000 (21:00 +0100)]
fix: ensure charging stations are stopped if UI server is disabled at
shutdown
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 9 Nov 2023 16:58:39 +0000 (16:58 +0000)]
Merge pull request #836 from SAP/dependabot/npm_and_yarn/tsx-4.0.0
build(deps-dev): Bump tsx from 3.14.0 to 4.0.0
dependabot[bot] [Thu, 9 Nov 2023 16:53:16 +0000 (16:53 +0000)]
build(deps-dev): Bump tsx from 3.14.0 to 4.0.0
Bumps [tsx](https://github.com/privatenumber/tsx) from 3.14.0 to 4.0.0.
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/develop/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v3.14.0...v4.0.0)
---
updated-dependencies:
- dependency-name: tsx
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Wed, 8 Nov 2023 18:52:05 +0000 (19:52 +0100)]
fix(simulator): format properly duration close to zero
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 8 Nov 2023 17:39:42 +0000 (18:39 +0100)]
fix(simulator): handle close to zero duration formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 8 Nov 2023 15:18:19 +0000 (16:18 +0100)]
fix: disable dynamic reload until spurious file change is identified
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>