hunter-wifi icon indicating copy to clipboard operation
hunter-wifi copied to clipboard

is improved web interface working?

Open ElGranPepo opened this issue 1 year ago • 4 comments

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 avatar Jun 01 '23 15:06 ElGranPepo

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.

ecodina avatar Jun 16 '23 09:06 ecodina

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.

wrongisthenewright avatar Jun 18 '23 20:06 wrongisthenewright

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!

loopy321 avatar Apr 07 '24 23:04 loopy321

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

wrongisthenewright avatar Apr 12 '24 20:04 wrongisthenewright