-
Notifications
You must be signed in to change notification settings - Fork 120
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
Custom Manifest creation on the fly #498
Comments
i have looked into this a bit. with a small change in the install dialog script this is possible. |
https://veli.ee/esphome/ota.manifest.json?name=TX-Ultimate&chip=esp32&summary=Cool-new-colors&v=1234
ex:
|
I think a simple way of handling this would be to make From: public manifest?: string; To: public manifest?: string | Promise<Manifest>; or public manifest?: string;
public manifestResolver?: Promise<Manifest>; If the value is a string, then it would refer to the path to fetch the manifest like it does now. If the value is a Promise , then it await the promise and the resulting should return the manifest value. Alternatively, another property could be added that would return the manifest such as |
Hello,
i am currently looking into rebuilding a webinstaller where i would like to have the user select the flash size and some other options that would result in a high number of possible combinations and thus manifest files.
While looking around in the issues, i found this reply (#469 (comment) ) by @balloob.
In my opinion i would be able to craft a manifest string based on the User input, but i cant write that to a file and provide that to the install button.
Is there a way around that, or does this need more development in the install scripts?
The text was updated successfully, but these errors were encountered: