Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Nicer web UI idea offloaded to external server #5244

Closed
domenpk opened this issue Feb 16, 2019 · 10 comments
Closed

RFC: Nicer web UI idea offloaded to external server #5244

domenpk opened this issue Feb 16, 2019 · 10 comments
Labels
question Type - Asking for Information

Comments

@domenpk
Copy link

domenpk commented Feb 16, 2019

Current web UI as a bit limited, and that's understandable, as there are flash space limitations.

My idea is to source basically offload all the fancier UI to some server.
Now this obviously requires an internet connection, but in case it is not available, you still have the existing UI as a backup. New UI could use SRI hashes, so it couldn't be replaced with malicious UI.
Externally loaded UI offers plenty of possibilities, for example nice timer configuration, rule validations ...
The features would be implemented by sending commands through already implemented web interface.

(I know about TasmoAdmin/SonWEB, which requires local installation, and therefore loses the seamless appeal of this proposal.)

What do you think? Feasible? Does it require only someone implementing it, or are there some restrictions that I have missed?

@ascillato
Copy link
Contributor

Please, check: https://github.com/jziolkowski/tdm

@ascillato
Copy link
Contributor

New UI could use SRI hashes

That would use a lot of RAM resources in the ESP8266 so as to work, leaving nearly no other feature available like sensors support.

@domenpk
Copy link
Author

domenpk commented Feb 16, 2019

Was not aware of TDM, but is still something you have to install.

SRI hashes are checked in the web browser.

@ascillato
Copy link
Contributor

ascillato commented Feb 16, 2019

Tasmota is not meant to be connected to internet. The main idea is not to be cloud dependant and that all your information (usage, statistics, data, etc) is just local in your network.

That is why TasmoAdmin Server and TasmoAdmin Add-On for Hass.io are local in your network.

As an alternative for TasmoAdmin, there is TDM also.

@domenpk
Copy link
Author

domenpk commented Feb 16, 2019

Tasmota is still as is, this would not be a dependency. It's just the extra UI web pages that would be transferred over the internet (to the device administering tasmota, which would need internet connectivity for this; in case of no internet, fallback is current behaviour).

@ascillato
Copy link
Contributor

ascillato commented Feb 16, 2019

Any extra tool for Tasmota is always welcome !!!

I was just pointing out the alternatives (TasmoAdmin, TDM)

@domenpk
Copy link
Author

domenpk commented Feb 16, 2019

And thanks for that.

I just want(ed) to hear thoughts, and criticism. If someone else thinks this could be useful, I can create a proof of concept, and hopefully people skilled in web design could work on it.

@netpok
Copy link

netpok commented Feb 16, 2019

It's a nice idea, it could be implemented in the same way as the device database I suggested in #5177.

@andrethomas
Copy link
Contributor

I think most people move away from internet hosted services to get more direct control.

I personally don't like the idea of my devices being dependent on an internet connection and external services that are hosted on a site which is beyond my control.

I do like the idea of being able to configure and control a device over MQTT instead of HTTP.

You asked for thoughts...

@ascillato2 ascillato2 added the question Type - Asking for Information label Feb 17, 2019
@ascillato2
Copy link
Collaborator

Closing this issue as it has been answered.

Please, try a PoC (proof of concept) for this idea. Thanks.

Support Information

See Wiki for more information.
See Chat for more user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Type - Asking for Information
Projects
None yet
Development

No branches or pull requests

5 participants