nirnachmani / ESP32-S3-Box-3-Firmware

ESP32 S3 Box 3 Firmware which combines continuous conversation, dock sensors and media player
6 stars 4 forks source link

[feature] - Mute Btn on device - switch off display #3

Open ChristophCaina opened 3 months ago

ChristophCaina commented 3 months ago

Hi, your FW is working great :) So, first of all, thanks a lot ;)

I do have some additional ideas but struggle a bit with implementing them, since I am not too familiar yet with ESPHome Code.

So, for example: Right now, the device is turning the display off, when the radar sensor is not recognizing movement and when the mute switch will be triggered.

Unfortunately, none of those actions will be performed, when the Mute Button on the device will be triggered.

Is it possible, to perform the same actions when the Mute Button on the device itself will be pressed? And maybe, if the mute switch in HA will be triggered - and the Radar does not dect any motion - the LED for "gpio1 (Mute)" should be switched on? I hope, that you could then change the device state from both ends - HA and the device itself... ?

Hope, you understand my idea?

nirnachmani commented 3 months ago

I haven't really been using the mute feature so I have no experience with it. I guess now that the unit also functions as a media player, mute shouldn't shut off the display as mute just means that the microphone is muted and that unit is not listening. I guess the 'Say "wake word"' should not be presented and there should be an indication that the unit is muted, but the screen should be awake with volume and date?

nirnachmani commented 3 months ago

I made some changed to the mute function. On my device, if I use the physical mute button, after unmuting the wake word stops working. You can now mute the microphone by tapping of the left top corner and mute the volume by tapping on the right top corner.