Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using HAVPE without Home Assistant #289

Open
skorokithakis opened this issue Jan 13, 2025 · 8 comments
Open

Using HAVPE without Home Assistant #289

skorokithakis opened this issue Jan 13, 2025 · 8 comments

Comments

@skorokithakis
Copy link

I just got a HAVPE and I'd like to hack on it and use it for my own projects. It's great that it's open source and ESPhome-based, however I can't find any information on how to talk to it, or add it to my network, without Home Assistant. Is there any info on that? I'm just looking for a way to go from "unboxing" to "I have a connection that can talk Wyoming", and I can figure out the rest on my own.

Thanks for any help!

@synesthesiam
Copy link
Contributor

The VoicePE uses an ESP32-S3, which you could flash with custom firmware (even using the Arduino framework). The microphone and speaker are available over I2S, and the other peripherals are pretty standard (see the firmware YAML).

Getting a Wyoming connection wouldn't be impossible, but it could take a lot of work.

@skorokithakis
Copy link
Author

Hmm, I'd rather not reflash it. How does it talk to Home Assistant?

@apbarratt
Copy link

...you'd rather not reflash it. Mate, I think this maybe isn't the right project for you, it's been specifically designed to talk to home assistant but all ESPHome projects are designed to be tinkered with and reflashed to your desire. If you want it to do new things, you've got to open up that ESPHome yaml code and start changing things and then flashing what you make onto it.

@skorokithakis
Copy link
Author

@apbarratt I want to write a server that pretends to be Home Assistant. It would defeat the purpose of doing that if I reflashed the device. Given that, is there any documentation that I can use to do what I want to do? I'm not looking to challenge the purpose of what I'm building, I'm looking for documentation on how to build it.

@apbarratt
Copy link

I'm not really sure how I'd begin doing that. But given Home Assistant is free open source software, I'd kind of wonder why you wouldn't just have a server pretend to be home assistant so hard that it actually is just an installation of home assistant ;)

@skorokithakis
Copy link
Author

We can discuss that outside of this ticket, which is specifically about documentation on the HAVPE protocol.

@synesthesiam
Copy link
Contributor

ESPHome uses Protobuf messages over TCP. This is the library used on the Home Assistant side: https://github.com/esphome/aioesphomeapi

@skorokithakis
Copy link
Author

Fantastic, thank you! Do you know how discovery is done? I assume there's an mDNS (or something) query to find the device, and then HA connects to ESPHome?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants