The CWT uses the evhub.dll to communicate with the EV Hub to find the available charging points and their status.
The data needed by the DLL is configured in the Article Examples.
Note: The values in the example below may change depending on your configuration. |
<PAYUNIT name="Ext2" type="BalanceAccount" alias="EVHub" filename="evhub.dll">
<extendedproperties>
<properties name="EVHubHostName" value="streetsmart.hub.flowbird.eu"/>
<properties name="ConnectionTimeout" value="10"/>
<properties name="ReadTimeout" value="1"/>
<properties name="DoPerformanceLog" value="false"/>
<properties name="DoHttpLog" value="false"/>
<properties name="VerifyCharging" value="false"/>
<properties name="MaintenanceTime" value="03:00"/>
<properties name="MaintenanceTimeRandomOffset" value="120"/>
<properties name="MaxButtonsPerScreen" value="10"/>
<properties name="MaxTariffInfoItemsPerScreen" value="10" />
<properties name="BackButtonText" value=" "/>
<properties name="MoreButtonText" value=" "/>
<properties name="TariffType" value="ChargeByConsumption"/>
</extendedproperties>
</PAYUNIT>
EVHubHostName, EVHubHostPort, EVHubHostPathChargingPoints, and EVHubHostPathCharges
These properties have default values according to the example above.
Alternative names are: HostName, HostPort, HostPathChargingPoints, HostPathCharges
<properties name="EVHubHostName" value="streetsmart.hub.flowbird.eu"/>
<properties name="EVHubHostPort" value="443"/>
<properties name="EVHubHostPathChargingPoints" value="/chargingpoints"/>
<properties name="EVHubHostPathCharges" value="/charges"/>
ConnectionTimeout
Configured in seconds - server connection time-out.
ReadTimeout
Configured in seconds - time-out when reading socket.
DoPerformanceLog
Add performance entries to the “StreetSmartApi.log”.
Default is “false”.
DoHttpLog
Add raw http entries to “StreetSmartCommLog.txt”.
Default is “false”.
VerifyCharging
If turned on, the starting of a charge is verified. This is done via polling and can take some time ~2s.
Default is "false".
VerifyTimeout
Default is "false".
If VerifyCharging is set to true, add:
<properties name="VerifyTimeout" value="5000"/>
How long to wait for verify charging [ms].
MaintenanceTime
Time of day when maintenance is performed.
MaintenanceTimeRandomOffset
If turned on, the maintenance time will be set off up to the given number of minutes with an additional random number. This is done so that you can have the same value (read: the same cwtconfig file) in all terminals.
This will avoid that all terminals perform maintenance at the same time.
The maintenance settings are used for the validation/renewal of the Certificates |
MaxButtonPerScreen
Number of buttons used for selection.
MaxTariffInfoItemsPerScreen
Number of charging points tariff information per screen
MoreButtonText
Text to be shown in the More-button when selecting by buttons.
BackButtonText
Text to be shown in Back-button when selecting by buttons.
TariffType
"ChargeByTime",
"ChargeByConsumption",
"ParkAndChargeByTime" (Not implemented, for future use)
"ParkAndChargeByConsumption" (Not implemented, for future use)
MaxPower<NNN>TariffId
<properties name="MaxPower22000TariffId" value="20221131" />
Set <NNN> to the maximum effect.
specify the corresponding tariff ID in the value.
The specified tariff is used when the selected charging point supplies the specified maximum effect.
You can have several MaxPower<NNN>TariffId depending on the charging points available to the terminal.
If the maximum effect of the selected charging point does not match any of these parameters, the default tariff is used.