Skip to content

I2S: add pause command#23646

Merged
s-hadinger merged 1 commit into
arendst:developmentfrom
Staars:i2spause
Jul 7, 2025
Merged

I2S: add pause command#23646
s-hadinger merged 1 commit into
arendst:developmentfrom
Staars:i2spause

Conversation

@Staars
Copy link
Copy Markdown
Contributor

@Staars Staars commented Jul 7, 2025

Description:

Adds command i2spause for playing of supported audio files.

As the used audio libraries do not provide an API for it, it is handled in the Tasmota driver.
Will only have effect, when a file is actually played.
Usage:

i2splay some_file.mp3
i2spause

to resume playback use i2splay without any other argument.

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.8
  • The code change is tested and works with Tasmota core ESP32 V.3.1.3.250707
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@s-hadinger s-hadinger merged commit ae3dbde into arendst:development Jul 7, 2025
60 checks passed
Jason2866 added a commit that referenced this pull request Jul 9, 2025
* Update changelogs

* Update xsns_11_veml6070.ino (#23581)

* Update xsns_11_veml6070.ino

in Veml6070Detect check for the presence of both addresses in the bus to avoid misdetection of ATH20/21 (anyone with the device, please confirm this change still detect the device when present)

* Update xsns_16_tsl2561.ino

check the correct ID was returned to avoid misdetection of other sensors.

* Update xsns_57_tsl2591.ino - report channel values in JSON as in TSL2561

Add the raw infrared and broadband channels of the sensor to the JSON report like is done in the driver for TSL2561

* Update xsns_57_tsl2591.ino

Fix var name

* Update xsns_57_tsl2591.ino

Fix variable name

* NeoPool add Redox tank alarm (#23582)

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>

* Create SE01-L.be (#23607)

LoRaWAN decoder for 
Dragino SE01-LB/LS -- LoRaWAN Soil Moisture & EC Sensor

* CSS uses named colors variables (#23597)

* Remove Keeloq 64/66 conversion code (#23615)

* fix: AHT30 sensor start with null values (#23624)

* Update changelogs

* Add Universal display driver for ZJY169S0800TG01 ST7789 280x240 (#23638)

* Add commands `LoRaWanDecoder "` and `LoRaWanName "` to clear name (#23394)

* Add internal function 'WSContentSendRaw_P' (#23641)

* Add internal function 'add_WSContentSendRaw_P'

* Fix crash if PROGMEM

* Update xdrv_01_9_webserver.ino

Fix ESP8266 exception 3 when Unishox is disabled

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>

* Revert "Add internal function 'WSContentSendRaw_P' (#23641)"

This reverts commit 912cb15.

* Add internal function 'WSContentSendRaw_P' (#23641)

* Platform 2025.07.30 Tasmota Arduino Core 3.1.3.250707 based on IDF 5.3.3.250702 (#23642)

* Platform 2025.07.30 Tasmota Arduino Core 3.1.3.250707 based on IDF 5.3.3.250702
* Use esp_jpeg component for decoding

* Add Berry language reference in Markdown for AI (#23647)

* Fix DisplayCalibrate regression caused by autoconf removed from global scope (#23648)

* i2spause (#23646)

* Bump version 15.0.1.2

* Add Tasmota specific Berry APIs to language reference (#23652)

* esptool v5.0.0 changes for post pio esp32 script (#23650)

* Update LwDecode.be (#23655)

Add LoRaWAN Config page

* Update README.md (#23656)

Add LoRaWAN Configuration page instructions

* Change WSContentEnd to fix UDP

* Change ESP32 Domoticz supports persistent settings for all relays, keys and switches using filesystem

* update to latest framework

* refactoring for domoticz, add p4 env

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
Co-authored-by: Pedro Ribeiro <pamribeirox+buhtig@gmail.com>
Co-authored-by: Norbert Richter <nr@prsolution.eu>
Co-authored-by: UBWH <72185209+UBWH@users.noreply.github.com>
Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
Co-authored-by: Arnie97 <arnie97@gmail.com>
Co-authored-by: 然而并没有 <cmheia@gmail.com>
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Jason2866 added a commit that referenced this pull request Jul 9, 2025
* Prepare ESP32P4 (#23633)

* P4 support: adaptions for Domoticz, add env:tasmota32p4 (#23657)

* Update changelogs

* Update xsns_11_veml6070.ino (#23581)

* Update xsns_11_veml6070.ino

in Veml6070Detect check for the presence of both addresses in the bus to avoid misdetection of ATH20/21 (anyone with the device, please confirm this change still detect the device when present)

* Update xsns_16_tsl2561.ino

check the correct ID was returned to avoid misdetection of other sensors.

* Update xsns_57_tsl2591.ino - report channel values in JSON as in TSL2561

Add the raw infrared and broadband channels of the sensor to the JSON report like is done in the driver for TSL2561

* Update xsns_57_tsl2591.ino

Fix var name

* Update xsns_57_tsl2591.ino

Fix variable name

* NeoPool add Redox tank alarm (#23582)

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>

* Create SE01-L.be (#23607)

LoRaWAN decoder for 
Dragino SE01-LB/LS -- LoRaWAN Soil Moisture & EC Sensor

* CSS uses named colors variables (#23597)

* Remove Keeloq 64/66 conversion code (#23615)

* fix: AHT30 sensor start with null values (#23624)

* Update changelogs

* Add Universal display driver for ZJY169S0800TG01 ST7789 280x240 (#23638)

* Add commands `LoRaWanDecoder "` and `LoRaWanName "` to clear name (#23394)

* Add internal function 'WSContentSendRaw_P' (#23641)

* Add internal function 'add_WSContentSendRaw_P'

* Fix crash if PROGMEM

* Update xdrv_01_9_webserver.ino

Fix ESP8266 exception 3 when Unishox is disabled

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>

* Revert "Add internal function 'WSContentSendRaw_P' (#23641)"

This reverts commit 912cb15.

* Add internal function 'WSContentSendRaw_P' (#23641)

* Platform 2025.07.30 Tasmota Arduino Core 3.1.3.250707 based on IDF 5.3.3.250702 (#23642)

* Platform 2025.07.30 Tasmota Arduino Core 3.1.3.250707 based on IDF 5.3.3.250702
* Use esp_jpeg component for decoding

* Add Berry language reference in Markdown for AI (#23647)

* Fix DisplayCalibrate regression caused by autoconf removed from global scope (#23648)

* i2spause (#23646)

* Bump version 15.0.1.2

* Add Tasmota specific Berry APIs to language reference (#23652)

* esptool v5.0.0 changes for post pio esp32 script (#23650)

* Update LwDecode.be (#23655)

Add LoRaWAN Config page

* Update README.md (#23656)

Add LoRaWAN Configuration page instructions

* Change WSContentEnd to fix UDP

* Change ESP32 Domoticz supports persistent settings for all relays, keys and switches using filesystem

* update to latest framework

* refactoring for domoticz, add p4 env

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
Co-authored-by: Pedro Ribeiro <pamribeirox+buhtig@gmail.com>
Co-authored-by: Norbert Richter <nr@prsolution.eu>
Co-authored-by: UBWH <72185209+UBWH@users.noreply.github.com>
Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
Co-authored-by: Arnie97 <arnie97@gmail.com>
Co-authored-by: 然而并没有 <cmheia@gmail.com>
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>

---------

Co-authored-by: Christian Baars <baars@klinikum-brandenburg.de>
Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
Co-authored-by: Pedro Ribeiro <pamribeirox+buhtig@gmail.com>
Co-authored-by: Norbert Richter <nr@prsolution.eu>
Co-authored-by: UBWH <72185209+UBWH@users.noreply.github.com>
Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
Co-authored-by: Arnie97 <arnie97@gmail.com>
Co-authored-by: 然而并没有 <cmheia@gmail.com>
@Staars Staars deleted the i2spause branch October 12, 2025 15:40
echo-bravo-yahoo pushed a commit to echo-bravo-yahoo/Tasmota that referenced this pull request Jan 9, 2026
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

Successfully merging this pull request may close these issues.

2 participants