galvheim
(Galvheim)
September 15, 2024, 3:25pm
1
Seems like I am the only one noticing that the rtttl.stop command har not been working for almost a year now. U til now I was able to stop it by sending a rtttl.play command with mute tone to make it stop playing, but now also that is impossible, since it will now play thrpugh the whole code before doing anything else.
I use very long strings to alert certtain things, but want this to stop as soon as a certain state has been met. Now its all broken.
Mikefila
(Mike Fila)
September 15, 2024, 5:59pm
2
galvheim
(Galvheim)
September 15, 2024, 6:17pm
3
I rellay donât think so.
rtttl.stop is a valid service call and I am more hoping that the developers fix it so that it works as intended.
galvheim
(Galvheim)
September 15, 2024, 6:18pm
4
I rellay donât think so.
rtttl.stop is a valid service call and I am more hoping that the developers fix it so that it works as intended.
Mikefila
(Mike Fila)
September 15, 2024, 6:28pm
5
It looks like it was fixed last month. Are you using 2024.8 or newer?
esphome:dev
â NewoPL:dev
opened 02:50PM - 20 Aug 24 UTC
- id: beeping_signal
mode: restart
then:
- while:
co⌠ndition:
lambda: return(1);
then:
# prevent interference with button presses
- if:
condition:
not: rtttl.is_playing
then:
- rtttl.play: "wait:d=10,o=5,b=180:g"
- delay: 1000 ms
# In the condition above - rtttl.is_playng is always true as RTTTL does not enter the stopped state correctly
## Types of changes
- [X] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Other
**Related issue or feature (if applicable):** fixes <link to issue>
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs) with documentation (if applicable):** esphome/esphome-docs#<esphome-docs PR number goes here>
## Test Environment
- [X] ESP32
- [ ] ESP32 IDF
- [ ] ESP8266
- [ ] RP2040
- [ ] BK72xx
- [ ] RTL87xx
## Checklist:
- [X] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user-exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphome-docs](https://github.com/esphome/esphome-docs).
1 Like
Spiro
September 15, 2024, 8:16pm
6
I wouldnât in general count on Devs searching the forum. If you need to report bugs itâs best to go the github and open an issue there.
galvheim
(Galvheim)
September 16, 2024, 8:03am
7
No. This is not related to what I am describing here. What you show here is about HA getting a state that will say if playback has stopped.
I am always on lates dev.
My problem.is that you can no longer stop the playback when it has started.
galvheim
(Galvheim)
September 16, 2024, 5:48pm
8
I have submitted an issue now
1 Like