IOTReboot / TasUI

Javascript client for Tasmota
http://tasui.shantur.com
GNU General Public License v3.0
80 stars 13 forks source link

help please #31

Open HarryMcGill2022 opened 2 years ago

HarryMcGill2022 commented 2 years ago

how do I use this this as non of my devices show up

catalintabirca commented 2 years ago

Seems like Chrome has new CORS policies... Enable Console to check for errors. Ex: Access to XMLHttpRequest at 'http://192.168.1.251/cm?cmnd=Status%200' from origin 'http://tasui.shantur.com' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space private.

ascillato commented 2 years ago

Sorry, but since Tasmota 8.3, CORS has been disabled due to security risks in Tasmota's CORS implementation. Besides, in latest Tasmota version is not even included in any precompiled version.

So, as Tasmota don't support CORS, TasUI is not usable with Tasmota anymore.

Full explanation of the security issue is at https://github.com/arendst/Tasmota/issues/6767

As a workaround you can: