github meatpiHQ/wican-fw v6.0.0p-beta.16
WiCAN PRO 6.0.0-beta.16

pre-releaseone hour ago

Pre-release on the beta channel. Devices on that channel install it from their own page (System > Firmware update); the files below are for a manual upload.

WiCAN PRO 6.0.0-beta.16

Supported device: WiCAN PRO only. Home Assistant: v6 requires the ha-wican integration 2.0.0-beta1 or later.

Before you update

  • Units already on this partition layout (v6 (settings and storage LittleFS)) update in place.
  • Units coming from firmware 4.40.0 to 4.51.0 (factory v4.x (one 6 MB FAT storage)): the first boot restarts once more and the stored files, logs and the saved configuration are reset.
  • Coming from 6.0.0-beta.1 to beta.9: do not let the car wake WiCAN for this update. Those versions can destroy the OBD chip at the moment WiCAN wakes from sleep (fixed from beta.10 on; the risk is highest with the Audi Q4 e-tron, Skoda Enyaq and Elroq, VW ID and Porsche Taycan profiles). WiCAN has to be awake to be updated, so have it awake another way. Either update right after a drive, while it is still awake. Or, if it is asleep, leave the car off, unplug WiCAN, wait ten seconds, plug it back in and start the update at once. We ran both ways three times each on the bench with the chip in the state in which a wake on those versions destroys it, and the chip came through every time. If the OBD chip card says "chip not up" right after the update, the chip was damaged before it: the update does not do that, and no firmware can bring such a chip back.
  • A device that ran 6.0.0-beta.5 has its OBD chip on firmware V2.3.22. After the update, Quick Setup's vehicle step (or System > Maintenance) asks you to unplug WiCAN, wait one minute and plug it back in, and then offers to write V2.3.24: let it. Until then, an app that uses the automatic OBD protocol only connects after the device has been unplugged and plugged back in, and a restart of the device breaks it again.
  • Running the Audi Q4 e-tron, Skoda Enyaq or Elroq, VW ID or Porsche Taycan profile on 6.0.0-beta.1 to beta.6: update now, or poll the standard PIDs only until you do. Those profiles made the OBD chip write its EEPROM on every poll cycle (fixed in beta.7), and on a chip written that often the reset WiCAN sent at every wake from sleep could destroy what the chip stores (issue #1023, fixed in beta.10). Update the way the first item describes.
  • Coming from a v6 alfa or beta: settings, profiles and files are kept; the standard PID rows are re-numbered at the first start. A custom PID you wrote on a v6 alfa or beta against a single-frame reply reads one byte too far: run Test a PID (B0 is the first byte after the CAN id) and move each B index up by one, or re-import the published profile.
  • A beta.1 device that parked itself (LED breathing red) updates from safe mode: hold the button until the LED turns sky blue, then yellow, join the device's own access point (its name starts with WiCAN_, password @meatpi#), open http://192.168.0.10 and upload the firmware there. Settings are kept.
  • Coming from firmware 4.x: the stored files, logs and the saved configuration are erased by the new partition layout; download a backup first (System > Maintenance > Configuration backup). The device restarts once more on its first start.
  • In case of a boot loop, perform a factory reset.

New since beta.15

  • A CAN filter can listen on MS CAN, single-wire CAN and CH CAN (issue #1078). A CAN filter (Automate > Parameters) reads a frame the car sends by itself. Until now it listened on the car's OBD bus only, so a frame on one of the other CAN buses of the OBD connector could not be read. On GM cars from about 2008 to 2016 most body, comfort and charging data is on single-wire CAN (pin 1), and Ford and Mazda cars carry body data on MS CAN (pins 3 and 11). Open a filter and choose its Bus, and a Bus speed for a car whose bus does not run at the usual one. Test listens on that bus too, and a vehicle profile can bring such filters. A filter on one of these buses sends nothing, so it keeps listening while a voltage pause holds the PIDs (unless Pause mode is Pause everything), and it stops when WiCAN goes to sleep. WiCAN listens in turns with the PIDs: a frame the car repeats is read in every cycle, a frame that is sent once per change (a lock event, for example) is mostly missed. A filter that 6.0.0-beta.15 switched off because of its bus stays off: switch it on again. The filter's bus is by overkillthemighty, tested on a 2012 Chevrolet Volt. On our bench filters on all three buses read the simulator's frame in every cycle, awake and through the voltage pause, with 11-bit and 29-bit IDs, and the listening put no frame and no error on any bus.
  • An app can get a key of its own instead of your admin password (issue #1106). With "Require a password" on, WiCAN asks every request for the admin password, and an app such as the Home Assistant integration had no way to give it. So with the password on, the integration's history catch-up, its buttons, its firmware update and the registration of its webhook all failed, while the values WiCAN pushes by itself kept arriving and nothing looked wrong. WiCAN can now hand an app a key of its own (an app token): the app asks you for the admin password once, exchanges it for a key and keeps only the key, so your password is stored nowhere but on the device. Eight apps can hold a key. A key opens what the password opens, except that it cannot make further keys. Changing the admin password signs every app out, and an app can give its own key back. The apps that hold a key are listed on the web page under All Settings > Web server, each with a Revoke button. The Home Assistant integration needs an update to use this (it then asks for the password once); until then the way around is the one from before, the admin password off. For developers: POST /api/auth/token, GET /api/auth/tokens and DELETE /api/auth/token. The idea of a separate key for apps is by overkillthemighty.
  • Windows J2534 driver 1.11.0: J2534 over Bluetooth, and a program that sets it up. The installer in drivers/j2534 is updated (wican_j2534_setup_1.11.0.exe, SHA-256 75ee001cf8017dd8b031e5b5062d60fdc7f3d808845539f5166f2c012f54f5f8). A J2534 tool on a Windows PC can now reach WiCAN over Bluetooth LE, beside WiFi and the USB cable. Choose Bluetooth LE in the installer, then open the WiCAN J2534 Configurator it puts into the Start menu and press its three buttons in order: Prepare WiCAN for Bluetooth (it says what it changes, then switches WiCAN's Bluetooth and J2534 server on), Pair device (the passkey is WiCAN's own, 123456 unless you changed it) and Save settings. Bluetooth is the slow connection. On our bench PassThruOpen took 1 to 2 seconds, a UDS request was answered 225 ms after it was written, where WiFi and USB answer in a few milliseconds, and requests of 4000 bytes passed at about 2 kB/s. That reads and clears fault codes and reads data; to reprogram an ECU use the USB cable or WiFi. Pair after the J2534 server is on: Windows remembers what WiCAN offered when it was paired, so a PC that paired earlier is told "The WiCAN does not offer J2534 over Bluetooth" until the pairing is removed and made again. When an open fails, PassThruGetLastError names the cause and what to do (Bluetooth off on the PC, WiCAN not paired, out of range, its J2534 server off, another program holding the link). The configurator needs the .NET Desktop Runtime 10 or later (64-bit; Windows offers the download when it is missing). The driver itself now also needs MSVCP140.dll of the Visual C++ x86 redistributable, on every connection (the package that brought the VCRUNTIME140.dll it needed before holds both). WiCAN needs no new firmware for this: measured with 6.0.0-beta.15 and with this version. Also in 1.11: the ERR_INVALID_MSG text no longer says extended addressing is not supported, and the installer names the two USB settings as the web page does. The Bluetooth connection and the configurator were contributed by @EliasKotlyar (wican-j2534-driver #4, #3).

Bug fixes since beta.15

  • The value range of a vehicle profile's PID was ignored: an odometer could read 16,777,215 km. Every PID of a vehicle profile carries a range (min and max), and a reading outside it is dropped. That is how a profile keeps an ECU's "no value" answer off the dashboard and out of Home Assistant. The published profiles write the range as text ("max": "1000000"). Firmware 4.x read that; version 6 read a range only when it was written as a number, so no range of a vehicle profile was applied at all. On a Mitsubishi Outlander PHEV the odometer read 16,777,215 km (the ECU's FF FF FF) about half of the time, against a range that ends at 1,000,000 km. Version 6 now reads a range written as text or as a number. Nothing has to be imported again: the ranges already stored on the device apply after the update. Standard PIDs were not affected. Note: a profile PID whose published range is narrower than what the car really reports shows no value from this version on, as on 4.x. The published profiles give the battery voltage HV_V a range of 200 to 480 V, which is too narrow for an 800 V car (Hyundai Ioniq 5 / 6, Kia EV6 and others).
  • "Detect my vehicle" failed on a car that answers on the K-line while its CAN pins carry another network. Some older vehicles answer OBD on the K-line (pin 7) or on SAE J1850, while pins 6 and 14 of the OBD socket carry a network at a speed OBD never uses (a body network at 50 kbit/s, for example). WiCAN keeps off such a network, and that is right. But Quick Setup's "Detect my vehicle" gave up there: it stopped with "The car did not answer" before it had tried the K-line, and only setting the OBD protocol by hand worked. Now the detection goes on to SAE J1850 and the K-line when the CAN pins cannot be used, and still sends nothing on those pins. On such a car WiCAN does not look by itself after a start: run the detection once, with "Detect my vehicle" in Quick Setup or "Scan PIDs" under Automate > Parameters. When WiCAN refuses to start a detection, Quick Setup says "WiCAN did not ask the car" and gives the reason, where it blamed the ignition and the plug. Found while reproducing a report of a 2008 Fiat Ducato (issue #1022).
  • A value could come from the wrong ECU when several ECUs answered one request. A PID that names no ECU of its own (no ATSH in its init) is sent to all of them, and every ECU that knows the request answers. Firmware 4.x read the answer that arrived first. Version 6 read the answer of the ECU with the lowest CAN ID instead, whichever arrived first. On a car where a second ECU with a lower ID answers the same request without holding the value (it sends FF FF FF), the PID then read that ECU's filler whenever it answered, and the right value when it did not. When the ECU with the lowest ID refused the request, the PID showed no value at all. Custom PIDs and vehicle profile PIDs now read the first ECU that answers the request, as 4.x did; an ECU that refuses is skipped. Standard PIDs are unchanged (they read the engine ECU). The published Renault Zoe and Kangoo profiles and the Jaguar I-Pace profile ask their odometer this way. Test a PID shows the answers of all ECUs in the reply, and decodes the one a poll reads.
  • A group of PIDs that was stored switched off polled anyway (issue #1058). A group in Automate can be stored switched off, to be started by a rule only while the car is on. The web page writes that as "enabled_default": false, and the firmware read only the word "enabled". So such a group polled at every start of WiCAN and again after every Apply Configuration, with the car off. On a 2024 Nissan Ariya that meant asking body modules while the car slept, which made the car store CAN trouble codes. Either word now keeps the group off until a rule (or POST /api/autopid/group) switches it on, and the end of the rule, a restart or the next Apply Configuration switch it off again. A group written with neither word starts on, as before.
  • An ELM327 app's monitor was cut after ten seconds (issue #1078). A monitor command (ATMA and the like) from an app on the ELM327 port, from the Terminal page, over Bluetooth or over USB lists every frame on the bus, and the app sends nothing while it runs. Automate takes the OBD chip back when an app has sent nothing for ten seconds, so with Automate on the list stopped ten seconds in (STOPPED) and Automate's own lines followed. A running monitor now keeps the chip for the app until the app sends its next byte, the monitor ends by itself, the app disconnects, or two minutes have passed (send the command again to go on). While it runs, can.send through the OBD chip and the Test button answer that an app is using the chip. The monitor's hold is by overkillthemighty, tested on a 2012 Chevrolet Volt; on our bench 25 s of ATMA ran with no STOPPED, and an app that closed its connection in the middle of a monitor gave the chip back in 5 s where the two minutes would have passed.
  • An app's first command was lost while Automate was polling (issue #1078). When an ELM327 app connected while Automate was asking the car, its first command landed in Automate's request: the OBD chip answered STOPPED and did not run it. For most apps that first command is the reset (ATZ), so the app went on with what Automate's last request had set on the chip: which ECU is addressed and which answers are let through. With a vehicle profile that sets these, the app's first OBD request was answered by another ECU or not at all, and a monitor showed one CAN id. On the bench, with a profile polled without a pause, 25 of 25 first commands were lost. The app's command now waits until Automate's request has ended (a second at most), and Automate keeps off the chip from then on as before. A reset that reaches the chip cleans it, so an app or a terminal user who wants the chip as a fresh ELM327 sends ATZ or ATD first.
  • An app that stayed connected received Automate's traffic (issue #1078). An app that kept its connection open and sent nothing for ten seconds got the answers to Automate's own requests on its connection (7,151 bytes in 18 s on the bench), and so did the Terminal page. What the chip answers to the firmware's own requests is no longer sent to apps.
  • The uds console command cut a long answer at 84 bytes. On the device's command line (serial port, /ws/cli, Bluetooth) a uds request (uds -t 7E0 -r 7E8 22F190, for example) printed the first 84 bytes of an ECU's answer and nothing of the rest, with a stray ] where the line's [transport, ms] should be. The command now prints the whole answer on one line, up to the largest UDS message of 4095 bytes. The UDS Tool page and POST /api/uds/request were not affected by this one.
  • A script got only the first 128 bytes of an ECU's answer. uds(), uds_ext(), obd_request() and obd_isotp_rx() returned the first 128 bytes of an answer as hex and dropped the rest without a message, and returned nil for an answer of more than 512 bytes. They now return the whole answer, up to 4095 bytes. What a script prints is still limited to 4096 characters per run.
  • A console command lost every word after the eleventh. The command line kept the first 11 words of a line and dropped the rest without a message. For uds that meant a request typed as separate bytes lost everything after its 6th byte, and a different request went to the ECU than the one typed (uds -t 7E0 -r 7E8 23 14 00 00 00 00 C8 was sent without the C8). Every word of a line now reaches its command. A uds request may be 64 bytes, typed in any of the usual forms (22F190, 22 F1 90, 0x22 0xF1 0x90, 22:F1:90); a longer one is refused and nothing is sent, where a long request typed as one word used to go out cut to 64 bytes.
  • A long UDS answer timed out on the CAN bus path. With the CAN bus enabled, the UDS Tool, POST /api/uds/request, scripts and the console talk to the ECU through WiCAN's own CAN controller. The first response time (P2, 250 ms by default) was applied to the whole answer instead of to its start, so an answer of about 900 bytes or more was still arriving when the time ran out and the request ended in ESP_ERR_TIMEOUT. WiCAN now keeps waiting while frames of the answer keep coming. On the bench 1024 bytes arrive in 0.3 s and 4095 bytes in 1.2 s; an ECU that does not answer still costs 250 ms.
  • Over the OBD chip, a UDS answer of more than one frame did not come back. UDS goes through the OBD chip when the CAN bus is switched off or WiCAN's own controller may not transmit. Three faults stood there. With a vehicle profile whose rows set their own flow control (ATFCSH, ATFCSD, ATFCSM1), the chip kept sending its flow control to that row's ECU, so the ECU that was asked sent its first frame and nothing more: reading a VIN or a list of trouble codes ended in ESP_ERR_INVALID_SIZE or ESP_ERR_INVALID_RESPONSE (0 of 20 on the bench). Without such a profile it depended on how fast the ECU sends: WiCAN asked a second time while the ECU was still sending the rest of its first answer, and that second answer was cut as well (3 of 4 reads against our simulator). And an answer of more than about 2,300 bytes did not fit the buffer. All three are fixed: 20 of 20 on the bench behind such a row, and answers up to 4095 bytes.
  • The SD card log held 256 parameter names; every parameter beyond them was missing, with no sign of it (issue #1107). The logger keeps a table of the names it writes, and that table had 256 places. With more parameters than that (an AutoPID config of 351 on a 2024 Nissan Ariya), each parameter beyond the 256th was polled, shown on the page and sent to Home Assistant, and never written to the SD card, while the Logger page and /api/logger showed 0 dropped and 0 errors and the device log said nothing. The names of parameters that had since been renamed or removed kept their places through new uploads, restarts and new log files; only a power cut gave them back. The table now holds 2304 names, more than the 2048 parameters Automate itself takes. A restart frees the names that are no longer written. And a name that finds no place is no longer silent: /api/logger has names (used, cap, refused), the device log gets one line with the first such name, and a full table sets the fault logger_names_full (a restart frees the table; the fault stays on the System page until it is cleared). Nothing has to be changed on the device. On our bench the firmware before this change logged 225 of 400 new names; this one logs all 400, and filled to 2304 names it refused exactly the names beyond them and counted each.

New since beta.14

  • Store and forward records the battery voltage too. With Store and forward on (Automate > Home Assistant), WiCAN writes the battery voltage it measures to the SD card every 10 seconds, next to the car's values. Until now the log held the car's values only, so the Battery Voltage sensor in Home Assistant stayed flat across a drive and through the time the car was parked before WiCAN went to sleep. Home Assistant fills the sensor from the log with the ha-wican integration from 2.0.0-beta2 on; earlier versions of the integration ignore the new rows. In a log downloaded from the SD card the rows are named device.batt_voltage.
  • The Home Assistant card says why a push failed. When WiCAN could not deliver to Home Assistant, the card (Automate > Home Assistant) showed "Status: failed" and nothing else, whatever the cause, and the reason had to be dug out of the device log. It now adds one line in plain words: the name in the address was not found, nothing answers at this address, the server closed the connection during the secure handshake, the server's certificate is not trusted, this port does not speak https, Home Assistant answered 400, and so on. The info button beside the line says what to check and gives a code to quote in a support request. With two addresses (the local one and the one for the road) each address that failed gets its own line. For a script, the same is on GET /api/webhook as failures.

Bug fixes since beta.14

  • The Home Assistant card's notes for a device that Home Assistant rejected or removed are red, as they were meant to be; they were drawn in the plain text colour.
  • A restart could put the name of another value on a logged value, or write an old row again. The values WiCAN has measured but not yet written to the SD card wait in memory, and that memory is kept over a restart so that nothing is lost. The newest waiting value could come back from a restart only in part: its time and its number were right, the name was that of an older value (seen as EngineRPM 95 where 95 was the oil temperature). After a crash a waiting place could also come back with the row it held minutes before, which was then written a second time. On the test bench this happened in 2 of 24 restarts and in 15 of 25 crashes. In Home Assistant such a row gave one sensor a wrong minimum, maximum or average for that hour. WiCAN now writes the waiting values to that memory before a restart, and checks every one of them at the next start: a value that did not arrive whole is dropped. GET /api/logger counts the dropped ones as salvage_dropped.
  • The log export took only a raw page marker and a raw name (GET /api/logger/export). A program reads the log page by page and sends back the marker of the last page (such as since=1795392000:4096). Written the way a browser or a script library writes it (%3A for the colon), the marker was read as a plain time and WiCAN answered the first page again, for ever. In the same way the dashboard's history graph found no rows for a parameter with a space in its name. Both are read as sent now. The Home Assistant integration sends the marker raw and was not affected. The GPS track (GET /api/logger/gpx) read its marker in the same raw way and gave the start of the track again; it is fixed with it (issue #1079). And a since that is neither a time nor a marker (since=abc, since=12x) is now answered with error 400 and the two forms a since may have, on both routes. Until now WiCAN read such a value as far as it made sense, and for one that made no sense at all it sent the whole log from its oldest file.
  • The Terminal page froze the browser tab while a monitor ran on a busy bus (issue #1085). ATMA in the ELM327 terminal on a bus with a few thousand frames a second stopped the tab within seconds: the output could be neither read nor stopped from the page, and closing the tab was the only way out (the device itself was fine). The page drew every piece it received on its own and kept everything it ever received. It now draws once per screen refresh and keeps the last 200,000 characters, behind a line that says earlier output was dropped. In our test in Chrome with 2,800 lines a second the old page took more than 15 seconds to answer; the new one answers in a few hundredths of a second, and a typed command goes out at once.
  • can.send cut the answer short (issue #1081). A frame sent through the OBD chip comes back with what the chip heard in reply. That text was cut after 47 characters, so of a request that several ECUs answer (or one ECU answers in several frames) only the first answer and a piece of the second came back; the rest was in the transcript only. reply now carries the whole answer, and a new replies lists it one answer per entry.
  • can.send sent a request it had not fully understood (issue #1082). A key the request does not know was ignored: "repeat": 3, a gap_ms written beside frames when it belongs inside each frame, an at_ms in a frame. The answer was ok and the frames went out as if the key were not there, onto a car's bus. Such a request is now refused (400) with the keys that are allowed there, and nothing is sent. A data that is refused says which rule it broke (half a byte, a character that is no hex digit, more than 8 bytes). The Rules page and the script function can_send() only send keys WiCAN knows and behave as before; a request or a rule written by hand with an extra key now gets the error.
  • A CAN filter with a bus of its own was accepted and never showed a value (issue #1078). A filter listens on the car's own bus. One written with another bus ("bus": "sw" for a frame on single-wire CAN, possible only in a configuration written by hand or sent through the API) was saved without a word, listened on the car's own bus where that frame never appears, and stayed empty. Saving such a filter is now refused with the reason while the filter is switched on; switched off it may stay. A configuration saved earlier with such a filter is not thrown away: at the first start WiCAN switches that one filter off, says so in its log, and everything else keeps working. Filters on single-wire, MS and CH CAN came with beta.16 (above).
  • A custom PID sent with CAN formatting off never showed a value (issue #1077). Some requests have to be sent as a raw frame: the PID's init switches the OBD chip's CAN formatting off (ATCAF0) and the command is the whole data field, the length byte first (02010C), or a GM packet read (03AA0107, for example the odometer of the instrument cluster on single-wire CAN). Test showed the right value for such a PID, but polling threw every answer away, so the value stayed empty. WiCAN checks that an answer belongs to the request it sent, and it read the length byte as the request. It now compares the request behind the length byte, and a GM packet read, whose answer carries nothing to compare, is taken from the PID's own receive filter. A PID with formatting on (ATCAF1 in its init) that is asked right after a raw one is read as before.
  • Apply Configuration answered "Rejected: filter 0: frame_id required" on a tab with nothing wrong on it. One click on Add CAN filter (Automate > Parameters, on Custom PIDs or Vehicle Specific) adds a row that has no CAN ID yet. Apply Configuration sends the tables of all tabs together, so with such a row left behind every Apply was refused with that line, on Standard PIDs too, where no CAN filter is shown and nothing pointed to the row. Loading the page again dropped the unfinished row, which is why a second try went through. The page now looks before it sends: it opens the tab that holds the filter, opens its row, puts the cursor in its CAN ID field and says "Not sent: the CAN filter NewFilter has no CAN ID. Enter the ID of the frame it reads, or remove the filter, then Apply Configuration again." Nothing is sent and nothing is lost: the other edits stay on the page until Apply goes through.

New since beta.12

  • The OBD chip's firmware update asks for a fresh start first (issue #1075). When the chip inside WiCAN needs a newer firmware (V2.3.24 in place of V2.3.22), the page no longer offers the update right away. It shows three steps instead: unplug WiCAN from the car, wait one minute, plug it back in. The update is offered when the page opens after that. The chip is then fresh from power-on with nothing in progress on it, which is the calmest moment to write it. WiCAN checks this itself, so an older copy of the page in the browser cannot start the update at another time. While the update runs (about 20 seconds) WiCAN keeps everything else away from the chip: AutoPID pauses and continues by itself afterwards, apps and the test tools get no access, and the chip is restarted cleanly before and after the write. For a script or the console, POST /api/obd_chip/update answers 409 with "power_cycle": true in any other start, and "any_start": true (obd_chip update --any-start) lifts the rule.
  • J2534: ISO 15765 extended addressing, for an ECU behind a gateway (ISO15765_ADDR_TYPE). Some cars answer diagnostics for several ECUs on one pair of CAN ids and tell them apart by one more byte in front of every frame, ISO 15765-2's extended addressing. The case this came from is Toyota and Lexus from 2019 on, where a gateway answers on 0x758 for the ECUs behind it. WiCAN refused a message with that flag (ERR_INVALID_MSG), so Techstream and other J2534 tools could not reach an engine ECU behind such a gateway. It now sends and receives these messages, in one frame or in many, with the flow control the tool sets, and for several ECUs behind the same two ids at once. A tool sets it up the standard way: a flow control filter with ISO15765_ADDR_TYPE whose pattern and flow control message carry five bytes, the id and the address byte of that direction; messages are the id, the address byte, then the data. The Windows driver needs no update (1.10.0 passes the flag through). Tested on the bench against a gateway played by a CAN adapter, with every frame read off the bus (4095 bytes each way, two ECUs answering at the same time), and by the contributor with Techstream on an engine ECU on a bench; not yet run on a car behind a real gateway.
  • J2534: one ISO 15765 channel serves ten ECUs. A tool that opens an engine ECU sets a flow control filter for each of the response ids 7E8 to 7EF on one channel. The fifth was refused (ERR_EXCEEDED_LIMIT) and the tool stopped there. A channel now holds ten ECUs, the device twelve over all channels.
  • The web page says what J2534 over the USB cable needs. A J2534 tool can reach WiCAN over the USB cable as a COM port, but only after two settings on the USB page: "Connector role" set to Device and "USB device class" set to CDC serial. As shipped the connector is in the Host role (for a modem or a GPS receiver), and a PC then shows only the board's two console ports, which do not answer J2534. Nothing on the J2534 page said so. It now has a small info button in its header that names the two settings, the role's choice and help no longer speak of a network adapter alone, and the device class has a help text.
  • Send a raw frame on any bus of the OBD connector (can.send, issue #1072). Some things a car does only when it is told with a frame that is no diagnostic request: a wake-up and a remote start on a GM car's single-wire bus (where the request came from), a command to a body module on MS CAN. Until now the only way to put such a frame on single-wire, MS or CH CAN was the route behind the Test button, which is a test tool. There is now a supported way, in three forms: POST /api/can/send for Home Assistant or a program on a PC, the action "Send a CAN frame" on the Rules page, and can_send() in a script. You name the bus (obd for the car's own OBD bus, ms, sw or ch for MS, single-wire and CH CAN, can for WiCAN's own CAN controller), the id (11 or 29 bit) and the data. A request can carry up to eight frames with the time between them, so a sequence keeps its timing. On single-wire CAN a frame can be sent as a high-voltage wake-up (wake), which is what wakes a sleeping GM car. On a car older than CAN (SAE J1850, ISO 9141-2, ISO 14230) obd sends the message's three header bytes and its data on that protocol. Nothing of it is written to the OBD chip's memory, the answer says for every frame whether somebody on the bus acknowledged it, and the polling goes on behind it. A send through the OBD chip takes about half a second and waits while an app (a terminal, an ELM327 app) has the chip. Tested on the bench on every bus against a simulator that records each frame it reads, the wake-up against a sleeping single-wire transceiver, and on simulated J1850 VPW and ISO 9141-2 cars; not yet run on a car by us.

Bug fixes since beta.12

  • A power cut in the first minutes after a firmware update brought the old firmware back (issue #1075). On a WiCAN whose bootloader can fall back (units flashed over USB with version 6, and new units), a new firmware counted as unconfirmed for its first ten minutes, or until the first sleep or restart. Unplugging WiCAN in that time started the previous firmware again. After an update from beta.5 or older that is the worst outcome, because those versions rewrite the OBD chip's firmware at their first start and reset the chip in a way that could damage it. A new firmware is now confirmed at its first start, before WiCAN says a word to the OBD chip. A firmware that cannot start at all still falls back, and an update from the release list that crashes three times in a row is still rolled back.
  • WiCAN could go to sleep in the middle of a firmware upload. With the car off, the sleep countdown kept running while a firmware file was being uploaded. When it ran out, WiCAN went to sleep, the upload was lost, and WiCAN woke later on the old firmware. WiCAN now stays awake while a firmware image is being received, from an upload or from the release list, until it has restarted into it. The countdown bar says "Kept awake while the firmware is updated".
  • The OBD chip update sometimes did not start while AutoPID was polling. With a vehicle profile polled at a short period, the update could not get hold of the chip and the page said "the update did not start". Nothing was written and the chip was fine, but the update had to be tried again. AutoPID now steps aside as soon as the update is asked for.
  • The CAN self-test could report a hardware fault on a healthy WiCAN while AutoPID was polling. The self-test (System > Maintenance) lets the OBD chip ask for engine speed and WiCAN's own CAN controller answer it. With AutoPID polling a vehicle profile, the chip could still carry the receive filter of the row polled last, and it then ignored the answer to the test's request. The test said "the ESP32 answered but the chip never printed it: the ESP32's transmit path or its standby pin", or it was refused with "the OBD chip could not be claimed". On our bench that happened in 12 of 24 runs. The test now pauses AutoPID for its two seconds, puts the chip back to its defaults before it asks, and AutoPID carries on by itself afterwards. When AutoPID is polling, the page tells you so before the test starts.
  • A restart could interrupt the OBD chip's firmware update. A restart asked for while the chip was being written (the Reboot button in another tab, a settings change that restarts) went ahead in the middle of the write, and the next start had to finish it. The Reboot button now answers "not now: the OBD chip's firmware is being updated", and a restart that WiCAN plans itself waits until the chip is up again.
  • Reading the chip while AutoPID polled a large table failed now and then. "Read the chip configuration" on the OBD chip card could answer "Could not read the chip", and the console's obd_chip printed no version, because AutoPID left no pause in which another reader could get the chip. AutoPID now steps back for a moment whenever something else is waiting for the chip.
  • The OBD chip card said "last update: ESP_ERR_TIMEOUT" for a chip that did not answer (issue #1075). That read as a failed chip update. Nothing had been written: WiCAN asks the chip for its version at every start, and a chip that is not up gives no answer. The card now says "not checked: the chip did not answer".
  • J2534: messages written together lost their transmit confirmations. When a tool wrote more than three ISO 15765 messages in one PassThruWriteMsgs, only the last three got their TxDone indication, and with driver 1.10.0 the next read came back ERR_BUFFER_OVERFLOW, which Toyota's Calibration Update Wizard takes as fatal at its login to the ECU. Every message of a write gets its confirmation now.
  • J2534: an ECU's short reply was read after the start of the long reply that followed it. When an ECU acknowledged a request with one frame and at once began a longer answer on the same id, the tool read the START_OF_MESSAGE indication of the second message before the first message. They are read in the order they were on the bus.

Earlier betas

New features in v6

  • New UI design, Quick Setup, improved AutoPID, CAN logger (raw CAN, SQLite, binary, JSON), Dashboard and CAN monitor
  • Tailscale VPN; VPN split tunnel (up to 8 routes, .conf import, replaces the Allowed IP and Mask fields, #975); Pause VPN per WiFi network (#976)
  • USB devices: ESPNetLink, GPS, USB to Ethernet adapter. ESPNetLink made easy: USB data mode (RNDIS) by default, the header shows the dongle and its LTE/GPS state, a dedicated page, SIM PIN entry, a hint when the GPS gets no fix, a Quick Setup path with no home WiFi; a console-only dongle is detected, and the USB port power is cycled once when a dongle never enumerates
  • DTC trouble codes, DBC signals, Rules and Events, Scripting, UDS Tools, J2534, File Manager (SD card and internal flash), System logs and System Monitor pages
  • AutoPID and Quick Setup support ISO 27145 (WWH-OBD) vehicles, such as Euro VI Sprinters over 3.5 t that answer only 22F4xx on 29-bit CAN (#298, reported by @billybigpotatoes, protocol findings by @CzarofAK)
  • Full configuration Backup and Restore (settings, vehicle profiles and PIDs, code databases, DBC files, scripts, dashboard layout), optional removal of sensitive data, optional encryption, copies on the internal flash and SD card with a checksum per part (#979)
  • Logger clock history: every clock step journaled on the SD card, queued records re-based, the clock context on the History chart and the file list (#984)
  • ABRP: paced deliveries (5 s minimum, backoff on HTTP 429), a coverage view of the ABRP fields your vehicle provides, ABRP's own error text
  • Connections: a socket server that no connection uses is flagged with a one-click CAN bus row. About 10 KB of internal RAM freed (long-lived state in PSRAM)

Bug fixes in v6

  • Fixed settings not persisting when upgrading from v4.51 to v6.00
  • Fixed USB GPS not reporting until "Dongle console" was enabled; GPS is read by default with its own switch (#978)
  • "Download Config" did not include AutoPID PIDs or vehicle profiles; replaced by Backup and Restore (#979)
  • Fixed writing over an existing file on the SD card; fixed the File Manager's capacity for cards over 4 GB (a 32 GB card showed 976 MB, #982)
  • Fixed console commands that fail with an internal error printing nothing (#980)
  • Home Assistant: the station IP in the webhook payload (#977); no second full payload after registration; vpn_status no longer reads past its table while the VPN is connected (#985)
  • Fixed SD logger timestamps shifting by one or two hours depending on whether the time server answered at boot (#984)
  • Fixed a crash when an ESPNetLink or USB Ethernet adapter disconnected during a USB power repair cycle
  • Fixed an encrypted backup made with "Remove sensitive data" restoring blank secrets (#986); the automatic backup copy losing its settings 20 s after a factory reset (#987); a backup silently leaving out some files (#989)
  • Fixed the VPN settings migration routing the Allowed IPs network instead of the tunnel subnet (#988); after an Alfa-04 upgrade with the old fields set, check the Routes list once
  • Fixed slcan over TCP connecting but receiving nothing when the socket server had no CAN bus connection row
  • Fixed J2534 "no comm with the bus" with Automatic bit rate on a bus that only answers when asked: the tester's bit rate is adopted
  • Fixed the USB device mode (WiCAN as a network adapter to a PC) leaving a stale USB transfer across a restart

Known issues

  • A few published vehicle profiles carry rows that never read right on any firmware version (an i3 and Mini state of charge, the bZ4X cell list, a Volvo XC40 state of charge, the pack voltage ranges of the 800 V Hyundai, Kia, Genesis and Xpeng cars). They are being corrected on the profile side.
  • A TP 2.0 (VW) reflash by a tool that does the transport itself on a raw CAN channel runs at one round trip per block acknowledgement (about 3 ms over USB, 28 ms over WiFi): flash over the USB cable, or use the TP 2.0 protocol (TP2_0_PS).
  • The ESPNetLink cannot update itself yet; it updates through a WiCAN PRO. A dongle on firmware 1.20 or older must be flashed once over USB.
  • J2534: J1850 PWM and K-line are not supported; J1850 VPW is request and response only, no 4x speed.
  • A firmware upload started within ten minutes of an update may show that update as "not yet verified" on the Updates card until the ten-minute mark.

Bench: RELEASE TEST PASS, 15 steps (skipped: r12), 6 min, 2026-11-29 14:09:02 UTC.

Source: meatpiHQ/wican-fw v6.0.0p-beta.16, built with meatpiHQ/meatpi-components v6.0.0p-beta.16. To build this release, check out those two tags.

Update instructions

  • Firmware 6.x: open the device page, System > Firmware update > Check for updates, or upload wican-fw_obd_pro_v6.0.0-beta.16.bin by hand.
  • Firmware 4.x: open the configuration page, System tab, Firmware Update section, upload wican-fw_obd_pro_v6.0.0-beta.16.bin and press Update. The first boot restarts once more; see Before you update.
  • Home Assistant: the MeatPi integration offers this version in the Firmware update entity.

In case of a boot loop

Perform a factory reset.

Home Assistant

Firmware 6.x requires the meatpi-multi-device branch of the ha-wican integration.

Contributors: overkillthemighty EliasKotlyar natwilson Rickmaver1971

Don't miss a new wican-fw release

NewReleases is sending notifications on new releases.