OpenDTU-old/webapp
Bernhard Kirchen e7a005839b
Feature: implement MQTT-driven battery provider (#589)
this battery provider implementation subscribes to a user-configurable
MQTT topic to retrieve the battery SoC value. the value is not
re-published under a different topic. there is no card created in the
web app's live view, since the SoC is already part of the totals at the
top of the live view. that is the only info this battery provider
implements.

closes #293.
relates to #581.
2024-01-04 15:42:10 +01:00
..
.vscode webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
public merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
src Feature: implement MQTT-driven battery provider (#589) 2024-01-04 15:42:10 +01:00
.eslintrc.cjs webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
.gitignore make vite proxy target easily configurable 2023-08-09 16:58:58 +02:00
env.d.ts webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
index.html merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
package.json merge v23.12.31 2024-01-01 14:50:51 +01:00
README.md Added additional documentation for webapp development 2022-11-25 18:14:33 +01:00
tsconfig.config.json merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
tsconfig.json webapp: Enable stricter error reporting 2023-04-24 20:31:24 +02:00
vite.config.ts Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development 2023-11-17 09:30:04 +01:00
yarn.lock merge v23.12.31 2024-01-01 14:50:51 +01:00

OpenDTU web frontend

You can run the webapp locally with yarn dev. If you enter the IP of your ESP in the vite.config.ts beforehand, all api requests will even be proxied to the real ESP. Then you can develop the webapp as if it were running directly on the ESP. The yarn dev also supports hot reload, i.e. as soon as you save a vue file, it is automatically reloaded in the browser.

Project Setup

yarn install

Compile and Hot-Reload for Development

yarn dev

Type-Check, Compile and Minify for Production

yarn build

Lint with ESLint

yarn lint