-
Notifications
You must be signed in to change notification settings - Fork 308
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
Proposal: A new light weight config mode #694
Comments
This would be very useful since it would even work without a companion app. E.g. any old netbook with lubuntu would do. But: Would the following work?
|
If i use the
And then the device reboots and repeats itself so it doesn't seam that the http json api is available if i select To get an Homie device into configuration mode could be solved by using But the original question and idea remains valid, would it be useful for anybody more than me to have the functionality described in the proposal? |
Yes, you're right, when the webserver is gone, there's no http api :) |
A lightweight config mode would have come handy for me already. Yesterday I flashed one of my devices using HOMIE_CONFIG=0 and didn't pay attention to the memory layout. Of course I lost the existing config :) |
If you compile with |
The problem with HOMIE_CONFIG=0 is that there is no possible way to access the configuration of the device (other than direct flash). |
The new
HOMIE_CONFIG=0 flag
offer the opportunity to completely remove the ESP webserver and save space. The drawback of this is that the device has to be reflashed to change the configuration if WiFi/MQTT connection fails due to a config misstake or that something has been altered in any of those (new wifi password for example).I think it would be useful with a new configuration mode (selectable via compile flags?) that uses the MQTT protocol that is already supported so that we don´t need the webserver.
My idea of configuration mode goes something like this:
By writing an Android app that contains an MQTT broker and a configuration interface it will be possible to access the configuration w.o. the need for much extra code. (Quick investigations gave that the AP-mode was rather lightweight).
My first test with Moquette as broker on Android was promising.
Does anybody think this would be useful?
The text was updated successfully, but these errors were encountered: