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

is improved web interface working? #28

Open
ElGranPepo opened this issue Jun 1, 2023 · 4 comments
Open

is improved web interface working? #28

ElGranPepo opened this issue Jun 1, 2023 · 4 comments

Comments

@ElGranPepo
Copy link

ElGranPepo commented Jun 1, 2023

Thank you for such a great project!

I am able to first boot the device, see the web interface and set up WIFI. I am now seeing the device in my network but there is not web interface nor is the device pinging back. any advise?
I saw that commit #21 was for an updated web interface. thanks

@ElGranPepo ElGranPepo changed the title is improved web interface #21 working is improved web interface working? Jun 1, 2023
@ecodina
Copy link
Owner

ecodina commented Jun 16, 2023

Hi. TBH, I haven't tried, since my hunter is in a remote area and I don't have easy access to update it. Maybe you could try an older release to see if that fixes it for you.

@wrongisthenewright
Copy link

Thank you for such a great project!

I am able to first boot the device, see the web interface and set up WIFI. I am now seeing the device in my network but there is not web interface nor is the device pinging back. any advise? I saw that commit #21 was for an updated web interface. thanks

Hi, I had the same problem, I goggled for a solution and i was able to solve using platformio with the target option to upload the data folder to the WeMos fs.
You should do it after the erase and flash procedure.

@loopy321
Copy link

loopy321 commented Apr 7, 2024

I too had difficulty upgrading from pre 1.0.0 version using the precompiled .bin.
Ended up I needing to:

  1. "Erase flash" in vscode (otherwise got stuck in reboot cycles where it would connect to wifi from prior settings carried over.
  2. Modify line 65 of main.cpp to add: MqttSettings.enable = true; (captive portal was not passing this value correctly).
  3. Upload via vscode
  4. in PlatforomIO CLI do: pio run --target uploadfs
  5. Configure wifi and mqtt via captive portal

Now it appears to work. Thanks!

@wrongisthenewright
Copy link

I've tried your mod but at the first try it didn't work

2. Modify line 65 of main.cpp to add: `MqttSettings.enable = true;` (captive portal was not passing this value correctly).

Can you, please, be more clear here?
Do you replace the line 65

doc["mqtt_enable"] = MqttSettings.enable;

or you inserted above the existing line 65

MqttSettings.enable = true;

On a spare Wemos I've been able to connect to MQTT (on another broker and SSID) without boot loop, but on the wemos I have connected to my watering systems it doesn't work. MQTT explorer sees mosquitto so I don't think is a mqtt issue.
TY

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

No branches or pull requests

4 participants