Jérôme Benoit [Sun, 8 May 2022 21:00:55 +0000 (23:00 +0200)]
Merge pull request #232 from jerome-benoit/feature/fluctuated-metervalues-limit
Jérôme Benoit [Sun, 8 May 2022 20:49:46 +0000 (22:49 +0200)]
Add missing src/charging-station/ocpp/OCPPServiceUtils.ts file
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 8 May 2022 20:48:10 +0000 (22:48 +0200)]
Add tunable in template to disable limitation on custom metervalues
template
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 8 May 2022 05:38:31 +0000 (07:38 +0200)]
Make fluctuated metervalues around a static one respect the power
limitation
It makes fault injection in metervalues impossible for now. It can be
reintroduced later via a boolean tunable.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 7 May 2022 21:58:02 +0000 (23:58 +0200)]
Factor out power limitation calculation in metervalues
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 7 May 2022 18:41:39 +0000 (20:41 +0200)]
Refine JSDoc
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 7 May 2022 13:06:05 +0000 (15:06 +0200)]
Rename a method to avoid confusion
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 7 May 2022 12:40:28 +0000 (14:40 +0200)]
Improve charging profiles power limitation debugging
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 7 May 2022 11:09:39 +0000 (13:09 +0200)]
Merge pull request #230 from OliveGerste/Extend-charging-profile-support
Jérôme Benoit [Fri, 6 May 2022 19:57:26 +0000 (21:57 +0200)]
Merge branch 'master' into Extend-charging-profile-support
Jérôme Benoit [Fri, 6 May 2022 19:56:24 +0000 (21:56 +0200)]
Use the fixed JsonType definition where appropriate
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
OliveGerste [Fri, 6 May 2022 10:52:08 +0000 (12:52 +0200)]
Extended charging profile support
Jérôme Benoit [Fri, 6 May 2022 09:13:17 +0000 (11:13 +0200)]
Remove uneeded type usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 6 May 2022 06:53:56 +0000 (08:53 +0200)]
Fix Json type definition naming
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 5 May 2022 21:15:33 +0000 (23:15 +0200)]
Refine JsonType definition
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 4 May 2022 22:25:53 +0000 (00:25 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 2 May 2022 10:49:38 +0000 (12:49 +0200)]
Use ternary operator in helpers methods
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 1 May 2022 05:29:50 +0000 (07:29 +0200)]
Improve OCPP incoming requests handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 29 Apr 2022 10:31:26 +0000 (12:31 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 27 Apr 2022 21:45:13 +0000 (23:45 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 27 Apr 2022 21:11:43 +0000 (23:11 +0200)]
Rename result to response
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 27 Apr 2022 20:27:42 +0000 (22:27 +0200)]
Factor out connectors initialization code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 27 Apr 2022 15:55:33 +0000 (17:55 +0200)]
Simplify logic in createStationInfoHash() CS method
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 27 Apr 2022 15:48:30 +0000 (17:48 +0200)]
Fix truncated boot notification payload
Reference #215
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Apr 2022 21:46:24 +0000 (23:46 +0200)]
Ensure heartbeat interval configuration are initialized by default
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Apr 2022 16:27:04 +0000 (18:27 +0200)]
Merge branch 'master' of github.com:jerome-benoit/charging-stations-simulator
Jérôme Benoit [Mon, 25 Apr 2022 16:26:10 +0000 (18:26 +0200)]
Fix latest CS info content handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Apr 2022 15:53:01 +0000 (17:53 +0200)]
Merge pull request #214 from jerome-benoit/fixe_ui_websocket
UI server: fix empty list response to LIST_CHARGING_STATIONS
Jérôme Benoit [Mon, 25 Apr 2022 13:55:08 +0000 (15:55 +0200)]
Merge branch 'master' into fixe_ui_websocket
Jérôme Benoit [Mon, 25 Apr 2022 13:00:08 +0000 (15:00 +0200)]
Refine comment at CS configuration file handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Apr 2022 12:57:49 +0000 (14:57 +0200)]
Add support for CS info configuration file change detection
Taken now into account at simulated reset
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
HazbinFaulted [Mon, 25 Apr 2022 12:18:51 +0000 (14:18 +0200)]
removed unecessary code&comment
HazbinFaulted [Mon, 25 Apr 2022 12:16:07 +0000 (14:16 +0200)]
fixed empty list response to LIST_CHARGING_STATIONS
HazbinFaulted [Mon, 25 Apr 2022 12:04:46 +0000 (14:04 +0200)]
fixe
Jérôme Benoit [Sun, 24 Apr 2022 09:10:15 +0000 (11:10 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 22 Apr 2022 12:18:13 +0000 (14:18 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Apr 2022 14:14:10 +0000 (16:14 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 20 Apr 2022 15:31:25 +0000 (17:31 +0200)]
CI: use latest node.js stable version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 18 Apr 2022 19:55:07 +0000 (21:55 +0200)]
Fix docker build
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Apr 2022 19:01:18 +0000 (21:01 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Apr 2022 11:08:50 +0000 (13:08 +0200)]
Add status notification support to trigger message OCPP command
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 17 Apr 2022 20:24:01 +0000 (22:24 +0200)]
Version 1.1.58
Jérôme Benoit [Sun, 17 Apr 2022 20:21:29 +0000 (22:21 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Apr 2022 19:51:22 +0000 (21:51 +0200)]
Improve error information at OCPP incoming message handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Apr 2022 16:18:30 +0000 (18:18 +0200)]
Simplify incoming OCPP request payload parsing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 17 Apr 2022 14:28:31 +0000 (16:28 +0200)]
Fixlets to OCPP error message format, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 17 Apr 2022 14:05:41 +0000 (16:05 +0200)]
Fixlets to OCPP error message format
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Apr 2022 10:25:06 +0000 (12:25 +0200)]
Fix OCPP message type definition and usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 16 Apr 2022 09:49:52 +0000 (11:49 +0200)]
README.md: small refinement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 15 Apr 2022 17:41:21 +0000 (19:41 +0200)]
Fix Pending registration status handling at boot notification
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 15 Apr 2022 12:37:05 +0000 (14:37 +0200)]
Fixlets to log message after methods renaming
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 15 Apr 2022 12:31:18 +0000 (14:31 +0200)]
Rename a type definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 15 Apr 2022 10:44:51 +0000 (12:44 +0200)]
Properly name OCPP command handler methods
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 15 Apr 2022 10:00:52 +0000 (12:00 +0200)]
Version 1.1.57
Jérôme Benoit [Fri, 15 Apr 2022 09:45:20 +0000 (11:45 +0200)]
Merge pull request #207 from jerome-benoit/fix-response-pending
Sébastien Savalle [Fri, 15 Apr 2022 09:16:33 +0000 (11:16 +0200)]
Allow to send result message when station is in pending mode.
Jérôme Benoit [Thu, 14 Apr 2022 08:58:20 +0000 (10:58 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 21:43:42 +0000 (23:43 +0200)]
Silence a sonar security issue
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 21:30:12 +0000 (23:30 +0200)]
Factor out OCPP message type to string method
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 20:13:57 +0000 (22:13 +0200)]
Log early OCPP command payload
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 19:44:38 +0000 (21:44 +0200)]
Factor out feature profile check at OCPP command handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Apr 2022 18:45:49 +0000 (20:45 +0200)]
Add OCPP commands payload logging in the logs
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 13 Apr 2022 17:26:50 +0000 (19:26 +0200)]
Merge pull request #205 from jerome-benoit/feature/rawmessagelogs
Jérôme Benoit [Wed, 13 Apr 2022 17:24:57 +0000 (19:24 +0200)]
Merge branch 'master' into feature/rawmessagelogs
Calin Crecea [Wed, 13 Apr 2022 16:18:29 +0000 (18:18 +0200)]
log raw socket messages
Jérôme Benoit [Tue, 12 Apr 2022 16:13:18 +0000 (18:13 +0200)]
Make the UI pages HTML 4 compliant
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 12 Apr 2022 15:58:03 +0000 (17:58 +0200)]
Code cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 12 Apr 2022 15:40:03 +0000 (17:40 +0200)]
Merge pull request #203 from jdurnwald/master
Jeff Durnwald [Tue, 12 Apr 2022 15:09:14 +0000 (11:09 -0400)]
Updated after LTS upgrade
Jeff Durnwald [Tue, 12 Apr 2022 14:56:35 +0000 (10:56 -0400)]
formatted
Jeff Durnwald [Tue, 12 Apr 2022 14:45:49 +0000 (10:45 -0400)]
Merge branch 'master' of https://github.com/jdurnwald/charging-stations-simulator
Jeff Durnwald [Tue, 12 Apr 2022 14:31:24 +0000 (10:31 -0400)]
Moved ui folder
jdurnwald [Tue, 12 Apr 2022 14:08:14 +0000 (10:08 -0400)]
Merge branch 'master' into master
Jérôme Benoit [Tue, 12 Apr 2022 13:30:04 +0000 (15:30 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 9 Apr 2022 16:52:11 +0000 (18:52 +0200)]
Fix a type casting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 9 Apr 2022 16:34:08 +0000 (18:34 +0200)]
Fix a type casting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 9 Apr 2022 15:56:03 +0000 (17:56 +0200)]
Init performance observer as early as possible
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 7 Apr 2022 17:31:46 +0000 (19:31 +0200)]
Merge branch 'master' into master
Jérôme Benoit [Thu, 7 Apr 2022 10:06:59 +0000 (12:06 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 7 Apr 2022 08:35:18 +0000 (10:35 +0200)]
Merge branch 'master' into master
Jérôme Benoit [Thu, 7 Apr 2022 08:09:38 +0000 (10:09 +0200)]
Ensure the WS connection have not been forcibly closed after opening
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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>