* add support for energy & power readings on SML based power meters, taking OBIS 16.7.1 for power (using mod. SML Parser lib. by olliiiver) * switched SML read to use software serial * made total power meter response controled by meter source to obtain either the sum of phase powers or explicit total power provided by meter * made mqtt subscriptions to power meter topics meter source dependend * simplified SML read loop and OBIS handler registration, + minor refactoring * minor cleanup/style changes and optim. PowerMeter * fixed build, add SOURCE_SML == 4 * removed optional usage of HW serial for SML power meter * switched to usage of _powerMeter1Power for SML power reading to allign better with existing code --------- Co-authored-by: helgeerbe <helge@erbehome.de> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| public | ||
| src | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| env.d.ts | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.config.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
| yarn.lock | ||
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