Integrating MagiQuest Wands into ESPHome: Seeking Help with IR Protocol

Hey everyone,

I recently picked up some MagiQuest wands during a trip to Great Wolf Lodge and I’m really excited to integrate them into my ESPHome setup. At first glance, it seemed like the IR protocol was already supported in the ESPHome components, but unfortunately, I’m running into some issues.

After setting everything up, I noticed that the wands weren’t being decoded properly. From what I understand, MagiQuest has recently changed their wand protocol, which means the existing library isn’t quite cutting it anymore. I’ve been digging through GitHub issues and forums, trying to find a solution, but I’m still stuck.

I managed to retrieve some raw and pronto data from the wands using both ESPHome and the Arduino-IRremote library. Each transmission seems to be of a different length and has varying values. I’ve tried parsing through the hex data blocks to find any patterns or consistent values, but aside from the first 8 and last 4 bytes, there’s not much to go on. I’m not entirely sure how to proceed from here.

If anyone has experience with IR protocols or knows of any resources that could help me crack this, I’d be incredibly grateful! I’m hoping to figure out how to extract the wand_id and any accelerometer data from these transmissions. Let me know if you’ve encountered something similar or have any tips to share.

Here’s a sample of the data I’ve collected from two of my wands. Most transmissions are around the same length, but some can be really short, like 20 bytes. I’m curious if anyone can spot any patterns or suggest the next steps.

Wand 1 Data:
plaintext
#1: 0000 006D 0021 0000 0008 0050 0008 0050 000A 004E 0008 0024 0014 0044 0014 0071 0007 0052 0012 0046 0012 001A 0014 0071 0007 0052 0007 0052 0014 0044 0007 0026 0016 0016 0014 0044 0007 0052 0008 0050 0008 0024 0016 0016 0014 0044 0007 0052 000A 004E 0007 0026 0014 0018 0007 0026 0014 0018 0014 0018 0014 0071 0007 0026 0014 0018 0014 06C3
#2: 0000 006D 001E 0000 0008 0052 0008 0050 0007 0052 0007 0052 0014 0044 0014 0044 0007 0052 0007 0026 0014 0044 0014 0018 0012 0046 0007 0026 0014 0071 0007 007E 0014 0071 0014 0018 0014 0071 0007 0052 0008 0050 0014 0018 0012 0073 0007 0052 0008 0050 0014 0044 0014 0018 0014 0018 0014 0044 0007 0052 0014 0018 0014 06C3

Wand 2 Data:
plaintext
#1: 0000 006D 0023 0000 0007 0052 0007 0052 0008 0050 0008 0050 0016 0043 000A 0024 0014 0018 0014 0018 0014 0018 0012 001A 0014 0044 0014 0018 0007 0026 0014 0018 0014 0044 0007 0026 0014 0018 0007 0052 0007 0052 0014 0018 0016 0043 0014 0071 0007 0052 0008 0050 0016 0043 0007 0052 0008 0050 0007 0028 0012 0071 0014 001A 0014 0016 0014 0046 0012 0046 0008 0050 0007 0052 0007 0026 0014 0018 0007 0052 0007 0052 0008 0050 0014 0018 0012 001A 0014 0018 0014 0018 0014 0018 0014 0071 0014 06C3

Any insights or guidance would be fantastic! I’m really hopeful to get this working and can’t wait to see how it turns out. Thanks in advance for your help!

Best regards,
[Your Name]