batpred icon indicating copy to clipboard operation
batpred copied to clipboard

Web interface not working

Open tractor137 opened this issue 1 year ago • 5 comments

Describe the bug The web app works from within the predbat add-on but not on via homeassistant.local:5052

Expected behavior A clear and concise description of what you expected to happen.

Predbat version 8.4.6

Environment details 5kw inv 9.5kwh battery predbat add-on

Screenshots If applicable, add screenshots to help explain your problem. The most useful ones can be your battery chart, the Predbat HTML plan and your current settings in HA.

Screenshot 2024-09-09 at 21 57 21 Screenshot 2024-09-09 at 21 58 34 Screenshot 2024-09-09 at 21 59 07

Log file log.txt

tractor137 avatar Sep 09 '24 21:09 tractor137

@tractor137 I assumed it was moved to ingress so is only visible from within HASS now, @springfall2008 is that the case?

matttheotter avatar Sep 10 '24 15:09 matttheotter

I was just going off the guidance in the documentation regarding output data. Interestingly it worked at v8.4.0 (which was the first version I had used after installing the predbat addon) but then as soon as it updated (I think to 8.4.2) it didn’t work and hasn’t since

tractor137 avatar Sep 10 '24 15:09 tractor137

The only thing I remember is a note in v8.4.4:

Note you may have to uninstall and install again the add on if the web interface doesn't work, you don't need to edit your apps.yaml or move any files around they will be safe.

matttheotter avatar Sep 10 '24 15:09 matttheotter

Yes I saw that too and this was what I did just before posting here

tractor137 avatar Sep 10 '24 16:09 tractor137

This is as expected, I'm updating the documentation. The direct access to 5052 is a security risk as there is no login.

springfall2008 avatar Sep 14 '24 16:09 springfall2008

As this ticket is old I'm going to close it, please re-open if the issue is there on latest.

springfall2008 avatar Jan 01 '25 19:01 springfall2008