Commit Graph

99 Commits

Author SHA1 Message Date
SylvanArnold
fed0288bee fix(pico-sensor): removed a mqtt test 2025-06-23 16:10:31 +02:00
SylvanArnold
9267ef2a52 fix(pico-sensor): disconnect mqtt client before testing publish 2025-06-23 16:10:31 +02:00
SylvanArnold
e591516a4f CI: added tests for mqtt, sensors, dns 2025-06-23 16:10:31 +02:00
SylvanArnold
0bb52a3a07 doc(pico-sensor): updated readme with remote tests informations 2025-06-23 16:10:31 +02:00
SylvanArnold
2a5b481d66 CI(pico-sensor): tunnel ID can now be set directly in the pipeline 2025-06-23 16:10:31 +02:00
SylvanArnold
1d05424721 CI(pico-sensor): added dummy test that always passes (to test if test run works) 2025-06-23 16:10:31 +02:00
SylvanArnold
adca10d0fb CI(pico-sensor): only execute LED test for now 2025-06-23 16:10:31 +02:00
SylvanArnold
d8a5ce234e CI(pico-sensor): added CD build/Test before running test job 2025-06-23 16:10:31 +02:00
SylvanArnold
5a3a7fcca3 CI(pico-sensor): added test job 2025-06-23 16:10:31 +02:00
SylvanArnold
29a8987eee CI(pico-sensor): changed artifacts path 2025-06-23 16:10:31 +02:00
SylvanArnold
9cd8e2201c fix(pico-sensor): spacing issue in ci 2025-06-23 16:10:31 +02:00
SylvanArnold
4c57f54f41 CI(pico-sensor): change directory in build job 2025-06-23 16:10:30 +02:00
SylvanArnold
23f11a3b87 CI(pico-sensor): added dockerfile to build pico-sensor image + created ci pipeline with build jobs 2025-06-23 16:10:30 +02:00
d8f4b9f918 Merge branch 'doc/polish-documentation'
Update documentation

See merge request team-raclette/project-softweng!19
2025-06-19 17:41:41 +02:00
01ad66daa8 doc: added project documentation
Add documentation according to the requirements of the project.
 Including:
 - Project flow (git flow or trunk-base flow)
 - Architecture with Kruchten diagram (context+container)
 - Explanation of points that deviate from requirements
 - Detail information about how run each parts

Signed-off-by: Klagarge <remi@heredero.ch>
2025-06-15 11:25:09 +02:00
2426d8d8d1 refactor(doc): update Kruchten container
Update container view of the Kruchten 4+1 diagram to correspond to actual architecture of the project.

Signed-off-by: Klagarge <remi@heredero.ch>
2025-06-15 11:25:08 +02:00
110d425981 Merge branch '16-ci-cd-webapp'
test(web-app): units and e2e tests

Closes #16

See merge request team-raclette/project-softweng!18
2025-06-08 23:04:53 +02:00
fastium
25cefc611f build(web-app): add tests to gitlab ci 2025-06-08 22:31:46 +02:00
fastium
c5efa10f1a test(web-app): add test end2end
- it implements a 1st version of it
2025-06-08 22:31:46 +02:00
fastium
e8fae59467 test(web-app): add cypress for unit test 2025-06-08 22:31:46 +02:00
94df7fc910 Merge branch 'feat/send-1-day'
feat(gateway): update Flux query to retrieve data from the last day

See merge request team-raclette/project-softweng!16
2025-06-08 18:50:55 +02:00
5bd62c182b ci: refactor CI stages
Signed-off-by: Klagarge <remi@heredero.ch>
2025-06-08 18:46:03 +02:00
11ca9dc51f feat(gateway): update Flux query to retrieve data from the last day
Signed-off-by: Klagarge <remi@heredero.ch>
2025-06-08 17:52:44 +02:00
44e11c8065 Merge branch 'feat/temperature-request'
add reply to the POST request with the latest measurement

