Jérôme Benoit [Tue, 3 Nov 2020 00:45:51 +0000 (01:45 +0100)]
Error on commands statistics fix.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 3 Nov 2020 00:29:22 +0000 (01:29 +0100)]
Fix OCPP SRPC calls sequence.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 2 Nov 2020 21:06:38 +0000 (22:06 +0100)]
Add ws optional dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 2 Nov 2020 10:34:17 +0000 (11:34 +0100)]
Type a bit some attributes.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 1 Nov 2020 20:52:16 +0000 (21:52 +0100)]
Cleanup.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 1 Nov 2020 20:45:04 +0000 (21:45 +0100)]
Fix this scoping issue.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 1 Nov 2020 18:26:04 +0000 (19:26 +0100)]
Initial portage to TypeScript.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 1 Nov 2020 13:34:11 +0000 (14:34 +0100)]
Simplify DC current output type handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 31 Oct 2020 12:00:43 +0000 (13:00 +0100)]
Fix chargeBoxSerialNumberPrefix template tunable handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 31 Oct 2020 10:40:57 +0000 (11:40 +0100)]
Refine error messages.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 31 Oct 2020 07:39:44 +0000 (08:39 +0100)]
Improve error handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Oct 2020 22:40:58 +0000 (23:40 +0100)]
Add Power.Active.Import measurand support.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Oct 2020 19:58:57 +0000 (20:58 +0100)]
Add AC/DC charging stations handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Oct 2020 17:46:30 +0000 (18:46 +0100)]
Add Current.Import measurand support.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Oct 2020 22:23:18 +0000 (23:23 +0100)]
Put default value in method arguments.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Oct 2020 22:15:44 +0000 (23:15 +0100)]
Log fixlet.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Oct 2020 11:46:49 +0000 (12:46 +0100)]
Fix phases number in template.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Oct 2020 17:18:03 +0000 (18:18 +0100)]
Cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Oct 2020 17:06:29 +0000 (18:06 +0100)]
Preliminary work on per phase measurand.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Oct 2020 13:03:11 +0000 (15:03 +0200)]
Fixes to connector id 0 handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Oct 2020 22:25:16 +0000 (00:25 +0200)]
Fix max number of connectors calculation.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Oct 2020 22:07:25 +0000 (00:07 +0200)]
Fixes to connectors initializing handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Oct 2020 21:07:30 +0000 (23:07 +0200)]
Allow to disable statistics at the template level.
And fix connectors randomization.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Oct 2020 11:54:42 +0000 (13:54 +0200)]
Cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Oct 2020 10:42:33 +0000 (12:42 +0200)]
Make statistics class a singleton.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 22 Oct 2020 13:31:36 +0000 (15:31 +0200)]
Rename index.js to start.js
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 21 Oct 2020 20:42:39 +0000 (22:42 +0200)]
Fix missing template files loading error.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 21 Oct 2020 12:35:03 +0000 (14:35 +0200)]
Spell fix.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 21 Oct 2020 12:30:13 +0000 (14:30 +0200)]
Avoid information duplication for connectors
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 21 Oct 2020 09:54:25 +0000 (11:54 +0200)]
Handle the number of connectors in metervalues generator.
And add handling of the MeterValuesSampledData standard OCPP parameter.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 22:13:56 +0000 (00:13 +0200)]
Move attributes init to the right place.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 21:53:26 +0000 (23:53 +0200)]
Fix undefined at startup.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 21:41:36 +0000 (23:41 +0200)]
Remove useless empty check and init on variable.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 21:38:31 +0000 (23:38 +0200)]
Add a FIXME comment.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 21:33:14 +0000 (23:33 +0200)]
Use hash to conditionally recreate _connectors attribute.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 20:36:33 +0000 (22:36 +0200)]
Variable renaming to a sensible name.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 20:07:00 +0000 (22:07 +0200)]
Allow docker image build without submodules access.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 19:20:22 +0000 (21:20 +0200)]
Use a sensible naming in methods.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 18:57:30 +0000 (20:57 +0200)]
Fix zero value in metervalues charging station templates.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 18:38:13 +0000 (20:38 +0200)]
Update submodules.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 18:03:42 +0000 (20:03 +0200)]
Be consistent in variables naming.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 17:51:51 +0000 (19:51 +0200)]
Allow to specify a hardcoded value for metervalues in template.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 17:00:38 +0000 (19:00 +0200)]
Fix StopTransaction.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 15:36:32 +0000 (17:36 +0200)]
Fix metervalues generator.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 14:58:41 +0000 (16:58 +0200)]
Cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 14:12:38 +0000 (16:12 +0200)]
Initialization fixes.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 20 Oct 2020 07:25:38 +0000 (09:25 +0200)]
Add Reset command handling.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Oct 2020 14:43:32 +0000 (16:43 +0200)]
Fix unit conversion.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Oct 2020 13:03:15 +0000 (15:03 +0200)]
Update README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Oct 2020 13:01:45 +0000 (15:01 +0200)]
Update README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Oct 2020 12:59:53 +0000 (14:59 +0200)]
Update README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Oct 2020 12:56:08 +0000 (14:56 +0200)]
Update README.md
Jérôme Benoit [Mon, 19 Oct 2020 11:55:46 +0000 (13:55 +0200)]
Refine log level.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Oct 2020 11:40:31 +0000 (13:40 +0200)]
Fix template reload.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Oct 2020 11:03:12 +0000 (13:03 +0200)]
Fixlet to configuration tunable value check.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Oct 2020 10:54:36 +0000 (12:54 +0200)]
Variable renaming.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Oct 2020 09:38:08 +0000 (11:38 +0200)]
Improve debug logging.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 21:03:30 +0000 (23:03 +0200)]
Properly implement StopTransaction.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 14:36:00 +0000 (16:36 +0200)]
Handle reboot OCPP params option.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 14:20:24 +0000 (16:20 +0200)]
Handle OCPP parameter change to the heartbeat.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 13:58:00 +0000 (15:58 +0200)]
Improve changeConfiguration.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 13:39:14 +0000 (15:39 +0200)]
Fully implement getConfiguration
And fix random integer generator bugs.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 10:19:58 +0000 (12:19 +0200)]
Add and use array helper.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 06:50:32 +0000 (08:50 +0200)]
Method renaming.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 06:43:32 +0000 (08:43 +0200)]
Allow to specify a serial number prefix.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 00:45:27 +0000 (02:45 +0200)]
Update submodule.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 00:41:07 +0000 (02:41 +0200)]
Refine date format in logs.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Oct 2020 00:25:09 +0000 (02:25 +0200)]
Fix heartbeat initialization
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Oct 2020 23:31:29 +0000 (01:31 +0200)]
Fix configuration files.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Oct 2020 23:19:55 +0000 (01:19 +0200)]
Cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Oct 2020 22:46:53 +0000 (00:46 +0200)]
Make getConfiguration response smarter.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Oct 2020 20:47:04 +0000 (22:47 +0200)]
Various initialization fixes.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Oct 2020 16:48:36 +0000 (18:48 +0200)]
Improve logging.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Oct 2020 14:47:53 +0000 (16:47 +0200)]
Make the station worker self contained.
And various other cleanups.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Oct 2020 22:47:12 +0000 (00:47 +0200)]
Remove a linter error.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Oct 2020 22:23:10 +0000 (00:23 +0200)]
Fix type comparisons
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 15 Oct 2020 22:48:24 +0000 (00:48 +0200)]
Add runtime persitence on OCPP parameters.
And more type convertion fixes.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 15 Oct 2020 16:39:20 +0000 (18:39 +0200)]
Fix remote transaction start.
Type comparison issue, should be migrated to typescript.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Oct 2020 08:42:58 +0000 (10:42 +0200)]
Deps update.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 8 Oct 2020 09:09:14 +0000 (11:09 +0200)]
Use absolute path from the current directory for configuration file.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 7 Oct 2020 20:08:07 +0000 (22:08 +0200)]
Use singleton design pattern for configuration file.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 7 Oct 2020 12:20:36 +0000 (14:20 +0200)]
Deps update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Sep 2020 19:42:11 +0000 (21:42 +0200)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 26 Aug 2020 18:22:23 +0000 (20:22 +0200)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 25 Aug 2020 14:35:31 +0000 (16:35 +0200)]
Apply security updates to dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Jul 2020 19:42:14 +0000 (21:42 +0200)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Jul 2020 16:20:26 +0000 (18:20 +0200)]
Dedupe dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Jul 2020 16:19:12 +0000 (18:19 +0200)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Jul 2020 18:53:11 +0000 (20:53 +0200)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Jul 2020 18:46:10 +0000 (20:46 +0200)]
Update dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
FABIANO Serge [Fri, 17 Jul 2020 13:39:04 +0000 (15:39 +0200)]
Merge pull request #4 from LucasBrazi06/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
dependabot[bot] [Fri, 17 Jul 2020 13:13:52 +0000 (13:13 +0000)]
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Fri, 17 Jul 2020 13:12:34 +0000 (15:12 +0200)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 3 Jul 2020 14:14:31 +0000 (16:14 +0200)]
Dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Jun 2020 19:24:52 +0000 (21:24 +0200)]
Ensure OCPP error messages always follow the OCPP specs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 17 Jun 2020 22:23:30 +0000 (00:23 +0200)]
Update submodule.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 15 Jun 2020 12:14:25 +0000 (14:14 +0200)]
Apply dependencies update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 6 Jun 2020 09:43:12 +0000 (11:43 +0200)]
Dependency update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 5 Jun 2020 17:17:53 +0000 (19:17 +0200)]
Dependency update.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 30 May 2020 18:30:08 +0000 (20:30 +0200)]
Update dependencies.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>