Skip to content

HTML frontend: files in /items/ missing #1536

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

Open
cweiske opened this issue Apr 27, 2025 · 0 comments
Open

HTML frontend: files in /items/ missing #1536

cweiske opened this issue Apr 27, 2025 · 0 comments

Comments

@cweiske
Copy link

cweiske commented Apr 27, 2025

Description

I've installed ebusd 25.1 from the official apt repository, and then cloned the git repository into /usr/local/src/ebusd/ to obtain the HTML frontend files. Then I modified /etc/defaults/ebusd and added the parameters --httpport=80 --htmlpath=/usr/local/src/ebusd/contrib/html/, and then restarted ebusd.

Now I can access the HTML interface via http://heizr-va/ but it does not work - only a grey box is visible with the text "eBUS" inside, nothing more.

Actual behavior

Only a grey box is visible with the text "eBUS" inside, nothing more.

The browser console shows

404: GET http://heizr-va/items/700.json
   XML Parsing Error: no root element found
   Location: http://heizr-va/items/700.json
   Line Number 1, Column 1:
404: GET http://heizr-va/items/Broadcast.json
404: GET http://heizr-va/items/hmu.json
404: GET http://heizr-va/items/Scan.08.json
404: GET http://heizr-va/items/Scan.15.json
404: GET http://heizr-va/items/Scan.76.json

Those files in the items directory do not exist.
There is a broadcast.json, but with a lowercase B.
The other files do not exist; "Scan.*.json" look like dynamic data.

Should ebusd write the scan files into the items directory? How is it supposed to work?

Expected behavior

HTML interface does not bring errors and shows heat pump status.

ebusd version

25.1

ebusd arguments

--scanconfig --device=ens:/dev/ttyAMA0 --latency=50 --logfile=/var/log/ebusd.log --loglevel=info --httpport=80 --htmlpath=/usr/local/src/ebusd/contrib/html/

Operating system

Debian 12 (Bookworm) / Ubuntu 22-23 / Raspberry Pi OS 12 (including lite)

CPU architecture

armv7l

Dockerized

None

Hardware interface

Adapter Shield v5 attached to Raspberry Pi

Related integration

HTTP

Logs

2025-04-27 18:29:49.559 [network info] [00001] HTTP connection opened 192.168.3.5

Screenshot

Image

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

1 participant