WiCAN Pro to Home Assistant: The Ultimate MQTT Best Practices Guide #728
Replies: 6 comments 3 replies
|
Thanks, but sorry, I just understand less than 10%... sorry. My problem is, the are no date shown at mqtt explorer, but the Wican integration at HA is getting close to live data as soon as car awakes. I want to use the SOC (Ioniq5) shown by Wican integration at HA (and Wican Pro software shown too) to send SOC to Evcc (PV Charging). But without even a single data at mqtt explorer, no chance so far. I use: I stuck at many points after trying hard, still getting all data shown at HA/Wican Integration sensors, but never any traffic or even listed wican thing at the mqtt explorer at HA. I think its a problem with http webhook enabled AND someting blocking mqtt from wican integration to HA, resulting to not publishing any data through mqtt and so nothing shows up at mqtt explorer, but everything at wican integration at HA even close to live data. I add some Screens of my wican pro setup concerning mqtt and HA connection and add it here to show what words can't explain 😘 . For instance: A really step by step guide/manual about all this special stuff may be helpfull to any semi-noob like me. I want to get a lokal access to the Ioniq5 SOC, as the refresh token generation necessary to get the SOC is a pain all 180 days again now not just to me... and being "chained" by manufrakturers good will, a growing problem in future. |
|
can I read the sensor data from an radar or ultrasonic sensor to get the distances in my bmw ix |
|
i think you mix up two different ways how to get data in to home assistant.
2 Via webhooks and the home assistant integration of jay oswald Anyway it one or the other, im not sure if its possible to do both but i guess you dont want that. |
|
I was trying to connect the WICAN to my F550 with an OBD2 splitter and the Banks gauges connected. Once I disconnected the Banks, I was able to get it to work. I connect Banks back up, and it does not work. I guess I have a conflict with Banks. I tried to put the WICAN in Silent mode, but it does not seem to help. Any ideas how to get around this conflict? |
|
I think only one device can control the bus at one time. So, either Bank
passive, wican active or wican passive, banks active. If passive, it can
only listen, not command for pID data.
…On Mon, Jul 13, 2026 at 7:31 PM WatersPaul ***@***.***> wrote:
I was trying to connect the WICAN to my F550 with an OBD2 splitter and the
Banks gauges connected. Once I disconnected the Banks, I was able to get it
to work. I connect Banks back up, and it does not work. I guess I have a
conflict with Banks. I tried to put the WICAN in Silent mode, but it does
not seem to help.
Any ideas how to get around this conflict?
—
Reply to this email directly, view it on GitHub
<#728?email_source=notifications&email_token=ADH3ULDLZ46HNL5VV6RGPWD5EV5OTA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGI4TCMBRUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-17629101>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADH3ULDYUSBQ6QFINBLN7AT5EV5OTAVCNFSNUABHKJSXA33TNF2G64TZHM2DMMJYGMZDGMJTHNCGS43DOVZXG2LPNY5TSOBRGQYTMONBOYBA>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/ADH3ULDS4Q7U5LRVUBHOPIT5EV5OTA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGI4TCMBRUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
and Android
<https://github.com/notifications/mobile/android/ADH3ULF4EVODAVRH3TREPML5EV5OTA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGI4TCMBRUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
These instructions are much better than the stock firmware:
https://wambs.github.io/wican-fw/
…On Wed, Jul 15, 2026 at 11:22 AM WatersPaul ***@***.***> wrote:
I thought I had the Wican Pro in passive mode. The instructions are a
little different than the setting for the Wiccan pro. The options are
Normal or Silent. I have the Wican Pro set to Silent
—
Reply to this email directly, view it on GitHub
<#728?email_source=notifications&email_token=ADH3ULC24AEGXJ3W4RAU6EL5E6VUVA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGUYTENJXUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-17651257>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADH3ULEXVLRU3REM4MIDYY35E6VUVAVCNFSNUABHKJSXA33TNF2G64TZHM2DMMJYGMZDGMJTHNCGS43DOVZXG2LPNY5TSOBRGQYTMONBOYBA>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/ADH3ULGTG5WWBHMKGW6PSA35E6VUVA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGUYTENJXUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
and Android
<https://github.com/notifications/mobile/android/ADH3ULB5OHA2Q2XVXVVDQPL5E6VUVA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGUYTENJXUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|






