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

URL for webserver and other stuff #25

Open
tonyfitzs opened this issue Apr 13, 2022 · 1 comment
Open

URL for webserver and other stuff #25

tonyfitzs opened this issue Apr 13, 2022 · 1 comment

Comments

@tonyfitzs
Copy link

Hi there,
I have spent many hours trying to get this to work, and I just can’t work it out. At least not without some more information. So I have a couple of questions.

  1. It indicates in the code that there should be a web server for configuration, is there a URL endpoint? Or is it just the ip address of the d1 mini?

  2. Does the circuit need to be connected to the spa before the webserver will start?

  3. Does the circuit need to be connected to the spa before the MQTT will start?

  4. Is there a web enabled terminal screen for de-bugging?

  5. I am seeing the following message in the terminal when the D1 mini is plugged into usb, where is this getting derived from?
    ets Jan 8 2013,rst cause:4, boot mode:(3,7)
    wdt reset
    load 0x4010f000, len 3460, room 16
    tail 4
    chksum 0xcc
    load 0x3fff20b8, len 40, room 4
    tail 4
    chksum 0xc9
    csum 0xc9
    v0005fc00
    ~ld

  6. Is it possible to get the URL for the web server added to this message to make it easier to find.

@mopac
Copy link

mopac commented Apr 18, 2022

Hi,
Looks like a watchdog reset.
The last few lines of the sketch show if a valid message has not been received in 10 seconds, the device will reset.
So if you are just connected to USB and not the hot tub, you would expect a reset every 10 seconds.
You can fix this because there is a #define called 'PRODUCTION'. If you set that to false, the watchdog reset won't occur and you might be able to connect to the web server.
Ray

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

2 participants