tanner87661 / IoTTStick

This is the support repository for the IoTT Stick, port modules and hat devices
31 stars 16 forks source link

Purplehat HTML Page wasn't loading #26

Closed Jay2645 closed 2 years ago

Jay2645 commented 2 years ago

Hello!

For some reason, I am unable to connect to the Purplehat HTML page (Firmware 1.5.12). It was working until the battery in my IOTT stick died while in use; I let it charge via a phone charger (plugged into the wall) for about 1 hour and then rebooted the stick.

The stick is able to show all data on the display, and it connects to WiThrottle. I can navigate to the main page and the Withrottle page without issues. However, when I try to load the Purplehat tab, the page never loads. I've attached a video: https://user-images.githubusercontent.com/2058763/168412874-2f842f87-973e-4f7c-8350-6cce5a5e260d.mp4

This happens on mobile, Edge, and Firefox. Here's a video of Firefox; it appears to hang when fetching PurpleHat.js: https://user-images.githubusercontent.com/2058763/168413120-a5d2881e-345f-44d9-974d-fefd85167c2e.mp4

Jay2645 commented 2 years ago

UPDATE: I was able to fix it by reflashing the firmware (same version). Going to close this ticket, but leaving it up in case someone else has the same problem.

My guess is that something got corrupted at some point on the stick, maybe related to losing power. Not sure how easy it would be to display a "low battery warning" at some point on the web display to prevent this sort of thing; I'm more of a software guy than a hardware guy so I never know what to look at. ;)