I am trying to integrate the Magic caster wand to Home assistant. The wand is using Bluetooth, but I am not able to see it when searching on phone or windows computer, but it will connect to the app on the phone when Bluetooth is enabled.
Any guidance on how to connect this wand and use it to trigger automations would be greatly appreciated.
Hi @trbirk I just ordered the wand and I’m getting ready to integrate it with Home Assistant once it arrives. I’ve found some reverse-engineered code on GitHub. Have you made any additional progress in the meantime?
I received the wand I ordered today and did a quick integration test. Since I was only focused on testing the basic integration, I wasn’t able to implement sufficient exception handling yet. I plan to improve it gradually, so please treat this as a reference for now.
I bought mine on eBay. If you search for ‘magic caster wand’ on eBay, you’ll find many options. Since this was my first time purchasing one there, it’s a bit hard for me to confidently recommend a specific product.
Thanks, let me do that. And thanks for confirming that there is no official website anymore selling them.
And to understand better, does HA receive the spells from the wand via Bluetooth proxy? So anywhere in the house or do you need to connect it to a Bluetooth device every time? Not sure what you mean with “ You must connect to the wand via Bluetooth(Switch) first in order to receive the spell values” in your repository.
You can also use a Bluetooth proxy.
The Bluetooth “connect” requirement means you must connect to the wand via the switch entity before casting spells.
If you want to use the wand at any time, you can simply keep the switch turned on.
However, keeping a Bluetooth connection active all the time felt somewhat inefficient,
so the connection and disconnection were implemented as a switch-based mechanism.
Understand! And with esp bluetooth proxies and the bluetooth mac of the wand I can determine the location of the wand and therefor trigger lights in the room where the wand actually is… correct? Love it!
Got 2 from ebay and the 5 spells (Serpensortia, Protego, Lumos, Nox and Colovaria) work pretty well. To help my kids I am keen to get some feedback on the wands movement. Does anybody know how to run the Spell Canvas that is mentioned on github?
==> NEVER MIND, HAD NOT YET UPDATED TO THE LATEST VERSION
And I have the location of the wand (from the BLU proxy) but as soon as I connect the area becomes unknown. Anybody a good idea how to ensure I do know the location the wand is connected too?
And if the wand is connected and a person moves through the house out of reach, would it need to be reconnect (i.e. using the connection switch in home assistant)?
I don’t think the integration does any area stuff… are you using Bermuda? I heard someone else mention the need to disconnect for that to work with the wands.
Yes, I am using Bermuda and indeed need to reconnnect to get the latest location. Bermuda is great and I am using the last seen sensor (so when it is connected I still have the latest location)