Automate
The "Automate" feature can be used to periodically request one or more PIDs.
First of all the Protocol
in the CAN
section on the "Settings" tab has to be set to AutoPID
Configuration of "Automate" itself is done on the "Automate" tab.
Responses can be monitored:
- by monitoring the MQTT subject configured if MQTT is enabled
- pointing the Web browser to
http://<WiCAN IP adress>/autopid_data
if MQTT is NOT enabled
Vehicle Profiles
Initially the download of vehicle profiles has to be triggered by pressing the sync button next to the Vehicle Model
dropdown box. These vehicle profiles are car vendor and/or model specific and contain some popular PIDs (e.g. SoC, SoH). There is a growing list of supported vehicles.
If WiCAN cannot download vehicles profiles for any reason you man also download in manually and press the Choose File
button to select the file downloaded.
In order to use vehicle profiles Vehicle Specific
has to be set to Enable
.
If vehicles profiles are available to WiCAN the appropriate Vehicle Model
should be selected from the drop-down box. Use the reload button next to it to trigger the download of the most up-to-date vehicle profiles.
In Cycle Time(ms)
the interval is configured after which the PIDs, contained in the vehicle profile, are requested.
The results are posted to the MQTT topic specified in Destination Topic
if MQTT is enabled.
Custom PIDs
If there is no vehicle profile for your car, or it does not contain the PIDs you would like to use, the "Custom PIDs" feature should be used. Basically the same parameters as contained in the vehicle profiles can be entered:
- Custom Initialisation: will be sent by WiCAN prior requesting particular PIDs
- Name: the attribute name containing the result of the PID request
- Init: will be sent by WiCAN prior requesting this particular PID
- Expression: is used to calculate the attribute value from the bytes returned for this PID
- Period: the interval after which this PID is requested again
- Type: currently only
MQTT_Topic
can be selected - Send_to: the MQTT topic the result should be sent to
In order to add more PIDs the New
button can be used.
The Delete
button deletes the configuration of the corresponding PID
In order to use Custom PIDs Vehicle Specific
has to be set to Disable
.
At the moment Custom PIDs are only supported over MQTT. Therefore MQTT has to be enabled.