diff --git a/src/client/app/mios.ts b/src/client/app/mios.ts index abbd23e3d..76cebcabb 100644 --- a/src/client/app/mios.ts +++ b/src/client/app/mios.ts @@ -443,7 +443,7 @@ export default class MiOS extends EventEmitter { }; const promise = new Promise((resolve, reject) => { - const viaStream = this.stream && this.store.state.device.apiViaStream && !forceFetch; + const viaStream = this.stream && this.stream.state == 'connected' && this.store.state.device.apiViaStream && !forceFetch; if (viaStream) { const id = Math.random().toString().substr(2, 8);