iobroker.assistant 1.4.9 → 1.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/build/lib/voice/esphome.js +8 -0
- package/build/lib/voice/esphome.js.map +1 -1
- package/build/lib/voice/esphomeEntities.js +10 -0
- package/build/lib/voice/esphomeEntities.js.map +1 -1
- package/build/lib/voice/esphomeProto.js.map +1 -1
- package/build/lib/voice/mediaServer.js +69 -0
- package/build/lib/voice/mediaServer.js.map +1 -1
- package/build/lib/voice/mediaStream.js +264 -0
- package/build/lib/voice/mediaStream.js.map +1 -0
- package/build/main.js +171 -0
- package/build/main.js.map +1 -1
- package/io-package.json +14 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -237,6 +237,9 @@ train it twice.
|
|
|
237
237
|
Placeholder for the next version (at the beginning of the line):
|
|
238
238
|
### **WORK IN PROGRESS**
|
|
239
239
|
-->
|
|
240
|
+
### 1.4.10 (2026-11-05)
|
|
241
|
+
* (@GermanBluefox) ESPHome satellites: internet radio and music from a URL — `controls.<media player>.url` plays it as media (replies and announcements only duck it, play/pause/stop/volume act on it), empty or `stop` stops. Playlists (.pls/.m3u) are resolved; a stream the device cannot decode (AAC, HLS, …) runs through ffmpeg and is served to it as FLAC; `transcode` forces that
|
|
242
|
+
|
|
240
243
|
### 1.4.9 (2026-11-05)
|
|
241
244
|
* (@GermanBluefox) ESPHome satellites with a screen: the yes/no button did not answer pi-agent's question — the follow-up microphone carries the last wake word (ESPHome never clears it) and was taken for a new request. A follow-up is now recognised by the open question (until the next answered request, at most 30 s after the reply), and a stop the firmware sends right after the press no longer drops the answer
|
|
242
245
|
* (@GermanBluefox) pi-agent: a request from a satellite also carries `satellite` (its id under `satellites.*`) and `tts` (its `tts` state), so pi-agent can speak there later (reminders, background tasks)
|
|
@@ -357,6 +357,14 @@ class EsphomeSatellites {
|
|
|
357
357
|
const target = this.connections.find(c => c.online && c.deviceName === device);
|
|
358
358
|
return target ? target.setEntity(objectId, value) : false;
|
|
359
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
* Absolute URL of a path on our media server (a live stream) with a host `device` can reach — the local end of
|
|
362
|
+
* its connection unless a media host is configured. null when it is offline.
|
|
363
|
+
*/
|
|
364
|
+
mediaUrl(device, path) {
|
|
365
|
+
const target = this.connections.find(c => c.online && c.deviceName === device);
|
|
366
|
+
return target ? target.mediaUrl(path) : null;
|
|
367
|
+
}
|
|
360
368
|
/**
|
|
361
369
|
* Mirror an assistant timer onto the satellites so they can show it on their own LED ring and ring
|
|
362
370
|
* it themselves. `device` null broadcasts. Returns how many devices were told.
|