Comments (9)
the 404 on /edit?edit=%2F/index.htm
is reproducible and is caused by the implicit behavior of the upstream lib.
Also, it's most probably not related to other issues you're seeing.
the easiest solution/workaround would be to update src
here to e.g. /edit?edit=%2F/config.json
from ithowifi.
-
There is no prompt for credentials
I cannot reproduce this (I notice though that you have to reboot before the credentials are asked) -
No files are available in the left menu
I'm not sure what this is. I did some testing and I have now 1 device that does not show files and 1 that does. Same FW version.... no idea why -
This calls edit?list=%F which returns [] with status code 200.
index.htm is a file that doesn't exist, so that is correct.
from ithowifi.
Interesting. I did a file system format and after that the file system editor shows files again. There is definitely some bug or error here. What that is.... no idea at this point
from ithowifi.
“There is no prompt for credentials
I cannot reproduce this (I notice though that you have to reboot before the credentials are asked)“.
I enabled it without rebooting because I expected an reboot message when changing it if reboot was needed. So it could either be mentioned on the web interface itself as a comment or do you want to change it?
I think it is more a nice to have as I expect those with the add-on to use it within a domestic setting on a trusted WiFi network only. The number of users to use this password protection to be very low anyway.
Is there today any other reason to use the /edit than to modify the remotes.json file?
from ithowifi.
i also agree that the password-protected file editor makes little to no sense in the current implementation - since it uses the same creds as the web ui, anybody who knows web ui credentials ultimately knows creds to file editor, so I can't think of any scenario where this would be useful other than having multiple user support (regular user and admin).
from ithowifi.
Don't know, it was a feature request and imho there is no real issue with having these password options. Implementation was a 5 min. effort and it never failed afterwards. I don't use it but I know some users do.
As far as I can reproduce a formate and reinstall of the add-on solves the no files showing up issue. If that can be confirmed it is probably due to some flash issues (maybe arising due to crashes while writing flash?) difficult to say, even more difficult to investigate i'm afraid.
from ithowifi.
So I guess the easiest is to implement the suggestion from @rplevka and use /edit?edit=%2F/config.json or %2F/remotes.json as landing page and leave everything as-is?
It's already highly unusual for anyone to use /edit and if you use it, it's for remotes.json only?
from ithowifi.
No, i'm not going to change the code in this case. The 404 is normally not visible and the file editor will just show all the files. The reason that this issue is still left open is because I'm not sure where the the not showing the files on the flash partition is originating from.
I'm sure tho it has nothing to do /edit?edit=%2Findex.htm
.
Please also be aware that '%2F' in this case just is the HTML URL encoded representation for the '/' character.
from ithowifi.
A format and reconfigure made the problems go away. So I can close this one as I guess finding the root cause for the corruption that caused the problems has to be a lucky shot.
from ithowifi.
Related Issues (20)
- Monitor only RF Devices not in remotesinfo HOT 5
- [Feature] Add OpenApi Spec / SwaggerUI to document api HOT 1
- Virtual remotes update remote broken HOT 2
- [Request] Ability to change through mqqt the default speed settings HOT 2
- Ventilation setpoint never goes below 30% HOT 2
- [Feature] Add fan/ventilation percentage to MQTT itho/ithostatus messages HOT 2
- Fan not keeping set speed HOT 14
- Request; turn off unit from HA HOT 2
- [Feature] autospeed relative to humidity
- HA: MQTT - TypeError: unsupported operand type(s) HOT 3
- [Request] Amber heat pump support HOT 6
- api.html?get=currentspeed not updating HOT 5
- [Request] AutoTemp fw 13 support HOT 7
- Minor typo in log message HOT 1
- Error on updating System Settings HOT 6
- Cannot switch off AP mode HOT 1
- long integer truncated in status JSON HOT 19
- [Feature Request] Support for WPU Version 41 HOT 32
- Virtual remote question HOT 2
- Rounding errors in statusvalues HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ithowifi.