OpenDTU-old/webapp
Ralf Bauer 08579b0da8
Database (#2)
* added new card to LiveView page with chart for last 25 hours

* fixed formatting of the DatabaseChart

* fixed delayed load of google libraries after page refresh

* GChart

* Delete database.png

* removed serial number from screenshot

* use vue-google-charts wrapper

* fixed wromg position of chart

* updated screenshot

* updated webapp

* added calendar chart

* added calendar chart

* updated screenshot

* used new interface

* Fixed problem that charts are not shown after page refresh.

* made Vue compile

* changed chart options

* fixed height

* updated webapp

* changed chart options

* updated webapp

* updated Webapp and screenshot

* new screenshot

* create database when it does not exist

* fixed name of days in calendar chart

* added debug messages

* added more debugging messages

* hooked to LiveView instead of MQTT

* moved loop handler

* fixed time handling

* fixed first datapoint

* fix hanging of GUI

* updated Webapp

* some cosmetic changes

* updated Webapp

* used chunked data transfer

* used chunked data transfer

* fixed loading flag

* removed lambda function

* RaBa

* fixed chart refresh after reload

* fixed wrong time for first database entry on a day

* added autorefresh every hour

* optimized autorefresh

* fixed formatting of card

* html change

* fixed date comparison

* new screenshot

* Update README.md
2023-06-30 14:01:47 +02:00
..
.vscode webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
public Feature: Added touch icon for iOS and Android 2023-06-21 22:44:18 +02:00
src Database (#2) 2023-06-30 14:01:47 +02:00
.eslintrc.cjs webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
.gitignore webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
.yarnrc.yml Database (#2) 2023-06-30 14:01:47 +02:00
env.d.ts webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
index.html Feature: Added touch icon for iOS and Android 2023-06-21 22:44:18 +02:00
package.json Database (#2) 2023-06-30 14:01:47 +02:00
README.md Added additional documentation for webapp development 2022-11-25 18:14:33 +01:00
tsconfig.config.json webapp: Update dependencies 2023-04-24 20:21:51 +02:00
tsconfig.json webapp: Enable stricter error reporting 2023-04-24 20:31:24 +02:00
vite.config.ts Database (#2) 2023-06-30 14:01:47 +02:00
yarn.lock webapp: Update dependencies 2023-06-28 20:11:36 +02: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