Commit Graph

14 Commits

Author SHA1 Message Date
rafaeldpsilva
6510468768 Remove redundant comments and improve code formatting 2025-09-23 15:24:04 +01:00
rafaeldpsilva
a3d266d735 Add API integration for sensors and rooms management
Integrate sensorsApi and roomsApi services into energy store. Add API
state, loading/error handling, and async functions for fetching sensor
and room data. Update room loading logic to fetch from API. Expose new
API functions for analytics and health endpoints. Update
SensorManagementView to use localhost WebSocket for real-time updates.
2025-09-18 14:29:44 +01:00
rafaeldpsilva
faed09d3b6 Add API service layer, authentication store, and composables
- Implement API service modules for sensors, rooms, analytics, health,
and auth - Add Pinia auth store for JWT token management and validation
- Create Vue composables for API integration and state management -
Update settings and AI optimization views for code style and connection
URLs - Add test-websocket.html for local WebSocket testing
2025-09-18 14:29:36 +01:00
rafaeldpsilva
32c63628b6 Add analytics dashboard view and API integration
- Add AnalyticsView.vue for real-time API analytics - Update router to
include /analytics route - Add Analytics link to BottomNav - Improve
MetricCard layout for dashboard consistency - Update main.ts to
initialize global auth store - Add Dockerfile and .env for
containerization and config - Update README with complete API and
architecture overview - Disable Tailwind in main.scss for SCSS-only
styling
2025-09-18 14:28:01 +01:00
rafaeldpsilva
05baaca23c Add settings page and store with UI customization options
- Implement SettingsView with appearance, data, notifications, and
advanced tabs - Add settings store (Pinia) for theme, navigation,
notifications, and app config - Integrate settings store into HomeView
and BottomNav for theme and navigation mode - Add room management modal
and store methods for adding/removing rooms - Update
SensorManagementView with room management button and modal - Support
exporting/importing settings and resetting to defaults - Enable dark
mode via Tailwind config
2025-09-03 17:07:19 +01:00
rafaeldpsilva
1c96437e5a Add AIOptimizationView for managing AI optimizations 2025-09-03 16:40:46 +01:00
rafaeldpsilva
55a2d6d097 Show real-time room metrics and improve sensor cards
Add a summary of real-time metrics per room, including energy, CO2,
sensor count, and occupancy. Sensor cards now display live readings from
the store instead of mock data. Refactor card logic for reactivity and
update navigation colors for clarity.
2025-09-03 16:34:04 +01:00
rafaeldpsilva
eae15a111e Action modal 2025-09-03 14:25:37 +01:00
rafaeldpsilva
3a802554cb Delete counter.ts 2025-09-03 13:29:43 +01:00
rafaeldpsilva
044f301013 Add SCSS styles for base, components, layouts, and utilities (not on
use)
2025-09-02 16:19:20 +01:00
rafaeldpsilva
1522f70f08 sensor management page 2025-09-02 15:39:45 +01:00
rafaeldpsilva
42f9fa5aed updated Readme 2025-09-02 14:36:57 +01:00
rafaeldpsilva
c8ce6bd124 room-based monitoring 2025-09-02 14:25:28 +01:00
rafaeldpsilva
0db018f939 general dashboard 2025-09-02 14:19:05 +01:00