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

unable to open settings / http://192.168.0.197/#/settings keeps loading #841

Open
angelgc95 opened this issue Oct 25, 2024 · 13 comments
Open

Comments

@angelgc95
Copy link

angelgc95 commented Oct 25, 2024

Screenshot 2024-10-25 at 07 01 45

What is the model number of the device you're trying to control?

esp8266 nodemcu

What firmware version(s) have you tried?

[1.13.0-beta2/beta1]

Which ESP8266 board are you using? (nodemcu, d1_mini, etc.)

Which radio type are you using? (RGBW, RGB+CCT, etc.)

CCT

Have you tried controlling the device with a physical remote?

Yes

Output of http://milight-hub.local/about and http://milight-hub.local/settings

/about

"... /about output. put between the ```s"

/settings

"... /settings output. put between the ```s"
@sidoh
Copy link
Owner

sidoh commented Oct 25, 2024

Can you take a screenshot of your developer console with the network tab open?

@angelgc95
Copy link
Author

Screenshot 2024-10-25 at 07 06 13

@sidoh
Copy link
Owner

sidoh commented Oct 25, 2024

Can you reload the page while it's open?

Also try loading http://192.168.0.1/settings and http://192.168.0.1/about

@angelgc95
Copy link
Author

Can you reload the page while it's open?

Also try loading http://192.168.0.1/settings and http://192.168.0.1/about

  • http://192.168.0.1/settings and http://192.168.0.1/about shows: No such file or directory

@sidoh
Copy link
Owner

sidoh commented Oct 25, 2024

errr, sorry, http://192.168.0.197/settings etc

And if you could also take a screenshot of the dev console after reloading the page

@angelgc95
Copy link
Author

angelgc95 commented Oct 25, 2024

image

errr, sorry, http://192.168.0.197/settings etc

And if you could also take a screenshot of the dev console after reloading the page

@sidoh
Copy link
Owner

sidoh commented Oct 25, 2024

Assuming http://192.168.0.197/settings is empty? What about http://192.168.0.197/about?

Is this a new install or did you upgrade from an older version?

Serial logs (pio device monitor) will probably be useful.

@angelgc95
Copy link
Author

angelgc95 commented Oct 25, 2024

http://192.168.0.197/about

{"firmware":"milight-hub","version":"1.13.0-beta1","ip_address":"192.168.0.197","reset_reason":"External System","variant":"nodemcuv2","free_heap":19080,"arduino_version":"3.1.2","free_stack":1200,"flash_used":983090,"flash_total":0,"flash_pct_free":0,"queue_stats":{"length":0,"dropped_packets":0}}

I did had the previous version (and was working good) but i had to wipe the esp to flash the new firmware

i update the screenshot in my prevues comment I hope that helps

@sidoh
Copy link
Owner

sidoh commented Oct 25, 2024

Oh no, that's a drag! Sorry you're running into trouble.

Yeah, it looks like your settings file is empty (if you could try loading http://192.168.0.197/settings manually just to make sure that'd be great). That's probably because there's something funky with the flash configuration. Hopefully we can figure out what's going on.

Did you have to erase flash because you had issues after upgrading?

Could you check serial logs?

@angelgc95
Copy link
Author

angelgc95 commented Oct 25, 2024

[No is ju=] http://192.168.0.197/settings empty

No, I just couldn't figure out how to update wifi settings

logs:
--- Miniterm on /dev/cu.usbserial-0001 115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
�␄l␌��␌␌␌c␌o�|␂�␄��␄�p␄�|~�␀l��␀$␂�␒␓on␄l␂␎␂n{���n␌␄#$�␏lp�n�␐␃␄␌r��ܜ␜��␃␄b␄n�|␃␄��␌b��on�␂␄␌$␂�␛␒no␌$␃␎␃or����␂␌␌c��␂␎r��N␌␌B�p{l�␂␌␄��␌��$␂��o�␎l��␂�␒�N�{��N|�␄�$��l␂␜B�2␃␄�|␂s��d�o�␌�n�␀␌$␃��r�d�␜�␛�␌␌␌�␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀

@sidoh
Copy link
Owner

sidoh commented Oct 25, 2024

Looks like you have the baudrate set to 115200. Try setting it to 9600.

@angelgc95
Copy link
Author

--- Miniterm on /dev/cu.usbserial-0001 9600,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
b␄�␘I␁�␔C�bE�Failed to mount file system
Opening settings file failed
*wm:AutoConnect
*wm:Connect Wifi, ATTEMPT # 1 of 5
*wm:Connecting to SAVED AP: IoT_8
*wm:AutoConnect: SUCCESS
*wm:STA IP Address: 192.168.0.197
Wifi connected succesfully

Setup complete (version 1.13.0-beta1)
Opening settings file failed
Opening settings file failed
Unhandled websocket event: 10

@sidoh
Copy link
Owner

sidoh commented Oct 25, 2024

Okay yeah that confirms there's something going on with flash:

(...)
Failed to mount file system
(...)

I would try the following:

  • Wipe flash entirely (I do this with a command like python3 -m esptool -b 115200 erase_flash)
  • Reflash the firmware (python -m esptool -b 460800 write_flash 0x0 <firmware_file>)

Let me know what you see

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

No branches or pull requests

2 participants