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

Add ability to use as an 'official' device so tha timers can be used #1

Open
dinki opened this issue Oct 12, 2024 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@dinki
Copy link

dinki commented Oct 12, 2024

Timers are available today on ESPHome and Wyoming voice satellites that are connected to the latest version of Home Assistant. If you use the firmware we provided for the Atom Echo Dev Kit or the ESP32-S3 Box 3, update to the latest version for timer support.

https://www.home-assistant.io/blog/2024/06/26/voice-chapter-7/#timers-are-here

Adding this functionality would make life easier and would allow for using built in HA functionality which will probably be supported better than homebrewed code (eg View Assist timers blueprint).

@jeffc
Copy link
Owner

jeffc commented Oct 20, 2024

Okay, so I think the answer is "yes" -- it just requires registering the hassmic device as a "timer device" (code here) and then registering a "timer event handler" (esphome's example).

That's all pretty straightforward. The less straightforward part is what to do with the timer events when they come in. Update a sensor? fire an event? I'm not really sure.

@jeffc jeffc added the enhancement New feature or request label Oct 20, 2024
@dinki
Copy link
Author

dinki commented Oct 20, 2024

Unfortunately I don't know. Let me ask Mike if he can share the code that allows for showing these timers on a web page.

@dinki
Copy link
Author

dinki commented Oct 20, 2024

Sent him a message. Take a look at th edemo video from a while back:
https://www.youtube.com/watch?v=tdYElUaxfNI

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

No branches or pull requests

2 participants