Jeff Durnwald [Tue, 12 Apr 2022 14:31:24 +0000 (10:31 -0400)]
Moved ui folder
Jeff Durnwald [Wed, 6 Apr 2022 12:39:31 +0000 (08:39 -0400)]
Added start/stop capabilities through http
Jérôme Benoit [Fri, 1 Apr 2022 21:24:22 +0000 (23:24 +0200)]
README.md: spell fix
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 30 Mar 2022 17:47:57 +0000 (19:47 +0200)]
Add support for random meter serial number
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 30 Mar 2022 09:05:06 +0000 (11:05 +0200)]
README.md: Fix CS configuraton file path
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 30 Mar 2022 08:52:01 +0000 (10:52 +0200)]
Use camel case for feature profiles
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 29 Mar 2022 08:54:20 +0000 (10:54 +0200)]
Enforce SupportedFeatureProfiles check on some OCPP commands
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 28 Mar 2022 20:59:29 +0000 (22:59 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Mar 2022 20:33:29 +0000 (22:33 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Mar 2022 18:47:01 +0000 (20:47 +0200)]
Strong type OCPP message sending
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 27 Mar 2022 10:41:45 +0000 (12:41 +0200)]
Get rid of useless intermediate variable
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 25 Mar 2022 11:34:24 +0000 (12:34 +0100)]
Ensure comparison is not done on null or undefined
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 25 Mar 2022 11:27:47 +0000 (12:27 +0100)]
Only compute amperage limitation when needed
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 25 Mar 2022 10:40:57 +0000 (11:40 +0100)]
Charging profiles: ensure the latest schedule period limit is taken into
account
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 25 Mar 2022 08:30:22 +0000 (09:30 +0100)]
Refine GitHub issue templates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 24 Mar 2022 10:03:52 +0000 (11:03 +0100)]
Charging profiles: Fix timestamp value unit handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 23 Mar 2022 23:06:12 +0000 (00:06 +0100)]
Refine charging profile limitation error log message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 23 Mar 2022 22:45:58 +0000 (23:45 +0100)]
Add charging profiles limit support to generated MeterValues
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 23 Mar 2022 09:56:44 +0000 (10:56 +0100)]
Initial implementation to get the charging profiles limit
Not used yet
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 18 Mar 2022 18:57:34 +0000 (19:57 +0100)]
Move template hash attribute to stationInfo
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 18 Mar 2022 15:38:16 +0000 (16:38 +0100)]
Small variable namespace cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 18 Mar 2022 15:31:46 +0000 (16:31 +0100)]
Fix maximum power available for AC charging stations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 18 Mar 2022 15:17:11 +0000 (16:17 +0100)]
Fix maximun charging station amperage calculation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 18 Mar 2022 15:01:11 +0000 (16:01 +0100)]
Add amperage limitation support via vendor specific OCPP key
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 17 Mar 2022 18:50:04 +0000 (19:50 +0100)]
Version 1.1.56
Jérôme Benoit [Thu, 17 Mar 2022 18:47:00 +0000 (19:47 +0100)]
README.md: section name refinement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 17 Mar 2022 15:23:59 +0000 (16:23 +0100)]
README.md: Spell fixes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 17 Mar 2022 14:25:00 +0000 (15:25 +0100)]
README.md: semantic refinement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 17 Mar 2022 13:59:58 +0000 (14:59 +0100)]
README.md: Fix text formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 17 Mar 2022 12:29:50 +0000 (13:29 +0100)]
README.md: Enchance configuration files documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 16 Mar 2022 23:33:31 +0000 (00:33 +0100)]
Add vendor OCPP parameters in templates to limit amperage per phase
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 15 Mar 2022 18:35:55 +0000 (19:35 +0100)]
Bind to this more OCPP request sending methods
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 15 Mar 2022 14:56:52 +0000 (15:56 +0100)]
Measure performance of template or configuration file operations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 15 Mar 2022 12:43:26 +0000 (13:43 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 15 Mar 2022 06:14:19 +0000 (07:14 +0100)]
Version 1.1.55
Jérôme Benoit [Tue, 15 Mar 2022 06:01:22 +0000 (07:01 +0100)]
Add random serial number support with persistency accross hashId CS
configuration file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 14 Mar 2022 20:04:14 +0000 (21:04 +0100)]
Fixlet to a returned type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 14 Mar 2022 19:47:23 +0000 (20:47 +0100)]
Code cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 14 Mar 2022 19:30:47 +0000 (20:30 +0100)]
Add stationInfo to persistent configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 14 Mar 2022 10:23:21 +0000 (11:23 +0100)]
Better handling of missing serial number prefix in template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 14 Mar 2022 09:03:31 +0000 (10:03 +0100)]
Simplify default settings at configuration key adding
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Mar 2022 22:09:55 +0000 (23:09 +0100)]
Fixlet to configuration tunable deprecation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Mar 2022 21:46:53 +0000 (22:46 +0100)]
Use right station info attributes for serial number
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Mar 2022 21:08:46 +0000 (22:08 +0100)]
Add chargePointSerialNumberPrefix support to CS template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Mar 2022 19:31:26 +0000 (20:31 +0100)]
Ensure configuration key have default settings values
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Mar 2022 18:31:03 +0000 (19:31 +0100)]
Ensure the boot notification response is updated at boot notification
message trigger
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Mar 2022 13:29:29 +0000 (14:29 +0100)]
Strong type sendMessageHandler response with generics
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Mar 2022 11:07:25 +0000 (12:07 +0100)]
Fix code logic at building boot notification request
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 13 Mar 2022 11:01:25 +0000 (12:01 +0100)]
Introduce a CS instance hashId dependent on its specifications and use it in
various places such as OCPP parameters persistence
Reference #196
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Mar 2022 20:35:19 +0000 (21:35 +0100)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Mar 2022 20:00:22 +0000 (21:00 +0100)]
Code cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Mar 2022 12:19:16 +0000 (13:19 +0100)]
watchJsonFile: ensure the argument is defined before assigning it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Mar 2022 11:32:56 +0000 (12:32 +0100)]
Delete supervision url configuration key if the feature is disabled from
persistent storage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Mar 2022 10:47:54 +0000 (11:47 +0100)]
Refine documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Mar 2022 10:40:16 +0000 (11:40 +0100)]
Add CS template tunable to enable persistent OCPP configuration
Reference: #196
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Mar 2022 09:44:31 +0000 (10:44 +0100)]
Add getter for supervisionUrlOcppKey value
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Mar 2022 09:17:27 +0000 (10:17 +0100)]
.eslintrc: file formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 12 Mar 2022 09:15:55 +0000 (10:15 +0100)]
Add OCPP params file monitoring
Reference: #196
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Mar 2022 17:55:04 +0000 (18:55 +0100)]
Add persistent OCPP parameters key/value support by CS generated name
Issue #196
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Mar 2022 14:42:42 +0000 (15:42 +0100)]
Version 1.1.54
Jérôme Benoit [Wed, 9 Mar 2022 22:56:07 +0000 (23:56 +0100)]
Really fix docker image build
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 22:38:12 +0000 (23:38 +0100)]
Fix docker image build
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 22:06:39 +0000 (23:06 +0100)]
Ensure connector status is defined before getting its attributes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 22:00:21 +0000 (23:00 +0100)]
Allow undefined in linter configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 21:54:07 +0000 (22:54 +0100)]
Disable husky installation on CF and CI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 20:38:05 +0000 (21:38 +0100)]
Add helper to get connector id for a transaction id
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 15:50:52 +0000 (16:50 +0100)]
Version 1.1.53
Jérôme Benoit [Wed, 9 Mar 2022 15:48:17 +0000 (16:48 +0100)]
Fix metervalues payload format
Close #198
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 10:05:45 +0000 (11:05 +0100)]
Revert issue template refinement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 10:04:19 +0000 (11:04 +0100)]
Refine issue template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 10:02:13 +0000 (11:02 +0100)]
Add the missing issue template key in the right section
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 09:52:17 +0000 (10:52 +0100)]
Add missing key in issue template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Mar 2022 09:30:48 +0000 (10:30 +0100)]
Fix issue template reformating
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 20:01:46 +0000 (21:01 +0100)]
Add missing payload attributes to boot notification
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 19:37:19 +0000 (20:37 +0100)]
Replace deprecated string helper usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 18:01:55 +0000 (19:01 +0100)]
Version 1.1.52
Jérôme Benoit [Tue, 8 Mar 2022 17:50:52 +0000 (18:50 +0100)]
Fix deprecated configuration key detection in a section
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 15:47:30 +0000 (16:47 +0100)]
Do not throw inside a promise
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 11:47:08 +0000 (12:47 +0100)]
Imports cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 11:42:48 +0000 (12:42 +0100)]
Imports cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 11:37:53 +0000 (12:37 +0100)]
Convert sendDiagnosticsStatusNotification to OCPP message sending handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 11:32:22 +0000 (12:32 +0100)]
Convert sendTransactionEndMeterValues to OCPP message sending handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 10:52:55 +0000 (11:52 +0100)]
Convert sendTransactionBeginMeterValues to OCPP message sending handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 10:46:02 +0000 (11:46 +0100)]
Convert sendMeterValues to OCPP message sending handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Mar 2022 09:32:15 +0000 (10:32 +0100)]
Convert sendStopTransaction to OCPP message sending handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Mar 2022 22:45:34 +0000 (23:45 +0100)]
Convert sendStartTransaction to OCPP message sending handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Mar 2022 22:26:23 +0000 (23:26 +0100)]
Convert sendAuthorize to OCPP message sending handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Mar 2022 21:58:20 +0000 (22:58 +0100)]
Convert sendStatusNotification to OCPP message sending handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Mar 2022 21:22:30 +0000 (22:22 +0100)]
Convert sendBootNotification to OCPP message sending handler
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 7 Mar 2022 12:59:03 +0000 (13:59 +0100)]
Introduce a generic OCPP message sending handler
And start making use of it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Mar 2022 23:26:06 +0000 (00:26 +0100)]
Initial code cleanups for the future OCPP requests code optimization
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 6 Mar 2022 09:29:52 +0000 (10:29 +0100)]
Remove useless eslint-disable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Mar 2022 21:44:24 +0000 (22:44 +0100)]
Fix remaining linter errors properly
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Mar 2022 21:14:22 +0000 (22:14 +0100)]
Fix eslint configuration for mixed source with .js and .ts
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Mar 2022 19:58:53 +0000 (20:58 +0100)]
src/worker/WorkerConstants.ts: add
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Mar 2022 19:57:53 +0000 (20:57 +0100)]
Factor out worker related constants
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Mar 2022 19:31:45 +0000 (20:31 +0100)]
Refine .cfignore
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Mar 2022 17:55:31 +0000 (18:55 +0100)]
Make the linter use a cache
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Mar 2022 17:49:27 +0000 (18:49 +0100)]
Refine ignore configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Mar 2022 17:32:49 +0000 (18:32 +0100)]
README.md: refine documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>