See merge request team-raclette/project-softweng!15
2025-05-27 09:26:06 +02:00
cebe5e4930 feat(gateway): added reply to the POST request with the latest measurement
Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-25 21:05:48 +02:00
Yann Sierro
bf3d7cbb59 Merge branch 'feat/33-frontend-plots'
Frontend plot

See merge request team-raclette/project-softweng!14
2025-05-23 20:57:11 +00:00
fastium
73608a40b9 doc(web-app): add setup environment variables 2025-05-23 22:55:52 +02:00
cb514d809a feat(web-app): configure devServer to allow all hosts
Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-23 22:55:52 +02:00
fastium
b6e4e3219a feat(web-app): rename function to have new measurments 2025-05-23 22:55:52 +02:00
fastium
a64bceb7de feat(web-app): change button names 2025-05-23 22:55:52 +02:00
fastium
5768c9279b doc(web-app): describe development procedure and usage 2025-05-23 22:55:52 +02:00
fastium
d9defce56d feat(web-app): change x axis format 2025-05-23 22:55:52 +02:00
fastium
d7a45fb576 fix(web-app): type of ChartOption 2025-05-23 22:55:52 +02:00
fastium
5f3a338c57 chore(project): gitignore idea project files 2025-05-23 22:55:52 +02:00
fastium
c9be1ba772 feat(web-app): set plot options 2025-05-23 22:55:52 +02:00
fastium
803f93041b feat(web-app): add unknown case for type of measure 2025-05-23 22:55:52 +02:00
fastium
71f8883f16 feat(web-app): consistant inter-component communication
- All data are managed from the TimeSeriesManager.
- All other props of componenets were deleted
2025-05-23 22:55:52 +02:00
Sylvan Arnold
a83257eb49 Merge branch 'feat/pico-sensor/request-measurement'
feat(pico-sensor): request-measurement

Closes #28

See merge request team-raclette/project-softweng!13
2025-05-23 07:01:46 +00:00
764be2ced7 fix(gateway): update command topic path to use 'cmd' instead of 'command'
Solve: #28
Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-22 22:14:42 +02:00
SylvanArnold
82012604a0 fix(pico-sensor): changed default send measurement topic name 2025-05-22 22:14:42 +02:00
SylvanArnold
177bcfec31 doc(pico-sensor): added new topic configuration instructions 2025-05-22 22:14:42 +02:00
SylvanArnold
f530efe968 feat(pico-sensor): send sensor values on get-measurement mqtt messages 2025-05-22 22:14:42 +02:00
SylvanArnold
4b40a1c142 feat(pico-sensor): topic_send_measurement can be configured via serial commands and is saved in flash 2025-05-22 22:14:42 +02:00
SylvanArnold
5595d47e3f feat(pico-sensor): added callback in mqtt client to process incomming messages in application 2025-05-22 22:14:36 +02:00
257788e1d7 Merge branch 'feat/auto-build-and-deploy-web-app'
feat(web-app): added CI to build docker image CD to deploy the app

See merge request team-raclette/project-softweng!12
2025-05-20 14:38:04 +02:00
b83e30e5b5 fix(web-app): path to copy on docker image
Because the Fribourg GitLab need a relative path from the root of the project and not from the Dockerfile...
Is it possible to see one time a correct installation of GitLab somewhere?!

Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-20 11:27:12 +02:00
d349caec74 feat(web-app): added CI to build docker image CD to deploy the app
Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-20 10:59:50 +02:00
Yann Sierro
7cda1aa8f4 Merge branch 'feat/8-frontend'
Frontend and http client

See merge request team-raclette/project-softweng!11
2025-05-20 08:08:56 +00:00
fastium
70039dfe0e feat(web-app): selected user/room/device
This part allow to select from where the data from with some option
- user
- room
- device
2025-05-20 07:25:37 +02:00
fastium
2a85ed3e87 chore(web-app): add package for select object 2025-05-16 20:40:37 +02:00