Uh oh!
There was an error while loading. Please reload this page.
WiCAN Pro to Home Assistant: The Ultimate MQTT Best Practices Guide
Integrating the WiCAN Pro with Home Assistant over MQTT unlocks incredible potential for vehicle monitoring. However, because CAN bus data is highly complex and transmits at lightning speed, a poorly planned setup will quickly result in messy configuration files and broken data.
Follow these best practices to build a bulletproof, highly optimized integration from the ground up.
Import Note: The Expression Hex type is only available on the WiCAN Pro forked releases: https://github.com/wambs/wican-fw/releases?page=1
📡 Why MQTT? The Advantages for Vehicle Telemetry
Before diving into the configuration, it is helpful to understand why MQTT (Message Queuing Telemetry Transport) is the gold standard for bridging your vehicle's CAN bus to your smart home:
unit_of_measurement(like PSI or °C), define thestate_class(likemeasurementfor long-term statistics graphing), assign aunique_idto allow UI editing, and explicitly define the exact backend name usingdefault_entity_id.🛠️ The Ultimate Debugging Tool: MQTT Explorer
Before you write a single line of YAML code in Home Assistant, download a free desktop program called MQTT Explorer.
When you connect MQTT Explorer to your Home Assistant broker, you get a live, visual tree of every single message the WiCAN broadcasts. It is invaluable for troubleshooting because it allows you to:
online/offlineavailability topics to confirm connection stability.Tip
Mocking Data: You can manually inject/publish custom MQTT payloads directly to your broker using MQTT Explorer. This allows you to instantly test and debug your Home Assistant entity decoding logic without needing the truck running or the WiCAN device connected!
Phase 1: Initial MQTT Broker Connection (Settings Page)
Before you can start routing vehicle data, you must connect the WiCAN Pro to your Home Assistant MQTT broker (typically the Mosquitto Broker add-on).
Navigate to the Settings tab in the WiCAN Pro web interface and locate the MQTT section. Configure the fields as follows:
ON.192.168.1.100). Do not addhttp://or port numbers here.1883(the standard unencrypted MQTT port).wican_f350).60seconds is the standard default and works perfectly.Once entered, save your settings. The WiCAN Pro will now maintain a persistent connection to Home Assistant whenever it is powered on and connected to your network.
Phase 2: MQTT Topic Naming & Payload Format
How you name your MQTT topics dictates how easily you can organize them in Home Assistant. Never dump raw PIDs into the root of your MQTT broker.
1. Use a Strict, Hierarchical MQTT Topic Prefix
Use a logical, nested structure that identifies the system, the vehicle, the module, and the specific data point.
<system>/<device>/<vehicle>/<module>_<data_name>homeassistant/wican/f350/pcm_engine_rpmhomeassistant/wican/f350/bcm_remote_start_failures2. Choose the Right Payload Format
Phase 3: Configuring the WiCAN "Automate -> Vehicle" Rules
To actually tell the WiCAN Pro to start pulling data and pushing it to Home Assistant, you need to set up rules in the WiCAN web interface under Automate -> Vehicle. This is where you define exactly how the WiCAN interacts with the vehicle's CAN bus.
There are two primary ways to set these up: Active Polling and Passive Listening.
1. Setting up an Active Request (Polling)
Use this for data the truck doesn't broadcast on its own, requiring the WiCAN to specifically ask for it (e.g., Engine RPM, Transmission Temp, Gear Position).
When creating a new Vehicle Automation, configure the fields as follows:
F350 Gear Position).1000ms for fast data like RPM, or5000ms for slow data like Coolant Temp).7E2for the TCM).22 1E 12).homeassistant/wican/f350/tcm_gear_raw).Important
Don't Over-Poll: Do not poll modules faster than necessary, or you risk flooding the vehicle's CAN bus and causing network collisions.
2. Setting up a Passive Listener (Sniffing)
Use this for high-frequency data the truck broadcasts automatically, or for event-based data (e.g., TPMS tire pressure bursts, Door Locks, or Remote Start Failures). You do not want to actively poll for these.
18FEF433for TPMS events).homeassistant/wican/f350/bcm_slow_evnt1_all).Tip
Data Starts At: If you are using Raw (Hex) output, pay attention to where the actual data begins. If WiCAN includes the header in the output (e.g.,
07 62 41 B8 08 08 08 08), you can either tell WiCAN to strip it by adjusting the starting byte, or just pass the whole string to Home Assistant and let Jinja2 slice it up usingregex_findall. Passing the whole string is usually the safest method!Phase 4: Home Assistant Configuration Best Practices
Because you will be creating dozens (or hundreds) of sensors, keeping your
configuration.yamlclean is critical.1. Group Entities Using a Device Anchor
Instead of having 50 loose sensors floating in Home Assistant, assign them all to a single "Vehicle" device page. Define a YAML anchor (
&device_name) once, and inject it into every sensor.2.Defining Rich Metadata for Binary Sensors
Take full advantage of Home Assistant's built-in entity customization. By defining specific metadata—like setting a binary_sensor's device_class to problem—Home Assistant will automatically colorize the icon in your dashboard and log it appropriately without you writing any custom dashboard code.
You can also firmly lock in the backend name using default_entity_id.
3. Decoding Bitmaps (Multiple States in One Message)
Vehicle modules often use Bitmaps to send multiple true/false statuses in a single byte (e.g., Remote Start Failure reasons, where Bit 0 is "Hood Open" and Bit 1 is "Not in Park").
Use Jinja2's bitwise_and filter to extract multiple active states and combine them into a clean, comma-separated list.
4. Bulletproof Raw Hex Parsing
If WiCAN sends a long string of Hex data (like 07 62 41 B8 08), spaces and formatting can easily break standard text slicing. Use regex_findall to cleanly extract the hex pairs into a perfect array.
5. Use YAML Anchors for Repeating Sensors (Like TPMS)
If you have 4 tires sending identical 19-byte hex strings, do not write the decoding math 4 separate times. Write it once as an anchor (&tpms_pressure), and reuse it to keep your code DRY (Don't Repeat Yourself).
Define the template once
All reactions