From f7f11acafe0a404fa218c13832e32fce574ae0f6 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Fri, 2 Jan 2026 11:37:35 +0000 Subject: Adds battery monitoring to frontend --- hsm-web/Client/src/App.vue | 11 ++++++++++ hsm-web/Client/src/INA226.vue | 48 +++++++++++++++++++++++++++++++++++++++++++ hsm-web/Client/src/config.js | 3 +++ 3 files changed, 62 insertions(+) create mode 100644 hsm-web/Client/src/INA226.vue create mode 100644 hsm-web/Client/src/config.js (limited to 'hsm-web/Client/src') diff --git a/hsm-web/Client/src/App.vue b/hsm-web/Client/src/App.vue index 202e4d2..84fefcf 100644 --- a/hsm-web/Client/src/App.vue +++ b/hsm-web/Client/src/App.vue @@ -1,3 +1,14 @@ + + diff --git a/hsm-web/Client/src/INA226.vue b/hsm-web/Client/src/INA226.vue new file mode 100644 index 0000000..bf0141f --- /dev/null +++ b/hsm-web/Client/src/INA226.vue @@ -0,0 +1,48 @@ + + + + + diff --git a/hsm-web/Client/src/config.js b/hsm-web/Client/src/config.js new file mode 100644 index 0000000..b8e9a98 --- /dev/null +++ b/hsm-web/Client/src/config.js @@ -0,0 +1,3 @@ +module.exports = { + api: 'http://192.168.8.170:3000' +} -- cgit v1.2.1